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

Maybe I'm only familiar with "the main one" and mono... Are there other .NET VMs?

If I recall correctly, it will do constant folding, but won't speculate that a certain parameter is always essentially constant at runtime, but wasn't at compile time.

An easy example is a config loaded from a file as the server boots but never changes for the lifetime of the process. That won't constant fold without speculation.



There is the old style JIT, RyuJIT introduced with .NET Framework 4.6, MDIL, .NET Native, Mono, .NET CF, IL2CPP, and the research ones from Singularity and Midori.

So while it is hard to state what each AOT/JIT compiler is capable of, naturally they aren't 100% all the same.


Ah! I should read more about the world. I was recalling from a conversation I had with a .NET engineer at JVMLS last year.




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

Search: