News for hackers. Stuff that matters.
Re:Dino 0.4.3 – A Modern XMPP (“Jabber”) Chat Client Using G... by moron4hire on Sunday July 30, 2023 @07:42AM (#36930164)
Well, JSON would have never been created in C++. The moral equivalent in statically compiled language was dumping struct memory raw out to files. And many programs did that, it just wasn't platform independent. JSON happened because more software was being written in JavaScript and, like most interpreted scripting language, doesn't care what you do, so long as what you do succeeds.
Re:Dino 0.4.3 – A Modern XMPP (“Jabber”) Chat Client Using G... by rewmie on Sunday July 30, 2023 @10:20AM (#36931390)
> Well, JSON would have never been created in C++.

Why? Marshalling is a common requirement that's not a monopoly of a single language, and there is no technical limitation on C++ that stops it from parsing any particular data interchange language.

> The moral equivalent in statically compiled language was dumping struct memory raw out to files.

If you've chosen to go the miopic path and focus on JSON's eval trick, you'd be missing the whole point of JSON.

If you're focusing on marshalling languages, you're somehow pretending that things like Apache Avro, Protocol Buffers, Apache Thrift, etc don't exist.

> And many programs did that, it just wasn't platform independent.

I don't think this is true at all. See examples above.