Starlight-JS / starlight

JS engine in Rust
https://teletype.in/@starlight-js
Mozilla Public License 2.0
511 stars 9 forks source link

Start prototyping JIT compiler #52

Open playXE opened 3 years ago

playXE commented 3 years ago

Since Starlight aims to be a fast JS engine JIT compiler is necessary but there are still unresolved questions:

playXE commented 3 years ago

I decided that Starlight will use a tiered method-based JIT compilation. There will be single-pass JIT compiler that simply emits unoptimized machine code and second tier will utilize all the profiling information to emit optimized code.