News for hackers. Stuff that matters.
Re:Ruby in Twenty Minutes (2006) by pmontra on Sunday February 10, 2019 @04:53AM (#19127108)
From 2018 https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

Sometimes Ruby's faster, sometimes Python is.

However all those benchmarks are probably useless. They are not testing how the language is used or should be. The trick with all the scripting languages is to make the CPU spend most of its time in the C code inside the standard library or the implementation of the native constructs of the language with as little overhead as possible.

Example: you don't want to do numerical computation using plain Python, you want to use Numpy.

You also want to learn very well all the ways Ruby's standard library can group operations in a single method call saving time compared to naive multi method chains.

Re:Ruby in Twenty Minutes (2006) by TheTruth321 on Sunday February 10, 2019 @06:22AM (#19127365)
Inconvenient.