Re:Ruby is too slow for programming competitions
by Luyt on Sunday April 21, 2013 @03:03PM
(#5585943)
Actually, Python is compiled (just like Java, C#, Ruby) to bytecode which is executed in a virtual machine. It is the dynamic nature of certain languages that can make them slower than languages that are statically typed.
[ Parent
| on HN ]
Re:Ruby is too slow for programming competitions
by yyqux on Sunday April 21, 2013 @04:45PM
(#5586346)
And then the bytecode is interpreted. It's faster than interpreting the AST or source directly, but it's still pretty slow.
Java compiles the bytecode on the fly. Back in older JVMs where Java interpreted the bytecode it was also slow as hell.