Hacker News new | ask | show | jobs
by lidHanteyk 2228 days ago
Interesting; Shopify doesn't use TruffleRuby, but instead prefers MRI?
3 comments

> Interesting; Shopify doesn't use TruffleRuby, but instead prefers MRI?

Shopify's investing in TruffleRuby as well as MRI - they employ me to work on it. We have it able to run one major app, but still working on making it as fast as we'd like.

Idiotic. That’s what using the right tool for the job is all about. Ruby isn’t for everything and never will be. Just stick to CRuby (or JRuby if integrating with the JVM). They’re already stable. No point diluting the space with more rubies for superficial reasons like lessening the performance trade off in Ruby when there are many many other languages better suited for high performance algorithms to apply where needed. That’s what good engineering is all about after all. Knowing trade-offs and choosing the right tool for the job, not denying them or trying to fight them like TruffleRuby idiotically does. Shopify is like Canada’s Groupon. The only reason they are profiting is because they have a simple business idea despite their mediocre engineering skills.
TruffleRuby can’t quite run Rails yet. They use truffle for some plain Ruby stuff.
Not running most Rails applications is true, but the applications that can be run on TruffleRuby are not quite plain. It can run a web application that serves storefront traffic (source at the end of https://engineering.shopify.com/blogs/engineering/optimizing...)
Yeah, of course I was generalizing a bit. That blog post is super informative, thanks!
More interestingly, the TurffleRuby founder works at Shopify IIRC.