Hacker News new | past | comments | ask | show | jobs | submit login

That’s a really cool idea! Is there any writeups or articles about this in more detail?



It's called a template JIT. You get to remove the interpreter control flow overhead but tend to end up with a lot of register shuffling at the boundaries. Simpler than doing things properly, usually faster than a bytecode interpreter.


Sounds like 'copy & patch compilation' is a close cousin.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: