4 ms·
You won't get anything near the performance of a usual Rust code by optimizing some CPython code. It doesn't matter how much you try.
by marcosdumay 8y ago
You won't get anything near the performance of a usual Rust code by optimizing some CPython code. It doesn't matter how much you try.
- icebraining 8y agoWho said anything about CPython? Pypy can get close to C speed, so I doubt it can't get anywhere near Rust.
- marcosdumay 8y agoWell, Pypy doesn't allow the same language as CPython. It has a lot of similarity, but it's not the same.
- dagw 8y agoPyPy will get you a 10-time speed up over pure Python in real-world code on a good day. While that is nice, it's not close to C.
- jhayward 8y agoCPython being an implementation of the Python encironment.