!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

424 Members
(Technical) development of Lix, the package manager, a Nix implementation. Please be mindful of ongoing technical conversations in this channel.141 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
10 Dec 2025
@kfears:matrix.orgKFears 🏳️‍⚧️ (they/them)
In reply to @piegames:flausch.social
no, parsing is super fast, mostly thanks to horrors, it's just that Nixpkgs is 3.6MLOC over 40k files and every single NixOS eval loads a good chunk of that, realistically multiple times. The main issue is that caching was never a thought in the architecture and adding it afterwards is really tricky
I don't know how many of those lines are going to be actually parsed (now I wish I could somehow learn that into), but assuming 20% utilization (that doesn't sound too unreasonable, considering that my desktop has 2k packages, but there's a lot of re-evals due to module system, splicing, package variations etc.), that doesn't sound too terrible? Like, other interpreters and compilers probably deal with 700k LOC codebases. How do they deal with that?
17:36:40
@piegames:flausch.socialpiegamesI'm dreaming of tackling it for 2.96 really17:36:58
@piegames:flausch.socialpiegamesI already have a half-working prototype from a year ago, horrors had one too, and we should soon have all the parts together for doing it17:37:37

Show newer messages


Back to Room ListRoom Version: 10