Timo Stamm
Timo Stamm
Absolutely, @sjbarag. We're just wrapping up some work on the plugin framework, but this issue is up next!
This was implemented in https://github.com/timostamm/protobuf-ts/pull/262
Just a small update: Thanks to @kbongort, binary read performance received a ~2.5x bump in [v1.2.1](https://github.com/bufbuild/protobuf-es/releases/tag/v1.2.1). See https://github.com/bufbuild/protobuf-es/pull/459 for details.
Hey Malcolm, thanks for the comment! This could be applied to all packed protobuf types with fixed size. There's no free lunch though, the downsides are increased bundle size and...
It looks like a similar perf improvement applied for binary read (see https://github.com/bufbuild/protobuf-es/issues/333#issuecomment-1699176072) can also be applied for binary write. Some details we're noted in https://github.com/bufbuild/protobuf-es/pull/674#issuecomment-1908178716.
Adam, thanks for raising this, we've been pondering it as well. For most effective tree-shaking, it would be ideal to export a symbol for each individual RPC. On the other...
For your example.proto, we generate two declarations: ```ts export const ExampleService = { ... }; export const HelloService = { ... }; ``` Let's say you bundle your application from...
@mckelveygreg, if you are generating to a package, make sure to set `"sideEffects": false`. Depending on your set of protobuf files, it may also pay off to generate `.js` +...
@mckelveygreg, there is also another option that may or may not be useful, depending on your use case: [v1.10.0](https://github.com/bufbuild/buf/releases/tag/v1.10.0) of the Buf CLI added a flag that basically adds tree-shaking...
Hey Taras, we are all very excited about Deno. Generally, our runtime should work fine with Deno because we only use a few standard APIs. But currently, there are a...