Buf also provides a modern, high-performance, drop-in replacement for
that uses Buf's internal compiler. When we say
high-performance, we mean a 7.5x real-world improvement on a modern personal computer:
This compiler is constantly integration tested across thousands of Protobuf
files to verify that equivalent
FileDescriptorSets are produced, and we
have used it in production ourselves for a couple months now.
All flags and features of
protoc are supported and compatible, with
the following exceptions:
The remaining flags can all be added if there is sufficient demand.
Additionally, we have added the flag:
Using this flag will cause
buf protoc to run your protoc plugins in parallel on a
per-directory basis, resulting in major further performance improvements.
We are providing
buf protoc as a mechanism for users to get into the Buf ecosystem
with drop-in compatibility, and encourage you to try it out with your existing Protobuf