|Re: [paho-dev] Python MQTT native vs. as binding|
|I would be curious to know if people have experience with SWIG? http://www.swig.org/|
It seems to provide a nice way to generate palatable bindings to native libraries (i.e it provides flexibility on how the language-specific APIs should look like, and helps maintain several language bindings easily if the underlying native libraryâs API evolves).
You can look at the *.i files in there - https://github.com/intel-iot-devkit/upm/tree/master/src/bma220 - as an example of how Intel UPM uses SWIG for Java, JS, and Python out of C++ code
One thing that Iâm not sure of, for the very little Iâve looked at Intelâs stuff, is the footprint/efficiency of the generated SWIG code.
Description: Message signed with OpenPGP