Unlocking the Rubetta Stones: Translating a Hoard of Ancient Tablets with Ractors and AI — a talk by Louis Antonopoulos

#ruby #conference #helsinki #tinyruby #ai #ractors #cryptography

https://youtu.be/gmj86xf63LE

Unlocking the Rubetta Stones by Louis Antonopoulos

YouTube
🌘 解鎖 Ractors:類別實例變數
➤ Ractors 的效能瓶頸與解決方案探索
https://byroot.github.io/ruby/performance/2025/05/24/unlocking-ractors-class-variables.html
這篇文章探討了 Ractors 在 Ruby 中的效能瓶頸,特別是類別和模組的實例變數存取。由於 Ractors 為了保持隔離性,讀取這些實例變數時必須取得 VM 全局鎖,反而導致並行效能下降。文章分析了問題的根源,以及可能的解決方案,包括更細粒度的鎖、讀寫鎖,最終認為消除鎖定是最佳途徑,並深入解釋了實例變數運作方式,為未來優化 Ractors 提供了基礎。
+ 這篇文章深入淺出地解釋了 Ractors 的效能問題,對於想要了解 Ractors 內部運作原理的人來說非常有幫助。
+ 雖然 Ractors 目前的效能不佳,但看到作者積極尋找解決方案,讓人對它的未來發展充滿期待。
#Ruby #Ractors #並行處理 #效能優化
Unlocking Ractors: class instance variables

In a previous post about ractors, I explained why I think it’s really unlikely you’d ever be able to run an entire application inside a ractor, but that they could still be situationally very useful to move CPU-bound work out of the main thread, and to unlock some parallel algorithm.

byroot’s blog
🌗 解鎖 Ractors:物件 ID
➤ 追蹤 Ruby 中物件 ID 的效能問題與解決方案
https://byroot.github.io/ruby/performance/2025/04/26/unlocking-ractors-object-id.html
本文探討了 Ruby 中 Ractors 的效能瓶頸,以及對 `object_id` 方法進行優化的過程。作者分析了 `object_id` 演變的歷史,從早期基於物件位址的簡單實現,到引入哈希表以支援 GC compaction 的複雜設計,並指出此過程導致了效能下降和 Ractors 中的競爭條件。目前,開發者正努力消除這些競爭點,以提升 Ractors 的並行效能。
+ 讀到這篇文章讓我更瞭解 Ruby 底層機制,以及效能優化背後複雜的考量。
+ 雖然我不是 Ruby 開發者,但瞭解這些技術細節有助於我更好地理解程式的運行原理。
#Ruby #Ractors #效能優化 #並行處理
Unlocking Ractors: object_id

In a previous post about ractors, I explained why I think it’s really unlikely you’d ever be able to run an entire application inside a ractor, but that they could still be situationally very useful to move CPU-bound work out of the main thread, and to unlock some parallel algorithm.

byroot’s blog
Unlocking Ractors: object_id

In a previous post about ractors, I explained why I think it’s really unlikely you’d ever be able to run an entire application inside a ractor, but that they could still be situationally very useful to move CPU-bound work out of the main thread, and to unlock some parallel algorithm.

byroot’s blog
So, you're telling me that #Ruby, a language designed for simplicity and joy, now wants a piece of the #parallel #computing pie using #Ractors and lock-free data structures? 😂 Good luck with that—just make sure you’ve got a PhD in Ruby, Rust, C, and a side of #GitHub for this “simple” task! 🚀💾
https://iliabylich.github.io/ruby-ractors-and-lock-free-data-structures/ #coding #humor #HackerNews #ngated
Intro - Ruby, Ractors, and Lock-Free Data Structures

Intro - Ruby, Ractors, and Lock-Free Data Structures

🚀 Oh wow, someone discovered #Ruby #Ractors and felt the need to write an epic about using 10 cores because, you know, they paid for them. 🤯 Spoiler alert: they played with numbers and got all giddy over #YJIT – "The Real Star" 🌟 – because math in parallel is just *that* exciting. 🙄
https://jpterry.com/posts/2025/03/exploring-ruby-ractors/ #ParallelProcessing #EpicDiscovery #10Cores #HackerNews #ngated
Exploring Ruby Ractors

Exploring Ruby Ractors true concurrency for fun and discovering the impressive performance gains YJIT offers.

jpterry.com
Anyone have thoughts or experiences with #Ruby actors ( #ractors)?
First time trying #ractors in #ruby. I guess I am a bit behind the times, but it’s great to see and a nice way to solve my problem of running another program with changing arguments in parallel and then collecting the output.