github.com/grpc-ecosystem/grpc-gateway/v2@v2.19.1/docs/docs/tutorials/generating_stubs/index.md (about)

     1  ---
     2  layout: default
     3  title: Generating stubs
     4  parent: Tutorials
     5  nav_order: 2
     6  has_children: true
     7  ---
     8  
     9  For generating the stubs, we have two alternatives: `protoc` and `buf`. `protoc` is the more classic generation experience that is used widely in the industry, but it has a pretty steep learning curve. `buf` is a newer tool that is built with user experience and speed in mind. It also offers linting and breaking change detection, something `protoc` doesn't offer. We offer instructions for both here.