3 ms·
This still doesn't seem superior to library calls from a complexity point of view. On one hand you have a library to secure. On the other hand you have the sa
by naikrovek 6y ago
This still doesn't seem superior to library calls from a complexity point of view.
On one hand you have a library to secure. On the other hand you have the same library (or at least the same logic and methods) now with a JSON-RPC server wrapping it, and both need to be secured.
I would feel a lot better if it weren't JSON, I guess. Binary protocols are just SO MUCH FASTER and require so much less memory. Parsing JSON is fast, sure. Reading and writing binary is probably 3 orders of magnitude faster, and it's easier to read and write binary, in my experience. (I also don't understand why protobuf exists.)
- gravypod 6y agoI'd also be much happier if LSPs were in Thrift or gRPC (something more generic with existing client/server generators). Would make documenting, updating, and understanding the protocol much easier.