HackerTrans
TopNewTrendsCommentsPastAskShowJobs

ufuk

no profile record

Submissions

One engine, many tools – Introducing Rubydex

railsatscale.com
4 points·by ufuk·2 माह पहले·0 comments

New for Ruby 3.4: Modular Garbage Collection and MMTk

railsatscale.com
6 points·by ufuk·2 वर्ष पहले·2 comments

Prism (new Ruby parser) in 2024

railsatscale.com
23 points·by ufuk·2 वर्ष पहले·1 comments

Linking Rust and C: Practicing Symbol Hygiene

alanwu.space
1 points·by ufuk·3 वर्ष पहले·0 comments

comments

ufuk
·2 वर्ष पहले·discuss
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 वर्ष पहले·discuss
https://railsatscale.com/2023-06-12-truffleruby-in-shopify-c...
ufuk
·3 वर्ष पहले·discuss
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 वर्ष पहले·discuss
You can see this chart and all the numbers and more at https://speed.yjit.org/, which this chart was taken from.
ufuk
·3 वर्ष पहले·discuss
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 वर्ष पहले·discuss
As far as I know, yes, it should. But I haven't tested it so I can't say for sure.
ufuk
·4 वर्ष पहले·discuss
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 वर्ष पहले·discuss
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!