4 ms·
Truffle is very exciting! Ive used JRuby in production as far back as 2011 and I've been extremely happy with it.
by gonyea 10y ago
Truffle is very exciting! Ive used JRuby in production as far back as 2011 and I've been extremely happy with it.
- pmontra 10y agoDo you develop with JRuby or only use it for running production code? I gave a try to it in 2015 and I've found it almost unbearably slow to develop with: the JVM startup time and the impossibility to make it optimize code that runs only once. This despite the recommended optimizations (disabling JIT etc). Running tests is hell, starting irb/rails c is hell, etc. I read https://github.com/jruby/jruby/wiki/Improving-startup-time https://github.com/jruby/jruby/wiki/Improving-startup-time now and I'm not sure that all of this was available when I used JRuby for the last time. I'd love to give it a try again and find it fast so if you develop with it, what's your setup?
- rurounijones 10y agoI use MRI ruby locally, JRuby on production servers. I have had no real issues with it to be honest. Never any incompatibilities. Some slight care needed when picking gems to make sure no cext but it is rare that I find one. I use JRuby on the CI box to make sure nothing untowards goes to prod.
- pmontra 10y agoThanks, this is the setup I suggested to a customer that wanted to move away from JRuby because those issues on the dev systems.