Live data from Hacker News

NixCon Live

2020.nixcon.org

1–10 of 50 posts

Re: NixCon Live

#3
I hope Nix takes off for one reason. I don't want people to do same builds again and again especially for Rust it's painful.

I want to install binaries with cargo instead of doing the same build again and again. Similar to https://cachix.org

I don't honestly know why that isn't the case yet, perhaps storing binaries takes too much storage that Mozilla doesn't have money for. Or perhaps it can't do guarantees like the ones Nix gives to allow binaries being shared of builds.

This is the main reason that makes interfacing with Rust as a plain user a pain.

Re: NixCon Live

#8
post #3

I hope Nix takes off for one reason. I don't want people to do same builds again and again especially for Rust it's painful. I want to install binaries with cargo instead of doing the same build again and again. Similar to https://cachix.org I don't honestly know why that isn't the case yet, perhaps storing binaries takes too much storage that Mozilla doesn't have money for. Or perhaps it can't do guarantees like the…

The situation for installing haskell programs with nix is great, practically everything from hackage is available in the binary cache.

Re: NixCon Live

#9
post #3

I hope Nix takes off for one reason. I don't want people to do same builds again and again especially for Rust it's painful. I want to install binaries with cargo instead of doing the same build again and again. Similar to https://cachix.org I don't honestly know why that isn't the case yet, perhaps storing binaries takes too much storage that Mozilla doesn't have money for. Or perhaps it can't do guarantees like the…

The situation for installing haskell programs with nix is great, practically everything from hackage is available in the binary cache.

Is this harder to achieve for the Rust ecosystem (due to some properties of Haskell perhaps)? Or just no one put in the effort in doing it?

Is it expensive to maintain all the binaries for all of Hackage?

Re: NixCon Live

#10
post #9

Earlier quoted context omitted.

The situation for installing haskell programs with nix is great, practically everything from hackage is available in the binary cache.

Is this harder to achieve for the Rust ecosystem (due to some properties of Haskell perhaps)? Or just no one put in the effort in doing it? Is it expensive to maintain all the binaries for all of Hackage?

It's not inherent to the language. It's inherent in the build tooling. Back in the cabal days haskell had the same problems. Nix is a more hermetic build and packaging tool which is why it's better at it.
Post reply on HN