Hacker News new | ask | show | jobs
by dragonwriter 1688 days ago
> JavaScript, Ruby, and Perl either don't have this abstraction at all, or they have much weaker versions of it, and many fewer scientific libraries.

I don't know that Numo for Ruby is “much weaker” than NumPy. It looks like installation is rougher since it doesn't bundle dependencies, and its newer and thus there is less downstream ecosystem.

> JavaScript doesn't have operator overloading; I'm pretty sure Perl doesn't, but not sure about Ruby

Ruby and Perl both have operator overloading. (Perl has “use overload”, and in Ruby operators are defined via overridable methods.)