#ruby #rails #development Had an app with complex list with erb partials. I never took the time to turn on #YJIT. But with the latest 3.4.1 release I made sure #rust was present on the system. It had >3x perf boost (not entirely fair, maybe some optimisations in the upgrade from 3.3.6 to 3.4.1). Perhaps I could have rewritten it to be more performant, but getting such improvements for 'free' is even better :D
tags: #programming #rails #ruby #webdev
Rails 8.0.0 is released!
https://github.com/rails/rails/releases/tag/v8.0.0
Discussions: https://discu.eu/q/https://github.com/rails/rails/releases/tag/v8.0.0
I'm doing a code challenge in Crystal. As someone who with a Ruby background who went on to learn Rust, you might think that it's a natural fit. However, I'm finding it to fall in the uncanny valley between the two - not as flexible as Ruby and not as expressive a type system as Rust, and the two play off of each other when I'm trying to do type gymnastics to get this very Ruby-like language to behave like Ruby.
tags: #ruby #rubyconf #sidekiq
to: https://ruby.social/users/rubyconf
shamelessly promoting my @rubyconf talk~
I love how enumeration can be customized in Ruby ❤️
Did you know you can write your own Enumerator helpers, like `.with_index` and `.with_object`?
I searched the web, and informations on this is relatively scarce.
So here's a few paragraphs to show how useful it can be! ➡️ https://kemenaran.winosx.com/posts/ruby-crafting-enumerator-helpers