3 ms·
I see some people say this but I’ve never seen a benchmark support that if you include performance-focused distributions like pypy. https://programming-languag
by chefandy 2y ago
I see some people say this but I’ve never seen a benchmark support that if you include performance-focused distributions like pypy.
https://programming-language-benchmarks.vercel.app/amp/python-vs-ruby https://programming-language-benchmarks.vercel.app/amp/pytho...
Is there somewhere with benchmarks that supports the idea that Ruby is faster than Python?
- pansa2 2y agoFair point, I was specifically referring to the CPython interpreter. I don’t know if there’s a benchmark that compares PyPy to JIT-compiled Ruby.
- chefandy 2y agoLooks the the one at that link does unless there's some newer versioning thing I'm not aware of. The top results seem to be comparing pypy 3.10.14 and ruby/yjit 3.4.1.
- pjmlp 2y agoBecause unfortunately PyPy is largely ignored by the community , despite their heroic efforts.
- deleted 2y ago[deleted]
- chefandy 2y agoI’ve only seen a handful of people use it for local development but I’ve seen plenty of people use it for servers in production. Look like the latest cpython has a JIT built in. It would be cool if it saw the same gains that ruby did.
- pjmlp 2y agoIt is pretty much early days, you are supposed to compile your own CPython to enable it.