3 ms·
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 progr
by moron4hire 3y ago
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.
- rewmie 3y ago> 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.