5 ms·
Microsoft is making lots of performance improvements on .Net Core side. It seem to be lot faster than Java now. With .net core being open source and Cross Platf
by akmittal 6y ago
Microsoft is making lots of performance improvements on .Net Core side. It seem to be lot faster than Java now. With .net core being open source and Cross Platform I think it is still not able to take Javas marketshare.
https://benchmarksgame-team.pages.debian.net/benchmarksgame/fastest/csharp.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
- samfisher83 6y agoPlus Oracle is being shady with their licensing terms.
- kasperni 6y agoShady in what way? OpenJDK is licensed under GPL2 with linking exception.
- karianna 6y agoMSFT Employee here who came in via last year’s jClarity acquisition (yes Microsoft now has a Java Engineering Group!). Oracle change the licensing terms on its Oracle JDK (which was the default JDK most of the world used) to something more commercial which some folks thought was it communicated well enough. There are a ton of free in beer and free in use options. You can look at adoptopenjdk.net for the broadest community led one or azul Zulu for the one that’s been around since even before Oracle made their change
- kasperni 6y agoSome of the .Net examples literal calls into native code. https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/regexredux-csharpcore-8.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/... vs https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/regexredux-java-3.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/... That is hardly a fair comparison.
- philliphaydon 6y agohttps://www.techempower.com/benchmarks/#section=test&runid=4c536195-90ff-40b8-8636-a719318a864b&hw=ph&test=plaintext https://www.techempower.com/benchmarks/#section=test&runid=4... These benchmarks are more impressive.
- thesuperbigfrog 6y agoAgreed. A fair comparison would use .Net code and not call the PCRE2 library. Otherwise, why not use JNI and have it call PCRE2 as well?
- igouy 6y agoPlease write and contribute that PCRE2 Java program. Meanwhile here's a C# program that does not use PCRE2: https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/regexredux-java-3.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/... https://benchmarksgame-team.pages.debian.net/benchmarksgame/measurements/csharpcore.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
- igouy 6y agoAs it says — "These are only the fastest programs. Look at the other programs. They may seem more-like a fair comparison to you."