!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

944 Members
For people hacking on the Nix package manager itself197 Servers

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


SenderMessageTime
29 Jul 2025
@Ericson2314:matrix.orgJohn EricsonOK!20:40:17
@Ericson2314:matrix.orgJohn Ericson Sergei Zimmerman (xokdvium): I wonder if I should use mutable since it is morally pure 20:41:03
@Ericson2314:matrix.orgJohn Ericson not good for concurrency const 20:41:13
@joerg:thalheim.ioMic92
In reply to @Ericson2314:matrix.org
Mic92: any idea where we would get a nice meaty real-world structured attrs derivation?
Anything in stdenv has to be parsed/generated multiple times. Bootstrapping in general takes most of the time in any eval flamegraph I have seen so far.
20:41:19
@Ericson2314:matrix.orgJohn Ericson but is good for "are we changing it?" const 20:41:21
@joerg:thalheim.ioMic92So this Code makes parsing 4x slower? https://github.com/NixOS/nix/commit/7f0ff4957e634de8aa2edb3cac5e79375c60514820:46:04
@joerg:thalheim.ioMic92Surprising because the throughput of our current parser is slower than what I expect a JSON parser to be able to pull off.20:47:48
@joerg:thalheim.ioMic92* Surprising because the throughput of our current derivation parser is slower than what I expect a JSON parser to be able to pull off.20:48:04
@Ericson2314:matrix.orgJohn Ericson Mic92: oh wait tbh I was doing unoptimized builds 20:51:13
@Ericson2314:matrix.orgJohn Ericsonthat doesn't mean much20:51:19
@Ericson2314:matrix.orgJohn EricsonI opened up https://github.com/NixOS/nix/issues/13573 regardless20:57:19

Show newer messages


Back to Room ListRoom Version: 6