5 ms·
15% faster - and how much faster would Java, Rust, or Python be?
by bkazez 3y ago
15% faster - and how much faster would Java, Rust, or Python be?
- dgb23 3y agoThat’s not easy to answer, because it’s not quite an apples to apples comparison if you start factoring in libraries, frameworks and the specific workload. My rule of thumbs: Python has similar performance characteristics as Ruby. With Java/C#/Go you’d expect about an order of magnitude of improvement. With naive Rust/C++ you would likely be at the same average speed as Java for web applications but with less memory usage. Well until you make an effort to produce faster code.
- turbo_fart 3y agoNode.js is about 20x faster than RoR for instance
- andreime 3y agoAt what? At running calculations? How do you compare a runtime with a framework? I'm genuinely curious...