81 points by creationix about 9 hours ago | 31 comments | View on ycombinator
btown about 6 hours ago |
dtech about 4 hours ago |
Levitating about 7 hours ago |
jbverschoor 28 minutes ago |
Docs are super unclear.
barishnamazov about 7 hours ago |
50lo about 1 hour ago |
Even a technically superior format struggles without that ecosystem.
garrettjoecox about 7 hours ago |
This did catch my eye, however: https://github.com/creationix/rx?tab=readme-ov-file#proxy-be...
While this is a neat feature, this means it is not in fact a drop in replacement for JSON.parse, as you will be breaking any code that relies on the that result being a mutable object.
_flux about 2 hours ago |
Is it versioned? Or does it need to be..
WatchDog about 4 hours ago |
The viewer is cool, took me a while to find the link to it though, maybe add a link in the readme next to the screenshot.
transfire about 2 hours ago |
creationix about 9 hours ago |
benatkin about 6 hours ago |
Does this duplicate the name of keys? Say if you have a thousand plain objects in an array, each with a "version" key, would the string "version" be duplicated a thousand times?
Another project a lot of people aren't aware of even though they've benefitted from it indirectly is the binary format for OpenStreetMap. It allows reading the data without loading a lot of it into memory, and is a lot faster than using sqlite would be.
Edit: the rust library I remember may have been https://rkyv.org/
Spivak about 7 hours ago |
XML has EXI (Efficient XML Interchange) for precisely the reason of getting wins over the wire but keeping the nice human readable format at the ends.
Shahbazay0719 about 5 hours ago |
StephenZ15ga67 35 minutes ago |
My one eyebrow raise is - is there no binary format specification? https://github.com/creationix/rx/blob/main/rx.ts#L1109 is pretty well commented, but you can't call it a JSON alternative without having some kind of equivalent to https://www.json.org/ in all its flowchart glory!