DEV Community

Discussion on: WASM instead of C Dependencies?

Collapse
 
mainrs profile image
mainrs • Edited

Probably not resolving your C nightmare - although I find that almost non-existend when working with Rust and the nix (with flakes) -, github.com/google/wuffs is an interesting approach to handling untrusted user data :)

FYI, nix flakes are an approach to setting up a reproducable development environment for your project. That means that you can actually pin library versions down. They aren't then managed by Go but rather C libraries and Go are managed by nix. Nix would then use your go.mod file to get the list of dependencies it needs to download for your project!

Collapse
 
rkusa profile image
Markus Ast

Thanks for sharing. nix flakes sounds very interesting, I'll definitely give it a try 👍. Some might say use Docker instead, but Docker is way too slow on macOS.