Software Alternatives & Reviews

Protobuf VS YAML

Compare Protobuf VS YAML and see what are their differences

Protobuf logo Protobuf

Protocol buffers are a language-neutral, platform-neutral extensible mechanism for serializing structured data.

YAML logo YAML

YAML 1.2 --- YAML: YAML Ain't Markup Language
  • Protobuf Landing page
    Landing page //
    2023-08-29
  • YAML Landing page
    Landing page //
    2021-10-22

Protobuf videos

StreamBerry, part 2 : introduction to Google ProtoBuf

YAML videos

YAML is for Computers. ksonnet is for Humans - Bryan Liles, Heptio (Any Skill Level)

More videos:

  • Review - YAML Release Pipelines in Azure DevOps - PRE06
  • Tutorial - Azure DevOps - How to Create a YAML Pipeline in DevOps (YAML Pipelines)

Category Popularity

0-100% (relative to Protobuf and YAML)
Configuration Management
47 47%
53% 53
Mobile Apps
49 49%
51% 51
Application And Data
100 100%
0% 0
Productivity
0 0%
100% 100

User comments

Share your experience with using Protobuf and YAML. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

Based on our record, Protobuf should be more popular than YAML. It has been mentiond 82 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

Protobuf mentions (82)

  • Developing games on and for Mac and Linux
    Protocol Buffers: https://developers.google.com/protocol-buffers. - Source: dev.to / about 1 year ago
  • Adding Codable conformance to Union with Metaprogramming
    ProtocolBuffers’ OneOf message addresses the case of having a message with many fields where at most one field will be set at the same time. - Source: dev.to / over 1 year ago
  • Logcat is awful. What would you improve?
    That's definitely the bigger thing. I think something like Protocol Buffers (Protobuf) is what you're looking for there. Output the data and consume it by something that can handle the analysis. Source: about 1 year ago
  • Bitcoin is the "narrow waist" of internet-based value
    These protocols prevent an O(N x M) explosion of code that have to solve for many cases. For example, since JSON is an almost ubiquitous format for wire transfer (although other things do exist like protobufs), if I had N data formats that I want to serialize, I only need to write N serializers/deserializers (SerDes). If there was no such narrow waist and there were M alternatives to JSON in wide usage, I would... Source: about 1 year ago
  • Understanding gRPC Concepts, Use Cases & Best Practices
    gRPC uses protocol buffers (it is an open source message format) as the default method of communication between client and server. Also, gRPC uses HTTP/ 2 as the default protocol. - Source: dev.to / over 1 year ago
View more

YAML mentions (36)

  • Docker compose, orchestrating and automating services
    First of all, create a file in the root project directories called compose.yaml. YAML is a text format that uses indentation to specify dependencies between configuration options. Be aware that incorrect indentation will cause problems with executing commands properly. - Source: dev.to / 4 days ago
  • Kubernetes Through the Developer's Perspective
    Most commonly written in YAML, these files are large and complex to read and understand. And being written in YAML comes with its challenges (and quirks) since it is an additional programming language that devs need to learn. - Source: dev.to / about 1 month ago
  • A View on Functional Software Architecture
    Note, that this file is a Markdown and YAML file at the same time, and as such human- and machine-readable, if the fields are filled carefully. - Source: dev.to / 5 months ago
  • Exploring the code behind Docusaurus
    Front matter is a bit of text at the start of a file (YAML to be exact) that is placed between two ---. - Source: dev.to / 6 months ago
  • topoconfig: enhancing config declarations with graphs
    Meanwhile, formats have been evolving (JSON5, YAML), config entry points are constantly changing. These fluctuations, fortunately, were covered by tools like the cosmiconfig. - Source: dev.to / 7 months ago
View more

What are some alternatives?

When comparing Protobuf and YAML, you can also consider the following products

gRPC - Application and Data, Languages & Frameworks, Remote Procedure Call (RPC), and Service Discovery

TOML - TOML - Tom's Obvious, Minimal Language

Messagepack - An efficient binary serialization format.

JSON - (JavaScript Object Notation) is a lightweight data-interchange format

Dhall Configuration Language - A non-repetitive alternative to YAML

Apache Thrift - An interface definition language and communication protocol for creating cross-language services.