Re:Show HN: Duper – The Format That's Super
by jitl on Sunday November 02, 2025 @11:00AM
(#45791249)
It may be worth it to pipe Duper into your WASM/native code, and get back plain JSON out, which you then hand off to the runtime's `JSON.parse` with a post-processing step to support any special features needed. Something like this:
Here enhancements is something very easy / low cost to construct over the FFI bridge, like
Not sure if this would end up faster, it may allocate more, but it's probably better than unoptimized object/array construction from WASM/native -> runtime. You could also try with a `reviver` argument to JSON.parse but i always find the lack of full path to key somewhat clunky.
[ Parent
| on HN ]
There are no comments on this comment yet.