A quick comparison of the most ubiquitous application in the universe between two popular IOT protocols. While I'm obviously biassed, the two code examples are devoid of any marketing/sales fluff and speak for themselves : )
2. OMG DDS Hello World
No IP address / port numbers. DDS
offers automatic discovery
Use (generated)
native types
Type safe API
4 LOC
setup entities: 3
write data: 1
3. Application-managed IP-
addresses & port numbers
No type awareness
Strong coupling with remote
application.
Client-server architecture
Requires manual data
serialization
ZeroMQ Hello World 6 LOC
setup entities: 3
write data: 3
from: http://zguide.zeromq.org/cpp:hwclient