Viewing profile — ufuk
ufuk
HN member- Joined
- Wed, Jun 08, 2011, 4:20 PM UTC
- HN karma
- 192
- Public activity
- 42 items
- HN profile
- View on Hacker News ↗
About ufuk
Recent public activity
- story
-
comment
Comment #42635611
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 implem…
- story
- story
-
comment
Comment #37585612
https://railsatscale.com/2023-06-12-truffleruby-in-shopify-c...
- story
-
comment
Comment #34414205
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
-
comment
Comment #34414178
You can see this chart and all the numbers and more at https://speed.yjit.org/ , which this chart was taken from.
-
comment
Comment #34414146
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.
-
comment
Comment #34132600
As far as I know, yes, it should. But I haven't tested it so I can't say for sure.
-
comment
Comment #34127492
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 …
-
comment
Comment #34126018
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 …
-
comment
Comment #32004632
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 c…
-
comment
Comment #31730341
This is a great first step to making dependencies more secure in the Ruby ecosystem. Congrats to the whole team for getting this done!
-
comment
Comment #25203659
I am afraid that is a shared concern for what Tapioca is doing as well. There are ways of mitigating that concern, by, for example, lifting all static methods on a model to be meth…
-
comment
Comment #25164881
We have a lot of automation and infrastructure in place to give us that confidence. We have an extensive test suite of hundreds of thousands of tests, linting and static checks tha…
-
comment
Comment #25164349
For the runtime, there is not much dark magic. Each type that has an `extend T::Sig` has `method_added` hooks registered, which notifies Sorbet runtime whenever a method is defined…
-
comment
Comment #25164311
This is a great way to use Sorbet and get its benefits without having to invest 100% into typing. Great example, thanks for sharing.
-
comment
Comment #25164059
Ultimately, the goal is for Tapioca to replace all `srb rbi` tooling and `sorbet-rails`. Right now, we exclusively use Tapioca for gem RBIs and we don't use any `srb rbi` tooling a…
-
comment
Comment #25164024
Currently, no. On the contrary, since Sorbet syntax is pure Ruby, it needs a runtime component, so there is actually a small negative impact in performance at runtime. The reason w…
-
comment
Comment #25163942
There was definitely some general suspicion when we first introduced Sorbet. However, there were also some early adopters who didn't mind the syntax but really wanted the benefits.…
-
comment
Comment #25163866
Like others have stated in the thread, Crystal is a different language that shares some its syntax with Ruby. Our aim is to keep our Ruby codebase but adopt static types gradually.…
-
comment
Comment #25162997
Happy to answer any questions here about our process, results or tools!
-
comment
Comment #25162845
The second part of this two-part blogpost is here: https://shopify.engineering/adopting-sorbet
- story