veganism.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Veganism Social is a welcoming space on the internet for vegans to connect and engage with the broader decentralized social media community.

Administered by:

Server stats:

300
active users

#ruby

73 posts43 participants4 posts today

Okay, here is my honest none redacted opinion on #nodejs
IT FUCKING SUCKS!

It maybe fast to get a prototype up an running. It might have package manager. It might be "easy" because the frontend and back end is in the same language.
But oh my fucking god the package manager is a mess. The speed of the final product suck, unless you start to fiddle with things you otherwise would have too if you for instance picked #ruby or #python and that is just the start... why anyone is using it I dont get

🌘 正則表達式比 C 代碼快 200 倍·在 Ruby 的邊緣
➤ TruffleRuby 的 TRegex 引擎以線性時間運行,與 CRuby 的回溯法相比,效率更高且更快。
eregon.me/blog/2025/03/14/matc
正則表達式比 C 代碼和手寫 SIMD 代碼還快,研究發現了轉換 Ruby 字串到 JSON 字串的一個高效方法,包括使用 C 擴展代碼、AVX2 SIMD 和簡潔的純 Ruby 版本。TruffleRuby 在正則匹配上顯著快於 CRuby,並解釋了該巨大效能差異的原因。
+ 這篇文章對於正則表達式在 Ruby 中的效能提升有深入的研究,對於想要優化代碼效能的開發者很有參考價值。
+ TruffleRuby 的正則匹配速度真的令人驚艷,瞭解了它如何優化的技術背後,更能讓人對翻譯背後的技術細節有更深的理解。
#Ruby 編程

On the Edge of Ruby · Matching Regexps 200 Times FasterA blog about Ruby, Performance and Concurrency

It's been 0 days since getting bitten by #ruby bundler modifying the Gemfile.lock to add a PLATFORMS entry on a read-only filesystem.

I'm sure I've tooted about this before, and I am likely to toot again, because I don't love bundler's behavior.