News for hackers. Stuff that matters.
Re:Jailbreaking RabbitOS: Uncovering secret logs, and GPL vi... by whywhywhywhy on Thursday July 18, 2024 @10:54AM (#40996140)
> msgpack or bson. Want stuff more efficiently packed based on the message structure? Use protobuf

Everything you listed is an external dependency in Javascript/Python, base64 is baked in, everyone gets it, everyone's done it.

If you want better interchange you should be pushing it to be included along b64 at the language level not trying to get every dev to include extra dependencies at either side of the exchange.

Re:Jailbreaking RabbitOS: Uncovering secret logs, and GPL vi... by erinaceousjones on Saturday July 20, 2024 @04:20AM (#41014978)
> If you want better interchange you should be pushing it to be included along b64 at the language level not trying to get every dev to include extra dependencies at either side of the exchange.

Oh, absolutely. JavaScript Object Notation became a defacto standard purely because js could parse it natively. Then `json` was adopted as part of the standard python libraries, within PHP, etc... Once upon a time, even stuff like base64 encoding/decoding required someone to write the code for it. Agreed, it requires pushing to get useful stuff into "batteries included" stdlibs.

We're using JavaScript Object Notation because.... Isn't the name quite telling? :-)