TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Tvix – A New Implementation of Nix

88 pointsby vngzsabout 1 year ago

15 comments

alchemist1e9about 1 year ago
Maybe worth mentioning rust and performance more prominently as the motivations.<p>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.<p>I use it extensively also via nixpkgs, though somehow I have yet to make the leap to full NixOS.<p>One consideration for anyone who hasn’t jumped in, is that I have nixpkgs on Linux, MacOS, and Win11 hosts. I’ve found that incredibly useful.
评论 #40058112 未加载
评论 #40058062 未加载
Rucadiabout 1 year ago
One useful webpage this project provides is this godbolt for nix:<p><a href="https:&#x2F;&#x2F;bolt.tvix.dev&#x2F;" rel="nofollow">https:&#x2F;&#x2F;bolt.tvix.dev&#x2F;</a><p>really useful.
评论 #40061850 未加载
mixedCaseabout 1 year ago
Does not care about flakes and does not care about adding types, the most important omission in Nix. A minor performance bump seems unlikely to make me want to boil the ocean.
评论 #40081907 未加载
Izmakiabout 1 year ago
For somebody who hasn&#x27;t used Nix yet, but heard good things about it, why use Tvix instead of Nix? The page didn&#x27;t seem to mention the reason(s) behind the project.
评论 #40058750 未加载
评论 #40058233 未加载
评论 #40058415 未加载
smasher164about 1 year ago
Does tvix support targeting windows? And I do <i>not</i> 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?
评论 #40058224 未加载
评论 #40058433 未加载
评论 #40058248 未加载
rekorosabout 1 year ago
Looks like the dev team mosly speaks Russian? (Russian is native for me, but I&#x27;ve lived most of my life stateside.)<p>In Russian, &quot;tvix&quot; is pronounced, roughly, &quot;tweaks&quot; (but with a German - hard &quot;v&quot; - W sound), which to a Russian probably sounds super clever, given what Tvix is (Nix, tweaked).<p>In English though, how is it pronounced? I&#x27;d like to propose &quot;t-f-icks&quot;, because it at least sounds like a candy we think the Lebowski nihilists might well have been ordering at a diner.
评论 #40061877 未加载
评论 #40058856 未加载
评论 #40059246 未加载
评论 #40058727 未加载
orbital-decayabout 1 year ago
So, how ready is this for general use? Is there anything still missing in the implementation?
评论 #40058417 未加载
评论 #40058286 未加载
codedokodeabout 1 year ago
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&#x2F;tvix&#x2F;guix an equivalent of pip?
评论 #40058304 未加载
评论 #40061199 未加载
评论 #40059317 未加载
评论 #40059462 未加载
评论 #40058324 未加载
korginatorabout 1 year ago
TVIX was a media player made by Dvico. I used to have one a few years ago. You may want to check on trademark issues around the name.<p><a href="https:&#x2F;&#x2F;a.co&#x2F;d&#x2F;hOzOcvu" rel="nofollow">https:&#x2F;&#x2F;a.co&#x2F;d&#x2F;hOzOcvu</a>
jancsikaabout 1 year ago
Do you put the hash at the end of the dirname in the store?<p>IIRC, Nix names things like &quot;$unreadable_hash$pkg_name&quot; which makes tab completion impossible in the case someone wants&#x2F;needs to go spelunking in that directory.
评论 #40059563 未加载
评论 #40058665 未加载
评论 #40058597 未加载
angiospermabout 1 year ago
Is the language statically-typed? If not, why not?
评论 #40059164 未加载
mise_en_placeabout 1 year ago
There&#x27;s no need for more fragmentation in this ecosystem. Already package managers are heavily fragmented in the Linux world. This is making a bad problem worse.
评论 #40059495 未加载
评论 #40058448 未加载
评论 #40058331 未加载
flurieabout 1 year ago
It&#x27;s worth noting that tvix explicitly[1] does not support flakes.<p>[1] <a href="https:&#x2F;&#x2F;lobste.rs&#x2F;s&#x2F;ypwgwp&#x2F;tvix_we_are_rewriting_nix#c_zvtzeh" rel="nofollow">https:&#x2F;&#x2F;lobste.rs&#x2F;s&#x2F;ypwgwp&#x2F;tvix_we_are_rewriting_nix#c_zvtze...</a>
评论 #40059132 未加载
评论 #40058162 未加载
评论 #40058273 未加载
NewJazzabout 1 year ago
<i>PS: TVL is international, but a lot of the development will take place in our office in Moscow. Say hi if you&#x27;re around and interested!</i><p>That&#x27;s going to be a no from me.
评论 #40058489 未加载
评论 #40058282 未加载
评论 #40058293 未加载
1atticeabout 1 year ago
Said it downthread, but saying it again because it bears repeating:<p>This is a product whose major contributors live in a state prone to <i>very persuasive forms of coercion</i>. Worse, this is a _build system_. Moreover, it&#x27;s one of the most reticulate build systems on the planet -- I doubt more than a few hundred senior engineers would be able to spot a Jia-Tan-style compromise in the Nix machinery, let alone a remix&#x2F;workalike of it.<p>There is currently a war going on. Not a &#x27;war on&#x27; drugs, or cancer, or a &#x27;culture war&#x27;, or any of the other phenomena that Americans routinely nowadays call a &#x27;war&#x27;, but an actually-actual conflagration involving grads, kinzhals, and, easily, the futures of a couple of well-intentioned engineers in Moscow.<p>I expect the creators of this product are sincere, serious, smart, kind, generous, funny, honorable people. Yet it is simply too plausible that the FSB could come by and lean on them (or their uncle, or mother, or sister, or...) and have a little something extra put at the very root of the tree, from where it could be folded into any (or every) part of the system.<p>Open source across international borders is a peacetime phenomenon, as we are all about to discover, methinks. I hope I&#x27;m wrong.
评论 #40058967 未加载
评论 #40059234 未加载
评论 #40060948 未加载