3 ms·
Go's compiler is said to be fast. Could you fake interpretation by continually recompiling everything?
by gruseom 14y ago
Go's compiler is said to be fast. Could you fake interpretation by continually recompiling everything?
- xyproto 14y agoCheck out the gorun project.
- stcredzero 14y ago> Could you fake interpretation by continually recompiling everything? That's pretty much what the modern JIT VM Smalltalk environments do. On recompiling a method, all the affected JIT compiled machine code is kicked out of the code cache, and you start from interpretation again, which eventually results in the "hot" code being JIT compiled again.
- 4ad 14y agoCompiling is the easy part, transplanting state is the hard part.