You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mojo-dev
As a non Googler looking at Mojo I'm trying to understand the differences between it and Protocol Buffers.
Would some be interested in write a short comparison of the two?
Adam Barth
unread,
Jun 21, 2016, 4:10:52 PM6/21/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Michael Francis, mojo-dev
On Tue, Jun 21, 2016 at 12:58 PM Michael Francis <mfran...@gmail.com> wrote:
As a non Googler looking at Mojo I'm trying to understand the differences between it and Protocol Buffers.
Would some be interested in write a short comparison of the two?
The short answer is that protobuffers are designed to transport data between machines whereas Mojo is designed to transport data within one machine. For example, that's why Mojo messages can contain handles as well as data. These handles can represent additional message pipes or other objects, such as shared memory. These objects can't be serialized to a sequence of bytes (otherwise they'd be part of the data rather than handles) and cannot be transported between machines (typically because they reference some underlying resource in the kernel).