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:

299
active users

#ruby

81 posts48 participants2 posts today

🌘 正則表達式比 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.

JENNIE hat mit ihrem Debütalbum "Ruby" ein echtes Meisterwerk geschaffen. Die K-Pop-Ikone zeigt sich vielseitig und überzeugt mit 15 fesselnden Tracks, darunter Kollaborationen mit Top-Stars wie Dua Lipa und Childish Gambino. Das Musikvideo zu "like JENNIE" sprengt gerade die Aufrufzahlen! Entdecke die musikalische Reise dieser talentierten Künstlerin.

#JENNIE #Ruby #KPop
szenenight.de/musik/jennies-de

I wrote a blog post about a hyper specific issue that's already solved in the comments because that's what we used to do. Debug things, write blog posts about them and share. Whether it helps or not, it felt good to write and it feels good to share.

Learn a big about how native extensions work and how to fix "Error 1" when installing the sassc gem on your mac. I hope you enjoy reading it half as much as I enjoyed writing it.

schneems.com/2025/03/17/instal

www.schneems.comInstalling the sassc Ruby gem on a Mac. A debugging storyI’m not exactly sure about the timeline, but at some point, gem install sassc stopped working for me on my Mac (ARM). Initially, I thought this was because t...