Hacker News new | ask | show | jobs
by dismalaf 174 days ago
It's literally faster than Python but ok.
2 comments

Is being faster than Python considered to be a notable feature?
Personally I don't care about speed for this category of language. I just bring it up because Python is one of the most used languages, is even slower, yet that's never held against it. Just seems like a lazy way to dismiss Ruby. Yeah, it's not as fast as C, Go, Rust or Java. Everyone knows and raw speed obviously isn't the point of a dynamic scripting language...
Python is one the most popular programming languages. Ruby fits into a similar category as Python (high level, interpreted scripting language, very dynamic, has a rich ecosystem with tons of existing code). Being faster than Python makes it more attractive to use, or port Python codebases to.
Nobody cares about Ruby outside of RoR

Python is one of the Lingua Franca of scientific, data, and most importantly, ai communities

Has much bigger community than Ruby

Has much, much better tooling story

Has much better gradual typing story

Isn’t THAT much slower than Ruby, there are far more attractive targets than Ruby if you care about performance

> Python is one of the Lingua Franca of scientific, data, and most importantly, ai communities

You mean it's the most used frontend for all the C and C++ libraries that are used for scientific computing, data and AI.

Semantics.
Literally all those libraries are usable with Ruby. Libtorch, BLAS, LAPACK, Tensorflow, etc...
I found scrooge.

Bah, humbug!

And has no ecosystem compared to Python.

Speed isn’t why people choose Python.

There's a Ruby gem for almost anything
MVT for testing mobile spyware? There are whole sectors of industry, such as cybersecurity, where Python shines and Ruby is nowhere to be seen.
In what other language is MVT offered other than Python? That seems like a good example of unique language specialization and not reflective of a Ruby gap relative to any other language. I also don't think that's something you'd bundle & reuse in another offering. In my opinion that's the primary value proposition of building within an ecosystem