Comment by mbuhot

8 hours ago

Wow I never expected to stumble across a library I created while scrolling hacker news! :)

One interesting aspect of this approach is that if you want Gleam’s type safety guarantees, it requires explicitly decoding dynamic terms into Gleam data structures.

The latest version of Glyn amortises the cost of the decoding by performing it once per cluster node, then using the local typed messaging system to deliver the message to local subscribers.