3 ms·
You store your configuration as plain text in your repository and whatnot. When it comes to deployment you just compile it to a binary file. Cap’n’proto also h
by vlovich123 6y ago
You store your configuration as plain text in your repository and whatnot. When it comes to deployment you just compile it to a binary file.
Cap’n’proto also has plain text and JSON serialization formats if you really want to have your deployed config file be directly human-editable and deserialize from that. I was just noting a very cool feature of having your config written in cap’n’proto and it’s what Cloudflare uses to maintain a bunch of config internally if I read Kenton’s allusions to it correctly.
- deleted 6y ago[deleted]
- vlovich123 6y agoJust to be clear, I'm saying you use Cap'n'Proto constants to store your schema: https://capnproto.org/language.html#constants https://capnproto.org/language.html#constants You can then compile it into whatever format (JSON, plain text, binary) that you want for actually reading it from disk.