Re:RX – a new random-access JSON alternative
by SV_BubbleTime on Thursday March 19, 2026 @10:42AM
(#47440369)
'fdiscovered,aextreme,7danger,6+1A+16;6level_range,b:QThe Heap ,d'th
Oof.
Re:RX – a new random-access JSON alternative
by dontdoxxme on Thursday March 19, 2026 @08:34PM
(#47448617)
Very similar to bittorrent’s bencode. That has the benefit that it has a canonical encoding which this doesn’t (because of the different compression options). I wouldn’t be put off by how it looks as text.
Re:RX – a new random-access JSON alternative
by creationix on Thursday March 19, 2026 @10:08PM
(#47449545)
Very true. I had forgotten about bencode, I should read up on that again.
It makes sense they need a canonical form because they want same values to have same content hashes.
I did add some small examples to the repo.
https://github.com/creationix/rx/blob/main/samples/quest-log...
The older, slightly outdated, design spec is in the older rex repo (this format was spun out of the rex project when I realized it's actually a good standalone format)
https://github.com/creationix/rex/blob/main/rexc-bytecode.md