Comment by SXX
3 years ago
I'm not exactly C or Rust expert so better to check @dagmx comment for that, but I know some C++ and worked with networking enough to know some pitfalls.
Talking of C++ it can be really solid to work with your own data structures where you control code on both ends. Using templates with something like boost::serialization or protobuf for the first time is like magic. E.g you can serialize whole state of your super complex app and restore it on other node easily.
Unfortunately it's just not the case when you actually trying to work with someone else API / ABI that you have no contol over. Even worse when it's moving target and you need to maintain several different adapters for different client / server versions.
No comments yet
Contribute on Hacker News ↗