Our great sponsors
-
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.
For example, Java runs on the JVM (Java Virtual Machine) instead of running directly on the hardware, and it also has a garbage collector to handle memory management. Running on a virtual machine means your code is more abstracted: you only have to worry about the JVM and not about the platform you’re running on (since the JVM is the platform), and it’s more portable since your code can go on anything that runs the JVM. But running the JVM as an intermediate layer takes more computing power and so does running garbage collection, meaning that you experience a performance penalty. Here’s one benchmark I could find comparing the use of different programming languages to compute pi, in which Java took about 3x as long as C to complete the same task
Related posts
- AITA for telling my 9 y/o daughter she sucked for not writing professional-level code?
- sou iniciante e com uma dúvida, python é realmente lento? ou é só meme?
- Why does Julia use jit?
- speed comparison of various programming languages, Julia (AOT) is on fire!!!
- Douglas Crockford: “We should stop using JavaScript”