3 ms·
Use protocol buffers! As easy to use as JSON in dynamic languages, gives you strongly-typed accessors in static languages.
by haberman 15y ago
Use protocol buffers! As easy to use as JSON in dynamic languages, gives you strongly-typed accessors in static languages.
- carsongross 15y agoYeah... no. I'm not a big code gen guy. But the google people seem to love them, so I'm probably in the minority.
- haberman 15y ago> Yeah... no. I'm not a big code gen guy. Me either! Which is why I'm working on a high-performance Protocol Buffer library that does not do code generation: https://github.com/haberman/upb/wiki https://github.com/haberman/upb/wiki
- gaustin 15y agoExcellent readme for that project. It details several issues of which I wasn't aware. Thanks for that. (edit: It wasn't the readme, it was the wiki page. Still, excellent documentation.)