4 ms·
Most of this is probably due to better libraries and forfeiting the static type system. There's very little that Ruby can offer that imho should allow a program
by nly 11y ago
Most of this is probably due to better libraries and forfeiting the static type system. There's very little that Ruby can offer that imho should allow a program to become shorter than the equivalent C++ by more than, say, a factor of 2.
Bash and Perl might be the only exceptions to this due to their incredibly terse syntax for a certain subset of tasks.
- SomeCallMeTim 11y agoUmm...Ruby inherited most of Perl's terse syntax, or at least it did originally? I haven't followed recent versions of Ruby very closely. (And by "recent" I mean post-Rails.)
- njharman 11y agoBetter libraries and loosing static boilerplate is 90% of what dynamic languages offer. Kind of like saying other than the higher horsepower and aerodynamics Porshe Boxter has very little in the way of speed over a Ford Taurus.