ractor
made-with-liveview
ractor | made-with-liveview | |
---|---|---|
10 | 3 | |
1,252 | 97 | |
- | - | |
7.7 | 2.8 | |
12 days ago | 10 months ago | |
Rust | ||
MIT License | - |
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
made-with-liveview
-
A LiveView Is a Process
You can find some here: https://github.com/caspg/made-with-liveview
- caspg/made-with-liveview - Explore the real-world potential of Phoenix LiveView through a showcase of impressive web applications. Feel free to open PR if you know any app that should be added.
What are some alternatives?
zigler - zig nifs in elixir
pyview - A Python implementation of Phoenix LiveView
lunatic - Lunatic is an Erlang-inspired runtime for WebAssembly
nx - Multi-dimensional arrays (tensors) and numerical definitions for Elixir
neural - NIF based erlang shared term storage
bastion - Highly-available Distributed Fault-tolerant Runtime
golive - LiveView for Go
rustler_precompiled - Use precompiled NIFs from trusted sources in your Elixir code
postcard - A no_std + serde compatible message library for Rust
lunatic-rs - This library contains higher level Rust wrappers for low level Lunatic syscalls.