Re:Rust Is Surprisingly Good as a Server Language
by plmu on Monday July 13, 2020 @03:34AM
(#23818087)
As far as I know, you need grpc-web only because there is no direct grpc implementation for javascript. For rust, c++ etc. you would use grpc natively.
[ Parent
| on HN ]
Re:Rust Is Surprisingly Good as a Server Language
by Nican on Monday July 13, 2020 @03:39AM
(#23818117)
grpc-web is attractive to our use case because it would take away from manually implementing REST interfaces and every once in a while having type mismatches. The less room for mistakes, the better.
.NET Core just recently last month that gRPC-web is stable [1]. It would remove a huge amount of boilerplate in setting up services on both client and server side.
Some people also recommend to use Envoy [2], but usually the less cogs the better.
[1] https://devblogs.microsoft.com/aspnet/grpc-web-for-net-now-a... [2] https://grpc.io/docs/languages/web/basics/