TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

ASCII protocol buffers as config files

2 pointsby smarxover 1 year ago

2 comments

lopkeny12koover 1 year ago
I've been using this pattern recently for a few projects for strong config typing. A nice property is that the protos define only the schema, and can technically be used with any config delivery format. This article uses prototext but you could easily use JSON, or any other language that "compiles down" to JSON (like YAML).
mdwaltersover 1 year ago
Dupe of <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=37782010">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=37782010</a>.