HackerTrans
トップ新着トレンドコメント過去質問紹介求人

ufuk

no profile record

投稿

One engine, many tools – Introducing Rubydex

railsatscale.com
4 ポイント·投稿者 ufuk·2 か月前·0 コメント

New for Ruby 3.4: Modular Garbage Collection and MMTk

railsatscale.com
6 ポイント·投稿者 ufuk·2 年前·2 コメント

Prism (new Ruby parser) in 2024

railsatscale.com
23 ポイント·投稿者 ufuk·2 年前·1 コメント

Linking Rust and C: Practicing Symbol Hygiene

alanwu.space
1 ポイント·投稿者 ufuk·3 年前·0 コメント

コメント

ufuk
·2 年前·議論
This post describes the new modular garbage collection feature in Ruby 3.4: The ability to override Ruby's GC at runtime. We also introduce our first concrete alternative GC implementation, based on the Memory Management Toolkit (MMTk).
ufuk
·3 年前·議論
https://railsatscale.com/2023-06-12-truffleruby-in-shopify-c...
ufuk
·3 年前·議論
That's not correct:

    $ podman run -it -e RUBYOPT="--yjit" ruby:3.2
    irb(main):001:0> puts RUBY_DESCRIPTION
    ruby 3.2.0 (2022-12-25 revision a528908271) +YJIT [aarch64-linux]
    => nil
ufuk
·3 年前·議論
You can see this chart and all the numbers and more at https://speed.yjit.org/, which this chart was taken from.
ufuk
·3 年前·議論
10% less time for the same amount of work, since we are measuring the total response time of the workload in question and looking at median (p50), p90 and p99 numbers.
ufuk
·4 年前·議論
As far as I know, yes, it should. But I haven't tested it so I can't say for sure.
ufuk
·4 年前·議論
It is not a dumb question at all. At Shopify we use chruby since it is lightweight and less opinionated. However, devs never really have to use chruby directly, since our in-house `dev` CLI tool can install the Ruby version any project at Shopify specifies and configure `shadowenv` to set the right env variables to use it.
ufuk
·4 年前·議論
We'd already deployed a prerelease version and started serving all Shopify storefront requests with Ruby 3.2 earlier this week. Here is a Twitter thread from me about all the work that into this release from Shopify with respect to performance and stability: https://twitter.com/paracycle/status/1605706226007941122

If you have any questions, I am more than happy to answer them here. Merry Christmas everyone!