4 ms·
Truffleruby is the way to go. Graalvm is in the process of becoming the universal, faster VM for most high level languages, for example it is already the fastes
by The_rationalist 6y ago
Truffleruby is the way to go.
Graalvm is in the process of becoming the universal, faster VM for most high level languages, for example it is already the fastest for R and once the python implementation mature it should become the fastest python runtime too.
- cutler 6y agoHow much extra memory overhead does it come with, though?
- wrmsr 6y agoSignificant but as it's freethreaded you only run one large process. That alone allows for all kinds of additional optimizations that would be pointless with a lot of little singlethreaded processes in which sharing anything mutable between them has massive overhead.
- rapsey 6y agoBut then you are paying oracle.
- pjmlp 6y agoThere is a reason why open source donations don't achieve the quality of JIT and GC implementations of commercial software. Something like Graal would never succeed with FOSS, late nighters and weekend programming.
- rapsey 6y agoTrue but and if it had a clear pricing model it would be fine. Unfortunately Oracle's pricing is closer to extortion. If you're already under their boot it's fine I guess, but anyone not under it is crazy to volunteer to do so.
- pjmlp 6y agoI own a developer account since 2000, their prices are perfectly fine for the corporations paying for DB2, Informix, SharePoint, SQL Server, SiteCore, AXM, SAP,.... Licenses are usually not where it hurts on corporation scale projects.
- kaba0 6y agoYou can use the free version of Graal just fine, can’t you?
- rapsey 6y agoSure you can. Then when it becomes an integral part of your companies tech stack, Oracle gets dollar signs for eyes.
- The_rationalist 6y agoWhat are you talking about? GraalVM CE is free and open source, the EE optimizations are just an optional bonus
- holstvoogd 6y agoTried running rails on it? Its like 10x slower then mruby still in my experience. It is the same issue I've seen with jruby and rubinius back in the day: they claim it is as performant or faster than mruby, but then you port a simple rails app and it hardly even manages to start the server. Not sure what these ppl are doing for benchmarks, but it ain't representative
- kaba0 6y agoI am not familiar with the Ruby word, but that should not be the case. How do you measure it?