The protobuf javascript generator and runtime really shines when your stack is compiled using the closure compiler; it shrinks down to very little code. Unfortunately, very few people outside google use this.
The protobuf-gen-es plugin sounds nice, I'll definitely be checking it out.
However, I don't understand the desire for people to write protoc plugins in anything but C++, and I'm not even a C++ developer (I much prefer js/ts for many things). Instead of a single c++ source file with a builtin cool templating library which compiles trivially to a tiny binary, you inherit a huge dependency chain that includes the typescipt compiler and nodejs runtime. Totally unnecessary IMHO.
The protobuf-gen-es plugin sounds nice, I'll definitely be checking it out.
However, I don't understand the desire for people to write protoc plugins in anything but C++, and I'm not even a C++ developer (I much prefer js/ts for many things). Instead of a single c++ source file with a builtin cool templating library which compiles trivially to a tiny binary, you inherit a huge dependency chain that includes the typescipt compiler and nodejs runtime. Totally unnecessary IMHO.