Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NEW EXAMPLE] Protobuf - Tokenizer #41

Closed
ainzzorl opened this issue Aug 10, 2021 · 0 comments
Closed

[NEW EXAMPLE] Protobuf - Tokenizer #41

ainzzorl opened this issue Aug 10, 2021 · 0 comments
Labels
new example New example proposal

Comments

@ainzzorl
Copy link
Owner

General

Description

Protocol Buffers (a.k.a., protobuf) are Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data. You can find protobuf's documentation on the Google Developers site.

Parsing protobufs depends on this custom stream tokenizer.

Why it needs a custom tokenizer and why it is the way it is is described in detail in this comment.

Links

What makes it interesting

  • Protobuf is a very famous software.
  • Very well documented code.
  • Very well explained design decisions.

Related work

No.

Other

The tokenizer is not the most interesting part of Protobuf, but the rest of the code seems either overwhelmingly complex, or impossible to reason about in isolation, usually both.

@ainzzorl ainzzorl added the new example New example proposal label Aug 10, 2021
ainzzorl added a commit that referenced this issue Aug 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new example New example proposal
Projects
None yet
Development

No branches or pull requests

1 participant