ractor
rustler_precompiled
ractor | rustler_precompiled | |
---|---|---|
10 | 3 | |
1,252 | 169 | |
- | - | |
7.7 | 5.8 | |
11 days ago | 2 months ago | |
Rust | Elixir | |
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
rustler_precompiled
-
Write Elixir NIFs in Rust
It's not a pain because of
https://github.com/philss/rustler_precompiled
The users of your library doesn't have to install anything. The library will seem like any Elixir library when they use it.
-
PasswordRs 0.1.0 released (Rust NIF for password hashing)
I created a elixir (wrapper) library to generate password hashes. Other Elixir libraries use a C NIF to generate password hashes. This libary uses a Rust NIF (using Rustler) and the Rust libraries the generate the different hashes. Additionally this library uses RustlerPrecompiled so you don't need to have a Rust compiler installed to use this library. It supports argon2, scrypt, brypt and pbkdf2.
-
Data wrangling in Elixir with Explorer, the power of Rust, the elegance of R
We use the excellent Rustler Precompiled [1] library now so prebuilt binaries ship with the Elixir package. No Rust toolchain needed. :)
[1] https://github.com/philss/rustler_precompiled
What are some alternatives?
zigler - zig nifs in elixir
bumblebee - Pre-trained Neural Network models in Axon (+ 🤗 Models integration)
lunatic - Lunatic is an Erlang-inspired runtime for WebAssembly
scholar - Traditional machine learning on top of Nx
neural - NIF based erlang shared term storage
nx - Multi-dimensional arrays (tensors) and numerical definitions for Elixir
bastion - Highly-available Distributed Fault-tolerant Runtime
axon - Nx-powered Neural Networks
golive - LiveView for Go
password-hashes - Password hashing functions / KDFs