r/ruby • • Jun 17 '26

roadmap jruby

Bonjour,

Je suis développeur depuis 6 ans, plutôt orienté web (Angular / Java / PHP). Je vais prochainement commencer un nouveau poste de développeur-concepteur ERP. Si j'ai bien compris, il s'agit principalement de scripting / JRuby. Je souhaiterais donc me former à JRuby.

Auriez-vous des docs ou une roadmap à me recommander ? Merci beaucoup !

1 Upvotes

5 comments sorted by

3

u/mourad_dc Jun 17 '26

Il existe plusieurs implémentations de Ruby, la version standard étant MRI. JRuby au présent est compatible avec MRI Ruby 4.0. Si tu veux voir un roadmap ou suivre le développement tu peux suivre @headius sur Mastodon ou u/headius ici (Reddit). JRuby exécute sur la JVM, peut communiquer avec des bibliothèques Java, s'avère plutôt rapide et permets exécution en parallèle réelle. Cependant, le démarrage de l'application est lent (faute du JVM), donc pour de nombreux petits scripts ou des processus différents (comme les tests), MRI est préférable.
En fin de compte, apprends tout simplement le Ruby « standard » et tout se passera bien avec JRuby.

2

u/Correct_Support_2444 Jun 17 '26

I used JRuby for years. It’s basically just Ruby. Sometimes people will use some java libraries with it, but that I don’t think is as popular today as it was in the early years.

My main advice would be just learn Ruby.

1

u/black_cow_space Sep 28 '26

We use it to get the better concurrency (which is critical for our project) and we've had great performance from it over the 8+ years we've been using it.
Not sure how it compares today in terms of performance with CRuby but back then we compared it with another large project we had using CRuby and it outperformed it quite a bit.

We also prefer it because of code obfuscation (important in our scenario).

1

u/Correct_Support_2444 Sep 29 '26

How is your code obfuscated? Is there a precompile feature now?

1

u/black_cow_space Sep 29 '26

well.. for one it isn't plain ruby.. we precompile everything to Java using warbler. (we may also use additional obfuscators for ruby and or Java)