A new chapter for the Nix language, courtesy of WebAssembly

51 points by diktomat


See also the release announcement post.

wink

Add a YAML parser to Nix as a builtin function. This has to be written in C++, but it does allow you to reuse any existing YAML parser library for C++. [...] So updating the YAML parser dependency could cause differences in evaluation results across Nix versions

Write a Nix plugin. [..] This means that Nix flakes using it are no longer self-contained

Wasm is a low-level binary instruction format that can be compiled from many high-level languages, including Rust, C++, and Zig.

Please explain to me how "never updating your YAML parser dependency (in source form)" is meaningfully different than "never updating your WASM binary blob compiled three years ago"

Regarding the "dependency" part, of course it's easier to handle, but that's not the point here.

Or maybe the post is just mixing up their (orthogonal) problems and not making clear how they are deciding which poison to pick.

I'm not arguing against the feature, seems perfectly sensible - but the written reasoning seems wrong or brushing over the problem. (Also it's assuming the Rust wasm crate is perfect and never changes anything meaningful, not even with bugfixes)