Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.




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

Search: