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 2 years 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 2 years ago

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

@rahoulb Without disagreeing with your points, I'd say that itself isn't _necessarily_ the problem. As an opinionated system, Rails can certainly drive some unfortunate design choices, but _any_ codebase can become unmanageable at scale.

Just a few ideas:

1. has limitations, but might help.
2. Speed has a lot of factors. is not a speed demon. If your code is thread-safe, try TruffleRuby instead.
3. Pre-rendering assets & fragment caching help too.

YMMV.

#rubyonrails #rest #graphql #cruby

Last updated 2 years ago