stateroom
lucet
stateroom | lucet | |
---|---|---|
4 | 5 | |
134 | 4,061 | |
1.5% | - | |
5.0 | 6.6 | |
1 day ago | about 2 years ago | |
Rust | Rust | |
MIT License | 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.
stateroom
- Hey Rustaceans! Got a question? Ask here (12/2023)!
-
Launch HN: Drifting in Space (YC W22) – A server process for every user
In the case of containers it gets tricky because of how it interacts with the scheduler (e.g. if a node is idle but has a bunch of paused containers that could be unpaused at any time, the scheduler has to decide how to proceed), but I love the concept. It's something I've thought a bit about in a world where the server can be compiled to WebAssembly, because it's imaginable to suspend it and serialize the memory state so that it can be sent off to storage somewhere and pulled out when the next request comes in. This was actually part of the motivation behind a library I wrote called Stateroom (https://github.com/drifting-in-space/stateroom), which creates a stateful WebSocket server as a WebAssembly module, but I haven't yet implemented the ability to freeze the state of the module between requests.
-
Use Phoenix Channels
> "just drop it in and it just works" for self hosted websocket systems
I was also been underwhelmed by options in this area, so I've been working on a Rust library called Jamsocket[1]. The idea is that all you need to do is implement a trait, overload the functions for the events you want to handle (new connection, message, etc.) and deploy it.
I still need to work on production aspects of it, but it's in a state where you can play with it for local development, so I figured I'd share it here in case any Rust developers want to tinker with it.
[1] https://github.com/jamsocket/jamsocket
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?
spawner - Session backend orchestrator for ambitious browser-based apps. [Moved to: https://github.com/drifting-in-space/plane]
lunatic - The Lunatic VM [Moved to: https://github.com/lunatic-solutions/lunatic]
falcon - Brushing and linking for big data
genact - 🌀 A nonsense activity generator
Sandstorm - Sandstorm is a self-hostable web productivity suite. It's implemented as a security-hardened web app package manager.
async-std - Async version of the Rust standard library
bitque - A simplified Jira clone built with seed.rs and actix
Celluloid - Actor-based concurrent object framework for Ruby
wasmer - 🚀 The leading Wasm Runtime supporting WASIX, WASI and Emscripten
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.
wasmtime - A fast and secure runtime for WebAssembly
specs - Specs - Parallel ECS