6 ms·
JRuby is of course incompatible with C extensions to Rails; the place I used Rails had such dependencies, and so JRuby was not an option. I agree that JRuby is
by el_bhs 13y ago
JRuby is of course incompatible with C extensions to Rails; the place I used Rails had such dependencies, and so JRuby was not an option. I agree that JRuby is otherwise preferable to cRuby, though.
I'd be curious to hear how Square has found ruby (independent of rails) to be from a maintenance standpoint.
- erikpukinskis 13y agoI assume this wasn't an option for you, but you can sometimes get around this limitation by doing any C-dependent work in a job queue.
- dragonwriter 13y ago> JRuby is of course incompatible with C extensions to Rails The fact that old-style native extensions are tied to MRI is one of the motivations for Ruby FFI, which provides a common mechanism for interfacing to native libraries on MRI, JRuby, and Rubinius (and maybe some other implementations, as well.)
- bascule 13y agoCheck out Xavier Shay's talk on JRuby at Square for more info on our experiences: https://www.youtube.com/watch?v=hMpd4CzR1f8 https://www.youtube.com/watch?v=hMpd4CzR1f8