Re:What's new in Ruby 3.1?
by weatherlite on Thursday January 27, 2022 @04:00AM
(#30097995)
That's better performance, not better. Server bills is a pretty ridiculous metric to judge by; most of our server bills are due to the development kubernetes cluster (!), e.g our developers cost more in servers than our whole production setup. So what - should we go back to a monolith running locally then?
Why use Elixir and not Go or Rust then if it's only performance you care about, Go has great concurrency and better general performance.
[ Parent
| on HN ]
...and let's not forget that performance could be improved in newer versions so it's a bit tricky to say that A is faster than B, period.
Particularly, in this new 3.1 version there is a new JIT (YJIT from Shopify guys) that shows up to 22% on railsbench, 39% on liquid-render.
And there are alternative implementations like JRuby or GraalVM with diff. in performance.
That's why I said "other alternatives like Elixir". Go is one. Elixir syntax is comfortable (and productive) for Ruby devs and Phoenix for Rails folks. Use what you like.
Re:What's new in Ruby 3.1?
by weatherlite on Thursday January 27, 2022 @10:35AM
(#30101758)
> Use what you like
May I? Thanks!