3 ms·
Which is funny/sad, as the CLR has more opportunity for perf. For instance, in its generics implementation and value types. Though the CLR has a lot more "outs
by MichaelGG 11y ago
Which is funny/sad, as the CLR has more opportunity for perf. For instance, in its generics implementation and value types.
Though the CLR has a lot more "outs", where you can use raw pointers and such. Even put " managed" objects on an unmanaged heap. Don't think this is possible in the JVM. So you can write more C-like code in .net then you can represent in the JVM.
- Alphasite_ 11y agoBut both speculative optimisation/specialisation and escape analysis can recover some of the benefits of those features, can they not? And I don't know if it is possible yet, but for Java 9 Graal is an extension onto of the JVM and can run unmanaged C code alongside normal code, so it should be possible.