News for hackers. Stuff that matters.
Re:Moving from Ruby to Rust by marcosdumay on Thursday February 14, 2019 @06:46PM (#19167194)
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.
Re:Moving from Ruby to Rust by jhayward on Thursday February 14, 2019 @09:58PM (#19168126)
CPython being an implementation of the Python encironment.
Re:Moving from Ruby to Rust by icebraining on Thursday February 14, 2019 @09:44PM (#19168064)
Who said anything about CPython? Pypy can get close to C speed, so I doubt it can't get anywhere near Rust.
Re:Moving from Ruby to Rust by dagw on Friday February 15, 2019 @07:43AM (#19170395)
PyPy 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.
Re:Moving from Ruby to Rust by marcosdumay on Friday February 15, 2019 @06:13AM (#19169967)
Well, Pypy doesn't allow the same language as CPython.

It has a lot of similarity, but it's not the same.