News for hackers. Stuff that matters.
Re:Base64 encoding and decoding at almost the speed of a mem... by tln on Wednesday November 06, 2019 @10:47AM (#21463651)
On the contrary, adding binary would have been terrible. JSON is great because it is simple!

Have you tried BSON or Protobufs to solve your annoyances? How did it go?

Re:Base64 encoding and decoding at almost the speed of a mem... by SlowRobotAhead on Wednesday November 06, 2019 @11:45AM (#21464262)
Protobuffs require sharing of a schema, then code generation for each language. Not ideal imo unless you really need the speed and the protos can be shared ahead of time.

Outside of Mongo, I haven’t seen BSON used anywhere.

CBOR however, is up and coming. Starting to look like it may be a first class citizen in AWS someday. On the IoT side they are already preferring it over JSON for Device Defender.