libfringe
lucet
libfringe | lucet | |
---|---|---|
2 | 5 | |
512 | 4,061 | |
- | - | |
0.0 | 6.6 | |
over 3 years ago | almost 3 years ago | |
Rust | Rust | |
Apache License 2.0 | Apache License 2.0 |
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.
libfringe
-
Virtual Threads in Rust?
There’s a bunch of library-based implementations of coroutines for rust. I recall https://github.com/edef1c/libfringe being the most interesting one, but it is quite dated. I don’t think there’s a lot of community interest in stackfull coroutines at this point.
-
Writing Rust the Elixir way
As we saw earlier, scheduling threads is a hard task for the operating system. To replace one thread that's being executed with another one, a lot of work needs to be done (including saving all the registers and some thread state). However, switching between Lunatic Processes does only the minimal amount of work possible. With an idea pioneered by the libfringe library and using some asm! macro magic, Lunatic lets the Rust compiler figure out the minimal number of registers to be preserved during context switches. This makes scheduling Lunatic processes zero-cost. On my machine usually 1ns, equivalent to a function call.
lucet
-
Unlocking the Power of WebAssembly
WebAssembly is extremely portable. WebAssembly runs on: all major web browsers, V8 runtimes like Node.js, and independent Wasm runtimes like Wasmtime, Lucet, and Wasmer.
-
A Look at Performance in Wasmtime and Cranelift
The bytecode alliance had the lucet project which would be an OS executing WASM application, enabling very strict sandboxing.
-
Your python 4 dream list.
References for anyone following: wasmtime Lucet
-
There are a *lot* of actor framework projects on Cargo.
I guess lucet could be an under-layer for this but it's not really the same, different levels of the stack. Fascinating.
-
Writing Rust the Elixir way
I also want to use this opportunity to say a big thank you to the teams working on Rust, Wasmer, Wasmtime, Lucet and waSCC. It would be impossible to build Lunatic without all the hard work put into this projects.
What are some alternatives?
crossbeam - Tools for concurrent programming in Rust
genact - 🌀 A nonsense activity generator
rayon - Rayon: A data parallelism library for Rust
Kubewarden - Kubewarden is a policy engine for Kubernetes. It helps with keeping your Kubernetes clusters secure and compliant. Kubewarden policies can be written using regular programming languages or Domain Specific Languages (DSL) sugh as Rego. Policies are compiled into WebAssembly modules that are then distributed using traditional container registries.
coroutine-rs - Coroutine Library in Rust
uppercut - Small and simple actor model implementation.
RxRust - The Reactive Extensions for the Rust Programming Language
specs - Specs - Parallel ECS
Bus Writer - Single-reader, multi-writer & single-reader, multi-verifier; broadcasts reads to multiple writeable destinations in parallel
webassembly-tour - ⚙️ Take you through a tour of WebAssembly (WASM targets on WASI) with wasmCloud, Krustlet, WAGI, etc. 🌟 Give it a star if you like it.
lunatic - The Lunatic VM [Moved to: https://github.com/lunatic-solutions/lunatic]
Celluloid - Actor-based concurrent object framework for Ruby