Most of this is probably due to better libraries and forfeiting the static type system. There&#x27;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.<p>Bash and Perl might be the  only exceptions to this due to their incredibly terse syntax for a certain subset of tasks.