Ruby 3.3.0-Preview3 Released
ruby-lang.org
Ruby 3.3.0-Preview3 Released
1–10 of 10 posts
Re: Ruby 3.3.0-Preview3 Released
#2Still unsure about M:N thread scheduler and Ractor.
Re: Ruby 3.3.0-Preview3 Released
#3Re: Ruby 3.3.0-Preview3 Released
#4What benefits does Prism offer over the other parser?
You can read more about the parser I mentioned here (but it seems that is has/hat a different name before?) https://railsatscale.com/2023-06-12-rewriting-the-ruby-parse...
Re: Ruby 3.3.0-Preview3 Released
#5Re: Ruby 3.3.0-Preview3 Released
#6Another christmas approaching, another depressing realization that I'll probably be stuck on ruby 2.6.9 and Rails 5 until I change companies.
Re: Ruby 3.3.0-Preview3 Released
#7What benefits does Prism offer over the other parser?
It looks like there was also a podcast interview last year that touches on the origins of the project: https://topenddevs.com/podcasts/ruby-rogues/episodes/the-new...
Reading between the lines it looks to me like this is motivated by ripper (the old parser) not being a great fit for tooling around ruby like IDE LSP integrations and such. Ripper isn’t fault tolerant (if the script has a a syntax error you don’t get a partial tree, just an exception); being implemented in ruby enough itself that it kind of depends on ruby which isn’t always convenient for integration (IDEs like vscode make plugins in JS easy, prism comes with node bindings), and maybe being enough of a crufty old code base that maintaining it and fixing those design issues was deemed impracticable.
Also worth noting if it wasn’t clear I’m pretty sure this parser is not being used or intended to be used for a ruby runtime to actually execute scripts, and that’s not what ripper was for either. This is for tooling that operates on ruby files for other purposes: syntax highlighting, linting, stuff like that.
Re: Ruby 3.3.0-Preview3 Released
#8Another christmas approaching, another depressing realization that I'll probably be stuck on ruby 2.6.9 and Rails 5 until I change companies.
Re: Ruby 3.3.0-Preview3 Released
#9What benefits does Prism offer over the other parser?
Re: Ruby 3.3.0-Preview3 Released
#10Another christmas approaching, another depressing realization that I'll probably be stuck on ruby 2.6.9 and Rails 5 until I change companies.
There are lots of great companies out there running modern Ruby stacks! Throw your name in the hat, see if you get any hits!