For the Lovelace release we have changed our wireprotocol from a JSON-based protocol to use Google’s Protocol Buffers (protobuf).
Protocol buffers are Google’s language-neutral, platform-neutral, extensible mechanism for serializing structured data — think XML, but smaller, faster, and simpler. You define how you want your data to be structured once, then you can use special generated source code to easily write and read your structured data to and from a variety of data streams and using a variety of languages.
Since the Bluzelle swarmDB wire protocol is based on protobuf, you will need to install the protobuf compiler to use the functionality below.
$ apt-get install protobuf-compile
$ brew install protobuf
(pay attention to the instructions and output… in case you have an older version of protoc or protobuf, you might need to run “brew link — overwrite protobuf”)
Language and Platform-agnostic Development
Possibly the most critical area of development for the Bluzelle ecosystem is the ability to build drivers and integrations directly with the Bluzelle swarm, where the result is potential access to the swarm from a new programming language or platform, or where the developer needs very low-level direct access to the swarm. This is where Bluzelle’s low-level interfaces shine, with exposure to a WebSockets API....
To keep reading, please go to the original article at:
The Blueprint by Bluzelle - Medium
This article was first published on: The Blueprint by Bluzelle - Medium All content is synced from the rightful owners. Copyright on text and images belong to the original source. --