News for hackers. Stuff that matters.
Re:Zlib-rs is faster than C by throwaway2037 on Monday March 17, 2025 @04:25AM (#43386246)
You are right. I should have been more clear. I am talking about the bog standard one that most people use from Oracle/OpenJDK. A long time back it was called "HotSpot JVM". That one has source code available on GitHub. It is mostly C++ with a little bit of C and assembly.
Re:Zlib-rs is faster than C by pjmlp on Monday March 17, 2025 @04:45AM (#43386336)
Define mostly, https://github.com/openjdk/jdk

- Java 74.1%

- C++ 14.0%

- C 7.9%

- Assembly 2.7%

And those values have been increasing for Java with each OpenJDK release.

Re:Zlib-rs is faster than C by saagarjha on Monday March 17, 2025 @05:43AM (#43386648)
JDK≠JVM
Re:Zlib-rs is faster than C by pjmlp on Monday March 17, 2025 @06:03AM (#43386750)
If you are only talking about libjvm.so you would be right, then again that alone won't do much help for Java developers.
Re:Zlib-rs is faster than C by saagarjha on Thursday March 20, 2025 @05:57AM (#43421298)
That is what most people are talking about when they are discussing the JVM, yes