!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

913 Members
For people hacking on the Nix package manager itself192 Servers

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


SenderMessageTime
30 Jul 2025
@Ericson2314:matrix.orgJohn Ericsonoh the RFC exists, but nlohmann doesn't yet implement it 14:59:16
@emilazy:matrix.orgemily(from the last time this came up, including my strong warning against canonicalized JSON formats and suggestions for alternatives)15:00:26
@emilazy:matrix.orgemilythe good thing about JSON canonicalization schemes is that there are so many to pick from!15:00:54
@Ericson2314:matrix.orgJohn Ericson emily: how about CBOR? 15:09:51
@Ericson2314:matrix.orgJohn Ericson Robert Hensing (roberth) was once concerned that making it binary would be a humans debugging drawback 15:10:24
@emilazy:matrix.orgemilymentioned here (there's also three versions of that spec unfortunately)15:10:39
@Ericson2314:matrix.orgJohn Ericsonto be clear, we need a parser that validates the canonical format15:11:19
@Ericson2314:matrix.orgJohn Ericsonit is not good enough to make just the serializer do the thing15:11:31
@emilazy:matrix.orgemilyIMO textual formats are good but you need to keep them separate from the non-malleable canonical forms since the two are pretty in tension. Preserves does this. (though again I doubt Preserves is appealing for direct adoption given lack of ecosystem, it's just the measuring stick for these things in my view)15:11:38

Show newer messages


Back to Room ListRoom Version: 6