3 ms·
It seems like .NET resolves some of the limitations of the JVM (around generics, lowering of float point code, I’m sure there are others). So if you want a man
by marmaduke 8y ago
It seems like .NET resolves some of the limitations of the JVM (around generics, lowering of float point code, I’m sure there are others). So if you want a managed language VM but some of the magic of C++, .NET might be a nice place to be.
- bobbyi_settv 8y ago> lowering of float point code What does this refer to and how is it handled better in .net than in java?
- marmaduke 8y agoI read (while considering both for numerical routines) that the CLR could more effectively generate efficient instructions for arithemtically dense code and value types, including for generics, where the JVM uses simpler approach involving type erasure and treats built in types distinctly from user objects. JVM originated for Java which came earlier, so it’s not a fair comparison. And I’m not an expert here.. I stuck to C, CUDA and Oython in the end.
- pjmlp 8y ago.NET took the right options from languages like Modula-3 and Delphi, even better now after the Midori improvements. Just a bad decision, which was not to bet that strongly into AOT (NGEN was only for faster startups). While UWP (and its former incarnation on Windows 8.x) do use AOT, that is still a couple of releases away to join standard .NET tooling. Naturally there is also Xamarin and Unity IL2CPP/Bust stacks, but they are special cases.