Live data from Hacker News

Viewing profile — ufuk

ufuk

HN member
Joined
Wed, Jun 08, 2011, 4:20 PM UTC
HN karma
192
Public activity
42 items

About ufuk

[ my public key: https://keybase.io/ufuk; my proof: https://keybase.io/ufuk/sigs/mVZNfziXZYT8kZNF9Uq_fOYFJas_kS-mN4WONe2IBsg ]

Recent public activity

  1. story
  2. 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…

  3. story
  4. story
  5. comment
    Comment #37585612

    https://railsatscale.com/2023-06-12-truffleruby-in-shopify-c...

  6. story
  7. 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

  8. 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.

  9. 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.

  10. comment
    Comment #34132600

    As far as I know, yes, it should. But I haven't tested it so I can't say for sure.

  11. 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 …

  12. 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 …

  13. 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…

  14. 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!

  15. 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…

  16. 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…

  17. 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…

  18. 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.

  19. 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…

  20. 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…

  21. 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.…

  22. 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.…

  23. comment
    Comment #25162997

    Happy to answer any questions here about our process, results or tools!

  24. comment
    Comment #25162845

    The second part of this two-part blogpost is here: https://shopify.engineering/adopting-sorbet

  25. story