from Hacker News

Switch Ruby's default parser from parse.y to Prism

by tomstuart on 9/16/24, 7:31 PM with 3 comments

  • by ksec on 9/16/24, 7:55 PM

    From Matz

    >Prism needs quality and for that it needs to be experimented with on a wider scale. For that reason, I agree with making Prism the default in previews (when Prism passes all tests). Whether it will eventually become the default in 3.4 depends on quality.

    Once it land on master. It will automatically be tested on Github and 37Signals, in addition to Shopify. I remember there were one or two other companies that run on Ruby / Rails master as well. Cookpad? or was it Discourse.

    If we could get Gitlab and Stripe to test against it, and perhaps a few other Ruby shops that doesn't use Rails as representatives then I think Prism is damn well tested.

    Wondering what else is baking in Ruby 3.4. YJIT team has been very quiet....