All we know that sending raw binary instead of JSON between client and server (exactly web browser and web server) pretty reduce the usage of bandwidth and increase the speed of transferring data, but as we see, all popular web based system(s) still uses JSON. Gmail, Google Plus, Facebook, Linkedin and…
Nowaday, we have Typed Array in JavaScript that makes parsing binary data really easy and fast.
Currently I’m going to develop a web-based financial system and I think using raw binary makes system so much faster than JSON.
I want to know WHY those popular web-based systems didn’t use raw binary instead of JSON for transferring data between client and server? Is there any technical reason that I don’t know?
Thanks in advance.
Typed Arrays are a recent thing and have not historically been supported by the many browsers out there. When you want your products used by as many people as possible you’re going to choose the most common denominator.
This is not to say that in future, these systems won’t move towards using such an approach, but not until it’s supported by the majority.