<div dir="ltr"><div><div><div>Hi,<br><br></div>I've written a Google Protocol Buffers code generator for nginx module developers interested in using protobuf messages within nginx natively.  The project is on Github here:<br>
<br><a href="https://github.com/dbcode/protobuf-nginx/">https://github.com/dbcode/protobuf-nginx/</a><br><br></div>The README.md gives more details, but the intent is to generate code that follows the "nginx way", i.e. using nginx data types such as ngx_str_t, ngx_array_t, and ngx_rbtree_t; memory pools; and overall programming style.<br>
<br></div><div>I have some more work to do on it, but at this point the generated code is fully functional.  I'd be interested to hear any feedback from module developers who have considered using protobuf in nginx.<br>
</div><div><br></div>-dave<br><br></div>