3 ms·
Protobufs and similar projects like it (gRPC, Cap'n Proto) seem really interesting, but I haven't come across a time at work yet where it's made sense to the te
by jihadjihad 8y ago
Protobufs and similar projects like it (gRPC, Cap'n Proto) seem really interesting, but I haven't come across a time at work yet where it's made sense to the team to adopt it. Maybe that's just my own inexperience, but the serialization scheme is low on the list compared to optimizing DB queries, getting rid of bloat in the app, etc. I've been waiting for an excuse to adopt this stuff at work because it seems really cool!
- buckhx 8y agoDefining your schema upfront and have types generated in multiple languages is the real value add. The performance is a nice cherry on top.
- jihadjihad 8y agoI guess I'll need to do some research and propose to the team that we test it out at some point. Things like Swagger just seem...clunky in comparison to protobufs.
- kitd 8y agoMore specifically, being able to agree and communicate schemas to other collaborators is a big win when trying to avoid interfacing bugs. OTOH schemas seem less necessary if you are working on a completely self-contained app.