DEV Community


Discussion on: On Death and Dying: Ruby on Rails

elmuerte profile image
Michiel Hendriks

Who's picking frameworks here? We have an application, and different ways to run them. I'm just wondering what options are being used in the wild.

Have you tried running your long running internet site application on JRuby, or CRuby with/without JIT?

FYI, modern JIT compilers can produce better performing machine code than a AOT compiler. This is due to the fact than a JIT compiler can continuously create tracing profiles and re-compile the code. So there is definitely a benefit of not using a "compiled language". (I assume you mean a language which compiles to machine code rather than an intermediate byte code.)

There is also more to a runtime than just computation. There is also memory management and garbage collection, or creating more CPU cache/memory localized code. This leads to less system resource pressure. Sure, your IO will always be a bigger performance issue. But being able to resort to smaller and less loaded VMs has a significant benefit in your wallet and scalability.