@eregon
EDIT: nevermind. I converted the references but I'm still open to feedback if you have any.

do you have any advice for me?
I'm surely doing something wrong.

https://github.com/rails/marcel/actions/runs/18431879625/job/52520253962?pr=132

Also I kinda wouldn't have expected a `Polyglot::ForeignException` here but rather something that could be catched easier (maybe a descendent from Ruby's RegexpError).

But I guess there are technical reasons in #TruffleRuby for this. 😉

@headius it has been ages that I stumbled over a different handling between #MRI and #JRuby but today it has happened. 😉

EDIT: nevermind. I converted the references but I'm still open to feedback if you have any.

I'm surely doing something wrong, so I'm open in case you have any advice for me.

https://github.com/rails/marcel/actions/runs/18431055272/job/52518425738?pr=132

#TruffleRuby is affected too.

OK what the heck am I doing wrong here? RSpec on TruffleRuby is claiming a .to raise_error isn't catching an exception, but it appears that the exception class and message are identical?!
https://github.com/ronin-rb/ronin/actions/runs/11964732630/job/33357548812

#truffleruby

Fix truffleruby specific spec failures. · ronin-rb/ronin@a409bb5

Ronin is a Free and Open Source Ruby Toolkit for Security Research and Development. Ronin also allows for the rapid development and distribution of code, exploits, payloads, etc, via 3rd-party git ...

GitHub

@postmodern Oops. I just responsed to an issue on ruby-install thinking the OP was talking about #TruffleRuby 24.1.0 when it was actually about 23.1.0. I think my reply may still add some value, as the recent removal of #OpenSSL v1.1 from #Homebrew prevents building ruby-install's notion of the "current" TruffleRuby (reported as 24.1.0) against openssl@3 even when passed build arguments.

Sorry for the misread OP. Hope this helps someone else anyway!

https://github.com/postmodern/ruby-install/issues/469#issuecomment-2455276011

Can't use installed truffleruby 23.1.0 with openssl · Issue #469 · postmodern/ruby-install

Description Coming from oracle/truffleruby#3283 > ruby -e "require 'openssl'" <internal:core> core/kernel.rb:260:in `require': you may need to install the system OpenSSL library libssl - see https:...

GitHub
Any interest out there in me writing a blog post on this PoC I did awhile back in #TruffleRuby? #Ruby
GitHub - relistan/shorten-truffle: A high performance TruffleRuby link shortener PoC

A high performance TruffleRuby link shortener PoC. Contribute to relistan/shorten-truffle development by creating an account on GitHub.

GitHub
@lepidotos I personally have no interest in learning #RustLang, but I think it's a well designed language and is already being relied on by #TruffleRuby on other system tools. While it shouldn't drive your decision, I think there's a bigger community and ecosystem around it, and it won't leave you in a low-eyeball ghetto the way more niche languages often do. YMMV.

Ah, nothing like posting on #StackOverflow to toughen up one's sense of self! I typically only answer the tricky questions there, so dealing with criticism of minor oversights, off-by-ones, and conversion errors are part of the fun. Ever try converting µs to femtoseconds when #benchmarking iterations on large data sets? Less fun than you think!

On the other hand, #TruffleRuby for the performance win. 900% faster for this use case than #CRuby, even with #YJIT.

https://stackoverflow.com/a/78263220/1301972

Why Ruby `num >> 1` is slower than `num/2`

i surprised that Ruby num >> 1 is slower than num/2 since i always thought that bit operators should faster than normal operators. # ruby 3.0.3 require "benchmark/ips" Benchmark.i...

Stack Overflow
@super @truffleruby @eregon That's a really good question! My guess is most pure #RubyLang #RubyGems will work out of the box, but anything with #FFI native extensions might still have issues because it's fundamentally a different #RUBY_ENGINE. #JRuby and others have the same problem, so I don't think that's specific to #TruffleRuby, but maybe there's a plan to solve for that.

@truffleruby I've been pretty impressed with the performance of #TruffleRuby. 100% support of core #RubyLang specs makes it even more compelling.

I need to re-read the license, though. I've avoided it for certain projects because I was under the impression it was under an Oracle license, but would love to be wrong so I can use it more broadly!

Over the weekend I started hacking around with #TruffleRuby and it's as cool as it seems like it would be. I have done plenty of JRuby in the past and I like it quite a bit. But the debugging and profiling tools on #GraalVM are second to none. And some of the interop is definitely easier... plus the ability to use C extensions! This is the little project i'm building to test it. https://github.com/relistan/shorten-truffle . Will blog something when I've spent more time at it.
GitHub - relistan/shorten-truffle: A high performance TruffleRuby link shortener PoC

A high performance TruffleRuby link shortener PoC. Contribute to relistan/shorten-truffle development by creating an account on GitHub.

GitHub