Re:How to write a simple JIT compiler
by yholio on Wednesday December 15, 2021 @07:03PM
(#29573152)
Wonder if you could create a new language using this approach, designed for efficient JIT compilation: maximum programmer convenience that is still coherent with maximum runtime performance, whiteout any learning curve for the user other than the language itself.
[ Parent
| on HN ]
Re:How to write a simple JIT compiler
by naasking on Wednesday December 15, 2021 @09:01PM
(#29573984)
Yes, these are called multistage languages:
https://en.wikipedia.org/wiki/Multi-stage_programming
The classic example is MetaOCaml: