Re:GRPC: A high performance, open source, general RPC framework
by justinsb on Thursday February 26, 2015 @06:53PM
(#9116375)
Personally, I'm very disappointed that we've lost immutability, along with support for nullable fields (e.g. Protobuf3 now assumes that 0 == null).
[ Parent
| on HN ]
Re:GRPC: A high performance, open source, general RPC framework
by ejona86 on Thursday February 26, 2015 @07:00PM
(#9116408)
Immutability is still there. You get to choose whether you want it or not.
For when you actually want a nullable field, I think the idea is that it is easy to have a wrapper message (just like boxing in languages). Such wrappers could even be made standard and provided by protobuf.
Re:GRPC: A high performance, open source, general RPC framework
by haberman on Thursday February 26, 2015 @07:33PM
(#9116536)
> Such wrappers could even be made standard and provided by protobuf.
They will be: https://github.com/google/protobuf/issues/159#issuecomment-7...