hachyderm.io is one of the many independent Mastodon servers you can use to participate in the fediverse.
Hachyderm is a safe space, LGBTQIA+ and BLM, primarily comprised of tech industry professionals world wide. Note that many non-user account types have restrictions - please see our About page.

Administered by:

Server stats:

9K
active users

#ractor

0 posts0 participants0 posts today
maarten brouwers<p>Contributed a <a href="https://todon.nl/tags/ruby" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ruby</span></a> <a href="https://todon.nl/tags/Ractor" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Ractor</span></a> variant to the programming languages benchmark game: <a href="https://salsa.debian.org/benchmarksgame-team/benchmarksgame/-/issues/559" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">salsa.debian.org/benchmarksgam</span><span class="invisible">e-team/benchmarksgame/-/issues/559</span></a></p><p>(was an example where Ruby was slower than Python, so got interested :))</p><p>Might not be published anytime soon (as the benchark game isn't updated as often anymore, and was only recently updated), and it will also not be the fastest version, but was fun to experiment with Ractors in ruby, a way to have true parallelism is ruby.</p><p>(btw the reason ruby is slow in this test is that instantiating an object for a single character is much overhead that can't be reasoned away by the JIT-compiler I guess...</p><p><a href="https://todon.nl/tags/performance" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>performance</span></a></p>
Pito Salas<p>Linked is a good explanation of Ruby ractors, and a reminder that they still exist!<a href="https://salas.com/2025/03/11/whats-the-deal-with-ractors/#concurrency" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">salas.com/2025/03/11/whats-the</span><span class="invisible">-deal-with-ractors/#concurrency</span></a> <a href="https://ruby.social/tags/explainer" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>explainer</span></a> <a href="https://ruby.social/tags/ractor" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ractor</span></a> <a href="https://ruby.social/tags/ruby" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ruby</span></a> <a href="https://ruby.social/tags/scaling" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>scaling</span></a> <a href="https://ruby.social/tags/performance" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>performance</span></a> <a href="https://ruby.social/tags/software" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>software</span></a>-engineering</p>
Pito Salas<p>Linked is a good explanation of Ruby ractors, and a reminder that they still exist!<a href="https://salas.com/2025/03/11/whats-the-deal-with-ractors/#concurrency" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">salas.com/2025/03/11/whats-the</span><span class="invisible">-deal-with-ractors/#concurrency</span></a> <a href="https://ruby.social/tags/explainer" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>explainer</span></a> <a href="https://ruby.social/tags/ractor" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ractor</span></a> <a href="https://ruby.social/tags/ruby" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ruby</span></a> <a href="https://ruby.social/tags/scaling" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>scaling</span></a> <a href="https://ruby.social/tags/performance" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>performance</span></a> <a href="https://ruby.social/tags/software" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>software</span></a>-engineering</p>
Pito Salas<p>Linked is a good explanation of Ruby ractors, and a reminder that they still exist!<a href="https://salas.com/2025/03/11/whats-the-deal-with-ractors/#concurrency" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">salas.com/2025/03/11/whats-the</span><span class="invisible">-deal-with-ractors/#concurrency</span></a> <a href="https://ruby.social/tags/explainer" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>explainer</span></a> <a href="https://ruby.social/tags/ractor" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ractor</span></a> <a href="https://ruby.social/tags/ruby" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ruby</span></a> <a href="https://ruby.social/tags/scaling" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>scaling</span></a> <a href="https://ruby.social/tags/performance" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>performance</span></a> <a href="https://ruby.social/tags/software" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>software</span></a>-engineering</p>
Pito Salas<p>Linked is a good explanation of Ruby ractors, and a reminder that they still exist!<a href="https://salas.com/2025/03/11/whats-the-deal-with-ractors/#concurrency" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">salas.com/2025/03/11/whats-the</span><span class="invisible">-deal-with-ractors/#concurrency</span></a> <a href="https://ruby.social/tags/explainer" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>explainer</span></a> <a href="https://ruby.social/tags/ractor" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ractor</span></a> <a href="https://ruby.social/tags/ruby" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ruby</span></a> <a href="https://ruby.social/tags/scaling" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>scaling</span></a> <a href="https://ruby.social/tags/performance" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>performance</span></a> <a href="https://ruby.social/tags/software" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>software</span></a>-engineering</p>
Pito Salas<p>Linked is a good explanation of Ruby ractors, and a reminder that they still exist!<a href="https://salas.com/2025/03/11/whats-the-deal-with-ractors/#concurrency" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">salas.com/2025/03/11/whats-the</span><span class="invisible">-deal-with-ractors/#concurrency</span></a> <a href="https://ruby.social/tags/explainer" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>explainer</span></a> <a href="https://ruby.social/tags/ractor" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ractor</span></a> <a href="https://ruby.social/tags/ruby" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ruby</span></a> <a href="https://ruby.social/tags/scaling" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>scaling</span></a> <a href="https://ruby.social/tags/performance" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>performance</span></a> <a href="https://ruby.social/tags/software" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>software</span></a>-engineering</p>
Pito Salas<p>Linked is a good explanation of Ruby ractors, and a reminder that they still exist!<a href="https://salas.com/2025/03/11/whats-the-deal-with-ractors/#concurrency" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">salas.com/2025/03/11/whats-the</span><span class="invisible">-deal-with-ractors/#concurrency</span></a> <a href="https://ruby.social/tags/explainer" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>explainer</span></a> <a href="https://ruby.social/tags/ractor" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ractor</span></a> <a href="https://ruby.social/tags/ruby" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ruby</span></a> <a href="https://ruby.social/tags/scaling" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>scaling</span></a> <a href="https://ruby.social/tags/performance" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>performance</span></a> <a href="https://ruby.social/tags/software" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>software</span></a>-engineering</p>
Pito Salas<p>Linked is a good explanation of Ruby ractors, and a reminder that they still exist!<a href="https://salas.com/2025/03/11/whats-the-deal-with-ractors/#concurrency" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">salas.com/2025/03/11/whats-the</span><span class="invisible">-deal-with-ractors/#concurrency</span></a> <a href="https://ruby.social/tags/explainer" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>explainer</span></a> <a href="https://ruby.social/tags/ractor" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ractor</span></a> <a href="https://ruby.social/tags/ruby" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ruby</span></a> <a href="https://ruby.social/tags/scaling" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>scaling</span></a> <a href="https://ruby.social/tags/performance" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>performance</span></a> <a href="https://ruby.social/tags/software" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>software</span></a>-engineering</p>
Pito Salas<p>Linked is a good explanation of Ruby ractors, and a reminder that they still exist!<a href="https://salas.com/2025/03/11/whats-the-deal-with-ractors/#concurrency" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">salas.com/2025/03/11/whats-the</span><span class="invisible">-deal-with-ractors/#concurrency</span></a> <a href="https://ruby.social/tags/explainer" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>explainer</span></a> <a href="https://ruby.social/tags/ractor" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ractor</span></a> <a href="https://ruby.social/tags/ruby" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ruby</span></a> <a href="https://ruby.social/tags/scaling" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>scaling</span></a> <a href="https://ruby.social/tags/performance" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>performance</span></a> <a href="https://ruby.social/tags/software" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>software</span></a>-engineering</p>
Pito Salas<p>Linked is a good explanation of Ruby ractors, and a reminder that they still exist!<a href="https://salas.com/2025/03/11/whats-the-deal-with-ractors/#concurrency" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">salas.com/2025/03/11/whats-the</span><span class="invisible">-deal-with-ractors/#concurrency</span></a> <a href="https://ruby.social/tags/explainer" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>explainer</span></a> <a href="https://ruby.social/tags/ractor" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ractor</span></a> <a href="https://ruby.social/tags/ruby" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ruby</span></a> <a href="https://ruby.social/tags/scaling" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>scaling</span></a> <a href="https://ruby.social/tags/performance" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>performance</span></a> <a href="https://ruby.social/tags/software" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>software</span></a>-engineering</p>
Pito Salas<p>Linked is a good explanation of Ruby ractors, and a reminder that they still exist!<a href="https://salas.com/2025/03/11/whats-the-deal-with-ractors/#concurrency" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">salas.com/2025/03/11/whats-the</span><span class="invisible">-deal-with-ractors/#concurrency</span></a> <a href="https://ruby.social/tags/explainer" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>explainer</span></a> <a href="https://ruby.social/tags/ractor" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ractor</span></a> <a href="https://ruby.social/tags/ruby" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ruby</span></a> <a href="https://ruby.social/tags/scaling" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>scaling</span></a> <a href="https://ruby.social/tags/performance" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>performance</span></a> <a href="https://ruby.social/tags/software" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>software</span></a>-engineering</p>
Pito Salas<p>Linked is a good explanation of Ruby ractors, and a reminder that they still exist!<a href="https://salas.com/2025/03/11/whats-the-deal-with-ractors/#concurrency" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">salas.com/2025/03/11/whats-the</span><span class="invisible">-deal-with-ractors/#concurrency</span></a> <a href="https://ruby.social/tags/explainer" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>explainer</span></a> <a href="https://ruby.social/tags/ractor" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ractor</span></a> <a href="https://ruby.social/tags/ruby" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ruby</span></a> <a href="https://ruby.social/tags/scaling" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>scaling</span></a> <a href="https://ruby.social/tags/performance" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>performance</span></a> <a href="https://ruby.social/tags/software" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>software</span></a>-engineering</p>
卡拉今天看了什麼<p>Quickstart | Ractor</p><blockquote><a href="https://readhacker.news/s/6hkCT" rel="nofollow noopener noreferrer" target="_blank">Link</a></blockquote>📌<span> Summary: 本文介紹如何使用 Rust 的 Ractor 套件建立一個基本的演員模式 (actor model),並講解訊息傳遞的兩種方式──無回應的傳送 (cast) 和有回應的請求 (call)。透過建立簡單的“Hello world”演員,讀者學會了演員的定義、訊息類型及狀態管理,並實作一個能計算已輸出“Hello world”次數的功能。系統還包含針對詢問演員內部狀態的遠端過程呼叫 (RPC) 實現的範例。<br><br></span>🎯<span> Key Points:<br>- 演員可透過無回應的訊息傳送 (cast) 或有回應的請求 (call) 進行通訊,分別使用 Ractor 的訊息標記系統。<br>- 定義了一個基本的演員結構 MyFirstActor,並處理 </span><code>PrintHelloWorld</code><span> 訊息來輸出 “Hello world”。<br>- 演員可管理內部狀態,本文示範瞭如何計算 "Hello world" 輸出次數並用 </span><code>HowManyHelloWorlds</code><span> 訊息回應請求。<br>- 使用 </span><code>call_t!</code><span> 巨集簡化了 RPC 的構造過程,便於開發者進行演員訊息傳遞。<br><br></span>🔖 Keywords: <a href="https://social.mikala.one/tags/Ractor" rel="nofollow noopener noreferrer" target="_blank">#Ractor</a> <a href="https://social.mikala.one/tags/演員模式" rel="nofollow noopener noreferrer" target="_blank">#演員模式</a> <a href="https://social.mikala.one/tags/Rust" rel="nofollow noopener noreferrer" target="_blank">#Rust</a> <a href="https://social.mikala.one/tags/訊息傳遞" rel="nofollow noopener noreferrer" target="_blank">#訊息傳遞</a> <a href="https://social.mikala.one/tags/RPC" rel="nofollow noopener noreferrer" target="_blank">#RPC</a><p></p>
Kaan Barmore-Genc<p>If you are looking for an <a href="https://fosstodon.org/tags/ActorFramework" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ActorFramework</span></a> in <a href="https://fosstodon.org/tags/Rust" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Rust</span></a>, I played around with Actix, Riker.rs, and Ractor. I highly recommend <a href="https://fosstodon.org/tags/Ractor" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Ractor</span></a>, it gets a lot right: no runtime (runs within your <a href="https://fosstodon.org/tags/Tokio" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Tokio</span></a> runtime), supervision trees like <a href="https://fosstodon.org/tags/Erlang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Erlang</span></a>, and async message handlers for actors. </p><p>My only wish for it is better documentation, but the rustdocs are useable enough.</p><p><a href="https://github.com/slawlor/ractor" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="">github.com/slawlor/ractor</span><span class="invisible"></span></a></p><p><a href="https://fosstodon.org/tags/RustLang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RustLang</span></a></p>