If you’re not following the news around wasm / wasi, I want to raise awareness about this 2-parts post from last month about wasm being used as a universal binary format:
Part I: Native executables
Part II: WAPM (wasm package manager)
I’m wondering if Nix could help with the package manager part?
It might also be interesting to consider seriously having wasm/wasi(?) as a first class citizen (tier1?) with Nix, where having a successful build to wasm using Nix, append the target architecture and get a binary for that arch (crazy thoughts?)
Coincidentally, this blog post side-steps to explain how containers (the industry standard) are a historically motivated accidental complexity and how wasm can move in (as the new industry standard) to remediate that situation: