HackerTrans
TopNewTrendsCommentsPastAskShowJobs

ufuk

no profile record

Submissions

One engine, many tools – Introducing Rubydex

railsatscale.com
4 points·by ufuk·2 months ago·0 comments

New for Ruby 3.4: Modular Garbage Collection and MMTk

railsatscale.com
6 points·by ufuk·2 years ago·2 comments

Prism (new Ruby parser) in 2024

railsatscale.com
23 points·by ufuk·2 years ago·1 comments

Linking Rust and C: Practicing Symbol Hygiene

alanwu.space
1 points·by ufuk·3 years ago·0 comments

comments

ufuk
·2 years ago·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 years ago·discuss
https://railsatscale.com/2023-06-12-truffleruby-in-shopify-c...
ufuk
·3 years ago·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 years ago·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 years ago·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 years ago·discuss
As far as I know, yes, it should. But I haven't tested it so I can't say for sure.
ufuk
·4 years ago·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 years ago·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!
ufuk
·4 years ago·discuss
You do realize that market cap is not real money, right? That's like saying that an average American who earns 30K USD/year over 33 years will earn 1M USD and thus they should be considered a millionaire.
ufuk
·4 years ago·discuss
This is a great first step to making dependencies more secure in the Ruby ecosystem. Congrats to the whole team for getting this done!