Zero-copy protobuf and ConnectRPC for Rust
1–10 of 47 posts
Re: Zero-copy protobuf and ConnectRPC for Rust
#2Re: Zero-copy protobuf and ConnectRPC for Rust
#3Commonly used crates should be blessed and go into an extended stdlib.
Re: Zero-copy protobuf and ConnectRPC for Rust
#4Re: Zero-copy protobuf and ConnectRPC for Rust
#5Commonly used crates should be blessed and go into an extended stdlib.
Didn't we learn this with python?
How many python http client libraries are in the dumping ground that is the python "batteries included" standard library?
And yet people always reach for the one that is outside stdlib.
Re: Zero-copy protobuf and ConnectRPC for Rust
#6Google really dropped the ball with protobuf when they took so long to make them zero-copy. There are 3rd party implementations popping up now and a real risk of future wire-level incompatibilities across languages.
Re: Zero-copy protobuf and ConnectRPC for Rust
#7Commonly used crates should be blessed and go into an extended stdlib.
If anything, there should be “less than blessed” “*-awesome” libraries
Re: Zero-copy protobuf and ConnectRPC for Rust
#8Commonly used crates should be blessed and go into an extended stdlib.
No HTTP, Proto, or gRPC crate should ever find itself in the stdlib. Didn't we learn this with python? How many python http client libraries are in the dumping ground that is the python "batteries included" standard library? And yet people always reach for the one that is outside stdlib.
Re: Zero-copy protobuf and ConnectRPC for Rust
#9If this fixes that I might consider switching.
However, Google is also working in a new grpc-rust implementation and I have faith in them getting it right so holding tight a little bit longer.
Re: Zero-copy protobuf and ConnectRPC for Rust
#10Commonly used crates should be blessed and go into an extended stdlib.
No HTTP, Proto, or gRPC crate should ever find itself in the stdlib. Didn't we learn this with python? How many python http client libraries are in the dumping ground that is the python "batteries included" standard library? And yet people always reach for the one that is outside stdlib.
It is not that everything should go into the stdlib, but having syn, procmacro and serde would be a good start imo. And like golang having a native http stack would be really awesome, every time you have to do any HTTP, you end up pulling in some c-based crypto lib, which can really mess up your day when you want to cross-compile. With golang it mostly just works.
It isn't really in the flavor of rust to do, so I don't think it is going to happen, but it is nice when building services, that you can avoid most dependencies.