ipld / specs

Content-addressed, authenticated, immutable data structures
Other
592 stars 108 forks source link

dag-cbor: javascript number limitations #283

Closed rvagg closed 4 years ago

rvagg commented 4 years ago

Exposing the nakedness of JavaScript's Number type and its implications for cross-language data communication.

Is this too much information for an otherwise compact doc? It seems valuable information to know for anyone wanting to cross language boundaries, but maybe I'm overthinking it.

mikeal commented 4 years ago

Love it 😍

warpfork commented 4 years ago

Yay!

I also wrote some stuff in over in the other docs repo poking about this subject: https://github.com/ipld/docs/blob/master/details/numeric-size.md

Your prose here is a lot better and more precise though. I think mine over there will need updates to match.

rvagg commented 4 years ago

0cbb9c4