3 ms·
I don't understand why so many protocols that expect to handle large amounts of data don't default to a binary schema. JSON is fine on the edges, but the wire
by treyd 2y ago
I don't understand why so many protocols that expect to handle large amounts of data don't default to a binary schema. JSON is fine on the edges, but the wire format between nodes is not the edge.
- nojvek 2y agoI assume it’s mostly because it’s way easier to debug json over websockets and http with browser devtools instead of custom protocols. Custom protocol would be binary. They could make a custom extension but it wouldn’t be that easy. I worked on browser devtools for IE and edge. Even chrome/vscode use jsonrpc over websockets for ease of development.