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

How is this a JIT? Everything is compiled to machine code. There's no advanced type specialization or lazy deoptimization. It might as well be an in-memory, lazy, AOT compiler.


> It might as well be an in-memory, lazy

Yeah, that is a jit. Perhaps not a very fancy one, the same way ARC is a very unfancy GC, but it is still a jit.


> Everything is compiled to machine code.

Yes... but it does that just-in-time, which is what JIT stands for.

> There's no advanced type specialization or lazy deoptimization.

I don't think those things are required for it to be a JIT are they? I'd say it's a static JIT, rather than a dynamic, profiling, and specialising JIT, but both are JITs.

> It might as well be an in-memory, lazy, AOT compiler.

Well yeah... that describes a JIT.


A simple method jit is also a good jit, even without escape analysis and advanced optimizations. It avoids the op branching and enables code caching.




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

Search: