▲ | mattnewton 7 days ago | ||||||||||||||||
Exactly, I think of protobuffers like I think of Java or Go - at least they weren’t writing it in C++. Dragging your org away from using poorly specified json is often worth these papercuts IMO. | |||||||||||||||||
▲ | const_cast 7 days ago | parent | next [-] | ||||||||||||||||
Protobufs are better but not best. Still, by far, the easiest thing to use and the safest is actual APIs. Like, in your application. Interfaces and stuff. Obviously if your thing HAS to communicate over the network that's one thing, but a lot of applications don't. The distributed system micro service stuff is a choice. Guys, distributed systems are hard. The extremely low API visibility combined with fragile network calls and unsafe, poorly specified API versioning means your stuff is going to break, and a lot. Want a version controlled API? Just write in interface in C# or PHP or whatever. | |||||||||||||||||
| |||||||||||||||||
▲ | anonymousiam 6 days ago | parent | prev [-] | ||||||||||||||||
The original RPC code, from which Google derived their protobuf stuff was written in (pre-ANSI) C at Sun Microsystems. |