TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ruby 3.4.0

418 pointsby aaronbrethorst5 months ago

15 comments

omoikane5 months ago
I am most excited about the parser change, previously discussed here:<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=36310130">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=36310130</a> - Rewriting the Ruby parser (2023-06-13, 176 comments)<p>I remember being taught to use yacc in our compiler course because &quot;writing it by hand is too hard&quot;. But looks like Ruby joins the growing list of languages that have hand-written parsers, apparently working with generated parsers turned out to be even harder in the long run.<p>That said, replacing a ~16k line parse.y[1] with a 22k line prism.c[2] is a pretty bold move.<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;ruby&#x2F;ruby&#x2F;blob&#x2F;master&#x2F;parse.y">https:&#x2F;&#x2F;github.com&#x2F;ruby&#x2F;ruby&#x2F;blob&#x2F;master&#x2F;parse.y</a><p>[2] <a href="https:&#x2F;&#x2F;github.com&#x2F;ruby&#x2F;prism&#x2F;blob&#x2F;main&#x2F;src&#x2F;prism.c">https:&#x2F;&#x2F;github.com&#x2F;ruby&#x2F;prism&#x2F;blob&#x2F;main&#x2F;src&#x2F;prism.c</a>
评论 #42508246 未加载
评论 #42507450 未加载
评论 #42507768 未加载
评论 #42508531 未加载
评论 #42509052 未加载
评论 #42508023 未加载
评论 #42531220 未加载
评论 #42508907 未加载
ciconia5 months ago
Ruby is getting more and more awesome these last few years, especially when it comes to performance. Since 3.3 I&#x27;ve been running all my apps with --yjit, it makes a tremendous difference!
评论 #42508307 未加载
dragonwriter5 months ago
Already outdated: <a href="https:&#x2F;&#x2F;www.ruby-lang.org&#x2F;en&#x2F;news&#x2F;2024&#x2F;12&#x2F;25&#x2F;ruby-3-4-1-released&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.ruby-lang.org&#x2F;en&#x2F;news&#x2F;2024&#x2F;12&#x2F;25&#x2F;ruby-3-4-1-rele...</a>
评论 #42507821 未加载
评论 #42507806 未加载
tuananh5 months ago
Shopify strategy aka the story of YJIT<p>If I cannot refactor my services, I shall refactor Ruby instead.
评论 #42507949 未加载
评论 #42509419 未加载
评论 #42508119 未加载
评论 #42508980 未加载
评论 #42507793 未加载
0xferruccio5 months ago
Always looking forward to the Christmas tradition of Ruby releases
评论 #42508993 未加载
pjmlp5 months ago
I am liking all the performance improvement goodies on JIT and GC level.
评论 #42507986 未加载
fithisux5 months ago
Congratulations guys. Thank you for the hard work.
evjan5 months ago
‘it’ is a welcome addition!
评论 #42507987 未加载
评论 #42508785 未加载
评论 #42507683 未加载
评论 #42511933 未加载
tan-z-tan5 months ago
Every year-end, I update my Rails app. Lately, it&#x27;s been stable, and the updates just improve performance, so it&#x27;s gotten easier.
评论 #42511430 未加载
评论 #42509441 未加载
shortrounddev25 months ago
What does ruby do well that other languages don&#x27;t? What is the niche it&#x27;s trying to fill?
评论 #42507938 未加载
评论 #42507733 未加载
评论 #42508561 未加载
评论 #42508313 未加载
评论 #42507764 未加载
评论 #42507679 未加载
评论 #42508710 未加载
评论 #42507779 未加载
评论 #42507750 未加载
评论 #42518943 未加载
评论 #42513663 未加载
评论 #42508241 未加载
评论 #42517912 未加载
评论 #42507893 未加载
replwoacause5 months ago
If I want to make a SSR site using Ruby, are there any good frontend UI libraries that make doing this easier? It’d be nice if there was some Ruby abstraction for writing HTML, CSS, and JS that makes building interactive UIs easier (possibly built on top of HTMX, AlpineJS, etc).
评论 #42518870 未加载
评论 #42516111 未加载
评论 #42520618 未加载
评论 #42519531 未加载
thdhhghgbhy5 months ago
Why did NodeJS take off on the backend while Rails was still popular? I&#x27;ll never understand it.
评论 #42508413 未加载
评论 #42507755 未加载
评论 #42507875 未加载
评论 #42507795 未加载
评论 #42508896 未加载
评论 #42508274 未加载
评论 #42516914 未加载
评论 #42508928 未加载
评论 #42508515 未加载
cssanchez5 months ago
I want to try Ruby since the news of Rails 8 came out, but it&#x27;s been so difficult that I just gave up. Installing Ruby on Mac and Windows and actually getting the 3.3 version required for Rails 8 was a huge mission and test of patience because every installer defaulted to older versions of both Ruby and Rails even one month after the release. And yes, even Docker required tweaking to get the versions and I had issues with devContainers anyway...<p>I finally got it installed and then followed some tutorials only to see that Rails&#x27; html.erb files have completely broken syntax highlighting in VSCode and other editors. I facepalmed and though I tried to search for a fix online, I couldn&#x27;t find one. I saw posts mentioning it in forums and yet not a single solution posted.<p>So I gave up. I tried in Mac, Windows and Linux. If someone here knows how to fix the broken highlighter, that can be my Christmas gift today, but for the most part I&#x27;ve moved on.
评论 #42509386 未加载
评论 #42513404 未加载
评论 #42515096 未加载
评论 #42508893 未加载
评论 #42509853 未加载
revskill5 months ago
Hope ruby 4 had static type system like typescript.
评论 #42514650 未加载
评论 #42519542 未加载
评论 #42512866 未加载
hackerbrother5 months ago
(Removed)
评论 #42509116 未加载