On #ruby30th, I'm delighted I discovered it & grew to really like it - back in 2005.
Now, I wish it continues to grow, and stays alive in all its forms including #RubyOnWindows and #JRuby.
Also, I hope to keep creating useful content for Ruby devs.
Thank you @yukihiro_matz
#ruby30th #rubyonwindows #jruby
I often post long-form on #JRuby stuff. Some links if you're keen:
* Installing JRuby: https://notepad.onghu.com/2020/jruby-win-day0-install-hello_world/
* Creating executable JARs: https://notepad.onghu.com/2021/jruby-win-day2-creating-jar-files/
* Using #Java libs from JRuby: https://notepad.onghu.com/2021/jruby-using-apache-poi-to-generate-xlsx-files/
and why we ❤ JRuby: https://notepad.onghu.com/2022/why-we-use-jruby/
Ruby Google Summer of Code has a rather rich list of possible projects for 2023.
Tell your Java or Windows friend about this. Cool opportunity to work with @ioquatix on the "io-uring for Windows" one. Many JRuby ideas, too, on there.
https://github.com/rubygsoc/rubygsoc/wiki/Ideas-List-%282023%29
So, using #weka in #jruby with a recent version of #java requires the --add-opens flag to avoid the InaccessibleObjectException:
> jruby -J--add-opens=java.base/java.lang=ALL-UNNAMED -S rake task
This works on Windows 10 under CMD, but under PowerShell, I get the error: "Error occurred during initialization of boot layer
java.lang.RuntimeException: Unable to parse --add-opens <module>=<value>: java"
Quite happy to use CMD, but what is PowerShell doing differently???
RT @AndyObtiva
#glimmer #metronome #music #desktop #application #opensource #jruby #ruby #programming #softwareengineering #development https://twitter.com/RubygemsN/status/1612595291630501888
#glimmer #metronome #music #desktop #application #opensource #jruby #ruby #programming #softwareengineering #development
I often post long-form on things to do with #JRuby. Here are a few of the links if you're keen:
* Installing JRuby - https://notepad.onghu.com/2020/jruby-win-day0-install-hello_world/
* Creating executable JARs - https://notepad.onghu.com/2021/jruby-win-day2-creating-jar-files/
* Using Java libs from JRuby - https://notepad.onghu.com/2021/jruby-using-apache-poi-to-generate-xlsx-files/
* Building from source - https://notepad.onghu.com/2021/jruby-win-day3-building/
...and more, all linked from Why we like to use JRuby - https://notepad.onghu.com/2022/why-we-use-jruby/
#RDF4j is a #semantic web stack written in #java and a proper #eclipse project. The new java capabilities allow some really sweet code. Some work we did was inspired by #JRuby and @headius. Which seems odd, but their use of invoke dynamic style code also applies to database query languages :D
#rdf4j #semantic #java #eclipse #jruby
I always like listening about @JRuby.
@headius is giving a talk about it right now at @rubyconfth #rubyconfth.
So maybe this will convince stone folks to choose #jruby.
PS: Some years ago I was glimpsing to app development with @MrRuboto@twitter.com which uses it as well.
I always like listening about @jruby@twitter.com.
@headius@twitter.com is giving a talk about it right now at @rubyconfth@twitter.com.
So maybe this will convince stone folks to choose #jruby.
PS: Some years ago I was glimpsing to app development with @MrRuboto@twitter.com which uses it as well.
The "mail" Ruby gem got another prerelease, and this unreleased commit adds explicit support for JRuby!
The game's afoot!
https://github.com/mikel/mail/commit/2142d6479a7dbc7b0afc746f3b34b932a9b5b024
Lazy JRuby: is there a way to add a dependency on sqlite3 such that the gem can be installed under CRuby _and_ JRuby?
#ruby #jruby #activerecord
I develop a saas network management platform for my employer which they offer to hardware customers. A handful of customers require their own private instance if they manage a private network, so we were faced with deploying and supporting a bespoke #jruby and #torquebox platform with little say over the deployment environment. 1/2
With #Ruby 3.1 just out, and #yjit in the headlines, here is a nice benchmark to compare the solutions at hand.
-- TLDR #TruffleRuby beats every other flavour and #yjit is in good position behind #jruby
https://eregon.me/blog/2022/01/06/benchmarking-cruby-mjit-yjit-jruby-truffleruby.html
#jruby #ruby #truffleruby #yjit
RT @jruby@twitter.com
And which Ruby implementation supports both Linux/s390x *and* parallel threads? That's right, it's #JRuby! 😀 https://twitter.com/mstoodle/status/1454093235782094857
RT @fmzakari@twitter.com
@jruby@twitter.com @sorbet_ruby@twitter.com I've put some thoughts down on our use of Sorbet & JRuby.
Hopefully others find it useful, curious to hear about others that have tried to adopt it.
#ruby #sorbet #jruby
https://fzakaria.com/2021/03/13/jruby-and-sorbet.html