4 ms·
Now that the CLR is getting more attention because of Microsoft's cross-platform efforts, how comparable is the CLR to the JVM, engineering-wise? I ask because
by mr_overalls 10y ago
Now that the CLR is getting more attention because of Microsoft's cross-platform efforts, how comparable is the CLR to the JVM, engineering-wise?
I ask because, as a C# developer, I like C# as a language, but am jealous of Java's extensive libraries and the legendary engineering of the JVM. How likely is it that the CLR can serve as the basis for future Big Data projects like Hadoop or Spark?
- PeCaN 10y agoUnless you're doing something like high-frequency trading, I doubt you'll notice a difference between the CLR and the best JVMs.
- pjmlp 10y agoThe best would be to do as we do. My employer works with both eco-systems, so we happen to jump between JVM and CLR all the time. Actually on my case, I am jealous that on .NET side I get the AOT compilers for free (NGEN, .NET Native, MDIL) instead of having to buy them, official unsafe, painless FFI, while I will need to wait for Java 10+ to use them on JVM based projects.
- kuschku 10y agoFor the JVM, look at the JNA instead of the JNI — that makes the FFI a lot saner.