ractor
neural
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ractor
-
Write Elixir NIFs in Rust
This project also appears interesting, but it seems that its clustering features have yet to be tested in large scale distributed systems.
https://github.com/slawlor/ractor/discussions/131
-
A LiveView Is a Process
If you look at my comment history, you'll see I'm well familiar with the BEAM.
I'm in full agreement with you, but I'm not sure you need full robust process supervision trees to mimic what the BEAM does in the context of LiveView on a single machine.
I do want to say, I 100000% times prefer Elixir, it's tooling, ecosystem, web frameworks, easy of scaling vertically and horizontally, etc over Go or any other lang that probably do something analogous to LiveView via what ever concurrency primitives that language/runtime champions; Go with it's Communicating sequential processes(CSP) and Rust with the Ractor lib (https://github.com/slawlor/ractor).
-
Preferred way to receive events?
Also consider an actor framework like ractor. You can have actors listening to sockets, who will then message subscribed actor or actors with the data.
- Show HN: Ractor – a Rust-based actor framework with clusters and supervisors
- GitHub - slawlor/ractor: Rust actor framework
-
Ractor: not just another actor framework
github
neural
-
Write Elixir NIFs in Rust
not the biggest expert, but from the top of my head I would say "static reference in your library"
you might be interested in looking at this
Neural: an ets-like interface to shared terms
https://github.com/soup-in-boots/neural/
What are some alternatives?
zigler - zig nifs in elixir
lunatic - Lunatic is an Erlang-inspired runtime for WebAssembly
bastion - Highly-available Distributed Fault-tolerant Runtime
rustler_precompiled - Use precompiled NIFs from trusted sources in your Elixir code
golive - LiveView for Go
nx - Multi-dimensional arrays (tensors) and numerical definitions for Elixir
postcard - A no_std + serde compatible message library for Rust
made-with-liveview - Explore the real-world potential of Phoenix LiveView through a showcase of impressive web applications.