logoalt Hacker News

Crestwavetoday at 11:38 AM1 replyview on HN

> little do they know Ruby is a slower language than Go

Isn't it generally expected for a feature-packed interpreted language to be slower than a minimal compiled language?


Replies

vinceguidrytoday at 2:32 PM

Ruby is compiled, it JIT compiles the code, in theory it should be on par with go once the compiler works out all the code paths, in a long-running application, you should expect the whole codebase to be compiled eventually. More:

https://www.codemancers.com/blog/rubys-jit-journey

show 1 reply