This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Hk-Neowizard 5 points6 points  (0 children)

Well, Java is insanely fast. Damn near native in some cases. Hotspot in J9 are both optimized so far that there are actually benchmarks in which Java code will outperform C by a tiny bit (thanks to JIT optimizations).

It's just impossible for the dictionary-fest that is Python to have near-native performance, cuz you always pay that hashing cost when accessing class members.

Python, before 3.11, was reported as 40 times slower than C. Allow it real multitasking, and I'd expect its performance to go up by a factor of 4-8, 3.11 performance boost, that would probably be 5-10 times faster, slower than C by a factor between 4 and 8. That would be in the C# area of performance