5 ms·
So what's Shopify's goal in supporting TruffleRuby ? isn't Ruby 3x3 promise good enough? Is Shopify looking to optimise memory footprint or speed or both?
by joelbluminator 7y ago
So what's Shopify's goal in supporting TruffleRuby ? isn't Ruby 3x3 promise good enough? Is Shopify looking to optimise memory footprint or speed or both?
- kipply 7y agoI think "good enough" is not a perfect mentality for what we want from our services. Ruby 3x3 is great (3 times faster is insane!), and we are looking at many things to optimise Ruby. TruffleRuby does aim to get more than 3x faster (already does on optcarrot) and could also provide some insight to be applied elsewhere. Other reasons include TruffleRuby features such as Chrome dev tools debugging (I'm not endorsing it as superior or inferior to any existing Ruby debugging tools) and polyglot programming. All in all, the goal is most accurately described as "research".
- kipply 7y agoAs a general comment about production applications, memory is less important than speed since computers are cheap compared to having poorer user experience. Also, with JITs, consuming less memory isn't that realistic. You can find "complaints" about Pypy and Java and consuming a lot of memory.
- joelbluminator 7y ago> All in all, the goal is most accurately described as "research" So what is a successful outcome you're hoping for with this project? Or is it purely academic?
- kipply 7y agoNot really sure there is a good answer for this. A past successful outcome was that we could actually get TruffleRuby to run an entire production application without code-changes. I suppose a future one could be that it's easy, fast and good to develop and ship an application running on TruffleRuby.