News for hackers. Stuff that matters.

zbhojkiuy

Re:Libnop: C++ Native Object Protocols on Saturday October 06, 2018 @01:02AM (#18153625)
Thanks for the detailed answer. Looks like it is a good fit for an embedded platform.
Re:Libnop: C++ Native Object Protocols on Friday October 05, 2018 @09:31PM (#18152983)
I've used nanopb in the past. It's a great library. The only drawback is that it requires a type compilation step that generates the sources.
Re:Libnop: C++ Native Object Protocols on Friday October 05, 2018 @09:23PM (#18152957)
I'm considering using the library for an embedded project that communicates with a Linux host and I have some questions.

- Does serialization/de-serialization require dynamic memory allocation? From what I've seen it looks like it doesn't.

- How are you handling endianness? floating point numbers?

- How complete/tested is the library? Are you aware of projects using it?