Live data from Hacker News

Tvix – A New Implementation of Nix

tvix.dev

11–20 of 107 posts

Re: Tvix – A New Implementation of Nix

#12
post #5

Maybe worth mentioning rust and performance more prominently as the motivations. Is Nix eating the world? We have seen lots of unbelievable projects using it on HN recently. It feels like anyone serious about complex systems and building software are embracing it. I use it extensively also via nixpkgs, though somehow I have yet to make the leap to full NixOS. One consideration for anyone who hasn’t jumped in, is that…

Can you provide some links to some projects? You’ve piqued my interest

https://github.com/majbacka-labs/nixos.fi

https://news.ycombinator.com/item?id=40010991

https://news.ycombinator.com/item?id=39720007

https://news.ycombinator.com/item?id=39692801

https://news.ycombinator.com/item?id=39658684

https://news.ycombinator.com/item?id=39004785

I didn’t find these via HN search, I found them in my bookmarking account. I have a slightly strange way of bookmarking - I send emails to a dedicated email account, so these I found there looking for Nix in a search.

Re: Tvix – A New Implementation of Nix

#13

Does tvix support targeting windows? And I do not mean WSL. iirc, the nix attempted a windows port but there were some hardcoded assumptions made about unix in the implementation that made it intractable, for example the location of the store. Do these issues also hold for tvix?

(Nix itself is slowly chugging along with Windows via MinGW - https://discourse.nixos.org/t/nix-on-windows/1113/108 and https://github.com/NixOS/nix/issues/1320 , for example.)

Re: Tvix – A New Implementation of Nix

#15
By the way, is there some way to specify dependencies in C? Like requirements.txt in Python, where you put libraries names and versions and the user has to run a single command to install them (and without requiring root privileges)? Is this nix/tvix/guix an equivalent of pip?

Re: Tvix – A New Implementation of Nix

#16
post #11

For somebody who hasn't used Nix yet, but heard good things about it, why use Tvix instead of Nix? The page didn't seem to mention the reason(s) behind the project.

It looks like they’ve factored out the main features of Nix into modules to allow for more flexibility regarding the implementation details of each underlying service.

Re: Tvix – A New Implementation of Nix

#17

Does tvix support targeting windows? And I do not mean WSL. iirc, the nix attempted a windows port but there were some hardcoded assumptions made about unix in the implementation that made it intractable, for example the location of the store. Do these issues also hold for tvix?

I recently learnt about this: https://nlnet.nl/project/libnix/

A project funded by the EU to bring Nix to Windows.

(edit: typo and clarity)

Re: Tvix – A New Implementation of Nix

#18
post #8

It's worth noting that tvix explicitly[1] does not support flakes. [1] https://lobste.rs/s/ypwgwp/tvix_we_are_rewriting_nix#c_zvtze...

I've had CL11242 open in my browser for a few weeks. The first thing I'm doing when it merges is evaluating my flake(s) with flakes-compat.

Re: Tvix – A New Implementation of Nix

#19
post #5

Maybe worth mentioning rust and performance more prominently as the motivations. Is Nix eating the world? We have seen lots of unbelievable projects using it on HN recently. It feels like anyone serious about complex systems and building software are embracing it. I use it extensively also via nixpkgs, though somehow I have yet to make the leap to full NixOS. One consideration for anyone who hasn’t jumped in, is that…

Can you provide some links to some projects? You’ve piqued my interest

I would not call these projects unbelievable, but they are neat.

Opt-in state:

https://github.com/nix-community/impermanence

https://grahamc.com/blog/erase-your-darlings

Ease of setting up a real-time audio on Linux:

https://github.com/musnix/musnix

Generating virtual machines/installators from a configuration:

https://github.com/astro/microvm.nix

https://github.com/nix-community/nixos-generators

It's interesting to scroll through nix-darwin options, I wasn't even aware of some useful macOS options before:

https://daiderd.com/nix-darwin/manual/index.html

A neat collection of music information retrieval packages in one place (and the ease of creating your own package registry):

https://github.com/carlthome/mirpkgs

Re: Tvix – A New Implementation of Nix

#20
post #2

PS: TVL is international, but a lot of the development will take place in our office in Moscow. Say hi if you're around and interested! That's going to be a no from me.

Imagine if we had said the same about Nginx. Let's evaluate things on technical merits, specially if they are using open source licenses we understand. In this case GPL v3.
Post reply on HN