3 ms·
Has it? I thought Ruby was pretty much the benchmark for the slowest language. What is it faster than?
by nicoburns 2y ago
Has it? I thought Ruby was pretty much the benchmark for the slowest language. What is it faster than?
- pansa2 2y agoPython. At least, it was a few years ago. Both languages have added JIT compilers since then, so I’m not sure how the most recent versions compare.
- chefandy 2y agoI 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.
- m00x 2y agoPython
- epcoa 2y agoTcl, Vbscript, bash/sh. Tcl had it’s web moment during the first dot com era within AOLserver.
- pjmlp 2y agoNot only, you are missing Vignete, and our own Safelayer (yes I know it isn't public). However exactly because of the experience writing Tcl extensions all the time for performance, since 2003 I no longer use programming languages without JIT/AOT other than for scripting taks, or when the decision is external. The founders at our startup went on to create OutSystems, with many of the learnings, but using .NET instead, after we were given access to .NET during its "Only for MSFT partners eyes" early state.