| 13 Sep 2025 |
puck | the nix language without e.g. derivation is ... kinda hard to use | 20:55:05 |
puck | i once experimented by taking the nix source code and taking out everything that isn't the expression interpreter; very little was left. just a handful of primops; i didn't even have import because it depended on the FS | 20:55:40 |
puck | comparing with e.g. https://nix-re.pl/ which translates everything to a primop call (a + b -> __add a b; a.b.c or d -> __selectOr a [ "b" "c" ] d) | 20:56:27 |
puck | all this to say i don't think there's much of a subset of Nix that would let you reasonably test performance; the only real-world performance test i can think of is "how well can you evaluate nixpkgs"; which requires .. well, everything | 21:00:59 |
magic_rb | right, okay, point taken, ig ill have to implement enough to eval nixpkgs to actually get any data | 21:10:14 |
magic_rb | ... | 21:10:15 |
magic_rb | well, im not even at a functional VM so uh, thats ways off, currently trying to wrap my head around the STG still | 21:10:36 |