|
|
|
|
|
by logicchains
1324 days ago
|
|
>Yup.. a 240x performance difference (zig-py) has very little to do with the language, vm, or whatever. It absolutely does. A simple for loop in the standard Python interpreter will literally take 100x longer than the same thing in a language like C/C++, try for yourself if you don't believe me. CPython is unbelievably slow. |
|
I couldn't reproduce 100x (no optimization flags, otherwise it won't do anything)
So ruby is almost 60% faster, but the C version is "only" 32x faster than ruby. 55x python.I thought the differences would be smaller these days