Todd A. Jacobs · @todd_a_jacobs
23 followers · 250 posts · Server ruby.social

@ruby_discussions As much as I dislike promoting anything or Oracle related, I have to say that a lot of my code (so long as it doesn't require forking) runs ~1 gazillion times faster on than even with enabled. It's now my default for certain types of performance-oriented code, especially for threading.

#java #rubylang #truffleruby #cruby #YJIT

Last updated 1 year ago

Todd A. Jacobs · @todd_a_jacobs
22 followers · 214 posts · Server ruby.social

If you're trying to update the gem on for , you may need this to link with OpenSSLv3's library:

```bash
OPENSSL_PREFIX="$(brew --prefix openssl@3)" gem update openssl
```

Just replace "@3" with "@1.1" if you prefer OpenSSLv1.1 for whatever reason. Meanwhile, still doesn't compile against v3 for me, but YMMV.

#openssl #macos #truffleruby #libssl #cruby

Last updated 1 year ago

space monster boyfriend · @itspomf
37 followers · 3044 posts · Server chitter.xyz

I really wish that would release an APT-compatible package so I don't have to worry about maintaining a bunch of JVM-related things.

Or, you know, provide more meaningful information for setting up their standalone install *without* using a ruby manager (which I have neither need nor want for).

#truffleruby

Last updated 1 year ago

Todd A. Jacobs · @todd_a_jacobs
15 followers · 144 posts · Server ruby.social

@rahoulb I like a lot, but periodically find things that just inexplicably don't work. I was answering a silly SO question and couldn't get it to even do 5 billion loops without an IntegerOverflow exception even with BigInt, but managed to increment a value 5B times in 49 seconds with without issues.

Crystal is a great language, but there are areas where its "Crystal Isn't Ruby" motto is on full display. I still prefer it to , though!

#crystallang #truffleruby #golang

Last updated 1 year ago

postmodern · @postmodern
1289 followers · 1796 posts · Server ruby.social

Released ruby-install 0.9.1, which adds support for installing TruffleRuby 23.0.0 and other various bug fixes.
github.com/postmodern/ruby-ins

#rubyinstall #truffleruby #ruby

Last updated 1 year ago

LisPi · @lispi314
190 followers · 2760 posts · Server mastodon.top

@s1ide @chjara @tobyink @alfredohno Pretty much. isn't exactly famous for its amazing performance and even the best runtimes like propose around 5x performance at best which... just isn't good-enough particularly when Rails itself /doesn't/ get 5x improvement from that.

Scaling wasn't a primary consideration and tacking it back on post-facto is a lot more complicated.

#rails #ruby #truffleruby

Last updated 1 year ago

LisPi · @lispi314
162 followers · 2347 posts · Server mastodon.top

@dekkzz76 So it seems, though it's nice to see that it's being actively worked on on the side.

It probably won't bring it anywhere near some of the other lightweight implementations (5x is much better, but that's still far from "runs nicely on a Raspberry" which some of the others claim to do), but it could help current instances not keel over with a flood of new traffic without having to double or triple running costs.

#truffleruby #activitypub

Last updated 2 years ago

LisPi · @lispi314
155 followers · 2300 posts · Server mastodon.top

Has anyone tried using for ? Does it make a meaningful difference?

#truffleruby #mastodon

Last updated 2 years ago

MonyoC · @monyoNERVA
94 followers · 27178 posts · Server mstdn.maud.io

ほげっ、ほげっ
TruffleRubyでMastodon動いた

#truffleruby #mastodon

Last updated 2 years ago

RubyConf · @rubyconf
226 followers · 44 posts · Server ruby.social
Mark Derricutt (talios) · @talios
420 followers · 474 posts · Server mastodon.nz

Hey - reading github.com/mastodon/mastodon/i has me intrigued (running Mastodon on and the

Does anyone have any more details on that?

#mastodon #truffleruby #jvm

Last updated 2 years ago

Mark Derricutt (talios) · @talios
384 followers · 363 posts · Server mastodon.nz

Just spotted out in the wild mentioned - and it's here within Mastodon! github.com/mastodon/mastodon/i - I'd almost forgotten about but would be cool seeing and the JVM offering up optimized instances.

#truffleruby #truffle #java

Last updated 2 years ago

Vito Botta :it: :fi: :uk: · @vito
158 followers · 520 posts · Server botta.social

Question for people with experience with : can you compile a program (a gem basically) to a standalone executable that includes all the dependencies for easier distribution? Before I continue rewriting my installer to I want to know if this could be a quicker option for me since I would stay with . All I want is to offer standalone executables so users don’t need to set up a Ruby environment or use , which is currently the only alternative.

#truffleruby #kubernetes #crystal #ruby #docker

Last updated 2 years ago

William Neal · @Sandbagger
76 followers · 145 posts · Server ruby.social

@eregon @graalvm Nice! I've never come across before. I've been messing around with deep learning stuff, and thinking through how I can deploy models in Python (once the model is trained you can kinda treat it as a regular method).

I was thinking of calling out to a Python webserver from an Rails app.

Maybe with I could bundle it in one app?

#truffleruby

Last updated 2 years ago

Benoit Daloze · @eregon
172 followers · 12 posts · Server ruby.social

Today I tried to run on and it just worked as a drop-in replacement! 🚀
No Gemfile/app changes needed.
I only had to fix one small bug in rb_thread_fd_select() used by hiredis and a one-line change in the Puma config! cc @graalvm

#mastodon #truffleruby

Last updated 2 years ago

Benoit Daloze · @eregon
172 followers · 12 posts · Server ruby.social

@postmodern CRuby copies because it wants to keep it \0-terminated. doesn't copy :)

#truffleruby

Last updated 2 years ago

MoskitoHero :ruby: :emacs: · @MoskitoHero
135 followers · 2017 posts · Server mastodon.xyz

With 3.1 just out, and in the headlines, here is a nice benchmark to compare the solutions at hand.

-- TLDR beats every other flavour and is in good position behind

eregon.me/blog/2022/01/06/benc

#jruby #ruby #truffleruby #yjit

Last updated 3 years ago

alexanderadam · @alexanderadam
301 followers · 3369 posts · Server ruby.social

RT @ShopifyEng@twitter.com

Sometimes a little piece of code can pull you down a deep rabbit hole. Julie Antunovic walks us through an exploration unearthing performance issues and opportunities with . bit.ly/3B60WsM

🐦🔗: twitter.com/ShopifyEng/status/

#truffleruby

Last updated 3 years ago

Samuel Williams · @ioquatix
202 followers · 384 posts · Server ruby.social

#truffleruby

Last updated 5 years ago