Our great sponsors
-
Windows Terminal
The new Windows Terminal and the original Windows console host, all in the same place!
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
java-2-times-faster-than-c
An inquiry into nondogmatic software development. An experiment showing double performance of the code running on JVM comparing to equivalent native C code.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
You should read the issue thread linked by /u/CptCap then. When he first pointed the issue, he was actually trying to help. The main reason he quit the thread in the end was because the maintainer have clearly shown they didn't know what they were talking about. Let me cherry pick one of the last replies from a maintainer:
"A tool doesn't encourage mess", it's how and when you use it. You really must've started only recently, because otherwise I must assume that you are really bad at your job. Maybe try a language that will help you not make a mess; and leave programming to the professionals? When you learn to appreciate the tools you are given, come back for a mature discussion.
Yet their high performing custom redis client code or Dapper is as clean as could be.
Yet their high performing custom redis client code or Dapper is as clean as could be.
As far as the absolute performance you have this sort of effect too. https://github.com/xemantic/java-2-times-faster-than-c
Like I said, your "Java 2x as fast as C" example is in no way bizarre. Because they use different memory management algorithms. If you consider every instruction they are different algorithms. On a surface level they are the same. But on a surface level you can replace the memory management algorithm. If you do that unsurprisingly Java becomes 2x slower than C. If you are interested https://github.com/blackedout01/re-java-2-times-faster-than-c
Here you go - tiny repo with the tests. I didn't include SIMD example, because I've never done any SIMD stuff. For all the other variants I see pretty much the same improvements as he did.