News for hackers. Stuff that matters.
Re:Libnop: C++ Native Object Protocols by coreytabaka on Saturday October 06, 2018 @02:49AM (#18153908)
Since you mention it, check out the experimental RPC support:

https://github.com/google/libnop/blob/master/examples/interf... https://github.com/google/libnop/blob/master/include/nop/rpc...

I haven't documented it yet since it's not fully baked, but it's quite functional nonetheless. I have a working prototype of RPC over USB between a host PC and a Cortex-M micro controller. The ability to define constexpr dispatch tables is very convenient in a micro controller environment.

Re:Libnop: C++ Native Object Protocols by sytelus on Saturday October 06, 2018 @06:12AM (#18154391)
What transport do you use? http? Do you use any dependency for handling transport layer? I haven’t seen a good clean dependency less headed-only approach for this yet.
Re:Libnop: C++ Native Object Protocols by coreytabaka on Saturday October 06, 2018 @02:55PM (#18156630)
The library is transport agnostic. There is a Reader/Writer abstraction to adapt to any transport you like.

https://github.com/google/libnop/blob/master/docs/getting-st...