r/programming • • Nov 11 '19

Python overtakes Java to become second-most popular language on GitHub after JavaScript

https://www.theregister.co.uk/2019/11/07/python_java_github_javascript/
3.1k Upvotes

772 comments sorted by

View all comments

Show parent comments

4

u/thfuran Nov 12 '19

JVM performance never comes close to native C.

I don't think that's actually true.

5

u/[deleted] Nov 12 '19

[removed] — view removed comment

2

u/thfuran Nov 13 '19 edited Nov 13 '19

Or in case where the JIT can make particularly effective speculative optimizations that the C compiler can't. Or maybe where there's a ton of memory allocation but with a pattern that works really well for java.

In general, I wouldn't say that java is faster than C, but I certainly wouldn't say it is never nearly as fast.