.cargo | ||
src | ||
static | ||
.envrc | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
flake.lock | ||
flake.nix | ||
readme.md | ||
rust-toolchain.toml |
Why
I think something like this is the fuuuuuture. A Rust-core, almost-erlang runtime for wasm has so many insane possibilities and possible promises that it's impossible to ignore.
However, this tiny counter example currently uses ~150MB of memory on my machine. With space optimizations, I still end up at ~122MB.
I think I value being small too much. Or perhaps the runtime does indeed provide a huge featureset.
- What does wasmtime/wasi include? (wastime is roughtly a 30MB binary -- 28MB stripped)
- What does lunatic include? (29MB, 22MB stripped)
- What all does submillisecond and sms_live include? (probably not much since the wasm bytecode is 1.2MB, but even that is pretty large IMO)
I also found that sending messages to a LiveView process was troublesome -- as in, I couldn't figure it out.
https://discord.com/channels/779332282531184680/1013844381683417138/1172673863839137883
At this point, I think I shall turn to "normal" async Rust