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

... and the snippets are used for the interpreter, which gives you more confidence that interpreted and JITed code behave the same (if I understood it correctly).


I believe you’re correct. Unless there is a compiler bug, the JIT and interpreted code will have the same semantics.


…but (barring a sufficiently advanced compiler) that also means the JITted code can’t use data structures that are wildly different from those used in the interpreter. For example, if integers are boxed in the interpreter, the JITted code would use boxed integers, too.




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

Search: