←Older revision | Revision as of 07:55, 9 March 2018 | ||
Line 1: | Line 1: | ||
[[Ruby]] was always known to be very slow language. Even when the hype around [[wikipedia:Ruby_on_Rails|Rails]] was on - e.g. around 2006, there was nobody who could make the language fast. The great news is that [[OracleLabs]] decided to demonstrate the power of their [[Truffle]] framework on [[Ruby]] and are working on a fast [[Ruby]] implementation. [[OracleLabs]] claim that their implementation is ten times faster than the standard [[Ruby]]. | [[Ruby]] was always known to be very slow language. Even when the hype around [[wikipedia:Ruby_on_Rails|Rails]] was on - e.g. around 2006, there was nobody who could make the language fast. The great news is that [[OracleLabs]] decided to demonstrate the power of their [[Truffle]] framework on [[Ruby]] and are working on a fast [[Ruby]] implementation. [[OracleLabs]] claim that their implementation is ten times faster than the standard [[Ruby]]. | ||
- | I wanted to verify such claim. One thing is being faster in a benchmark, the other thing is to speed up real programs. That is why [[I]] decided to write my first [[Ruby]] program - the [[ | + | I wanted to verify such claim. One thing is being faster in a benchmark, the other thing is to speed up real programs. That is why [[I]] decided to write my first [[Ruby]] program - the [[Sieve of Eratosthenes]] and as following video demonstrates, [[Truffle]] based [[Ruby]] is really faster: |
{{#ev:youtube|ufShKmS5Ueo}} | {{#ev:youtube|ufShKmS5Ueo}} |