3 ms·
> It's slower than Ruby. Any reference/numbers to back this up ? Just genuinely curious about this.
by yla92 4y ago
> It's slower than Ruby.
Any reference/numbers to back this up ? Just genuinely curious about this.
- Mikeb85 4y agoBasically any benchmark that uses just the language. Throw some loops and maths in there. It doesn't really matter though, both languages are used typically for scripting. But just shows it's not really about the "language", it's about the ecosystem.
- j_mo 4y agoIn all the language comparisons I've found over the years, Python consistently comes out slightly slower, for example: https://github.com/kostya/benchmarks https://github.com/kostya/benchmarks Bearing in mind these are probably not even using YJIT, which makes Ruby considerably faster in some scenarios.
- yxhuvud 4y agoRuby used to be slower though, during the 1.8.7 times. But that was a long time ago now.
- deleted 4y ago[deleted]