<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Mark Galea</title>
    <description>The latest articles on DEV Community by Mark Galea (@cloudmark).</description>
    <link>https://dev.to/cloudmark</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3862056%2F9fea5c7f-d13c-4dc4-bf29-9f8c25d8615d.png</url>
      <title>DEV Community: Mark Galea</title>
      <link>https://dev.to/cloudmark</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/cloudmark"/>
    <language>en</language>
    <item>
      <title>Cats-Actors 2.1.0 — Typed Actors Now Running on JVM, Scala Native, and Scala.js</title>
      <dc:creator>Mark Galea</dc:creator>
      <pubDate>Sun, 05 Apr 2026 09:27:35 +0000</pubDate>
      <link>https://dev.to/cloudmark/cats-actors-210-typed-actors-now-running-on-jvm-scala-native-and-scalajs-5go3</link>
      <guid>https://dev.to/cloudmark/cats-actors-210-typed-actors-now-running-on-jvm-scala-native-and-scalajs-5go3</guid>
      <description>&lt;p&gt;Cats-Actors is a typed actor library built on top of Cats Effect. With the 2.1.0 release it now runs cross-platform — the same actor code works on JVM, Scala Native, and Scala.js.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's new
&lt;/h2&gt;

&lt;p&gt;The interesting bit under the hood is the cross-platform mailbox — &lt;code&gt;LinkedTransferQueue&lt;/code&gt; on JVM and &lt;code&gt;cats.effect.std.Queue&lt;/code&gt; on JS and Native, behind a shared interface so your actor code never needs to know which platform it's on.&lt;/p&gt;

&lt;h2&gt;
  
  
  Two samples to get you started
&lt;/h2&gt;

&lt;p&gt;The first is a ring benchmark — N actors relay a token for a configurable number of hops. Run it on JVM and Native and you can see the difference in throughput and startup time firsthand.&lt;/p&gt;

&lt;p&gt;The second is a browser demo — 8 actors throwing bananas at each other, compiled to Scala.js with Slinky React and running live in the browser. You can see it in action directly in the blog post.&lt;/p&gt;

&lt;h2&gt;
  
  
  Links
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Blog post with full walkthrough and live demo: &lt;a href="https://cloudmark.github.io/Cats-Actors-Native-And-JS/" rel="noopener noreferrer"&gt;https://cloudmark.github.io/Cats-Actors-Native-And-JS/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;GitHub: &lt;a href="https://github.com/cloudmark/cats-actors" rel="noopener noreferrer"&gt;https://github.com/cloudmark/cats-actors&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Thanks to &lt;a href="https://github.com/rlavolee" rel="noopener noreferrer"&gt;@rlavolee&lt;/a&gt; and &lt;a href="https://github.com/Voltir" rel="noopener noreferrer"&gt;@Voltir&lt;/a&gt; for making the cross-platform support happen!&lt;/p&gt;

</description>
      <category>scala</category>
      <category>functionalreactiveprogramming</category>
      <category>webdev</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
