4 ms·
The languages are kin, but Java has more going for it. C# is much smaller community. Microsoft isn't as good about avoiding breaking changes. Java has more q
by throwaway189262 5y ago
The languages are kin, but Java has more going for it.
C# is much smaller community.
Microsoft isn't as good about avoiding breaking changes.
Java has more quality tooling options.
The CLR GC is way worse. Shenandoah and ZGC, and even G1 on new versions blow away CLR GC.
Also heard the JIT compiler isn't as good from an Oracle dev a while back. C# performs better in synthetic benchmarks because it exposes more low level primitives.
C# is far ahead in syntactical niceness and exposing lower level primitives. It also has reified generics and true primitive types. The "language" itself is definitely better than Java, there's no question. It's everything built around Java and the capabilities of the JVM that make it better than C#.