News for hackers. Stuff that matters.
Re:GRPC: A high performance, open source, general RPC framework by necubi on Thursday February 26, 2015 @04:11PM (#9115525)
It's a bit buried in the announcement, but this is also using a new version of protobuf [0] (3.0) which fixes a number of long-standing complaints about the format:

    * No more required fields
    * Now supports maps (a huge pain point)
    * A canonical json encoding
    * Wider official language support
[0] https://github.com/google/protobuf/releases
Re:GRPC: A high performance, open source, general RPC framework by cespare on Thursday February 26, 2015 @06:32PM (#9116296)
The changes around defaults and field presence are a great improvement for Go integration (and according to the release notes, also Android Java and Objective C).

proto2 integration in Go is fairly unpleasant and involves getters and lots of pointers everywhere (see proto.Int, proto.String).

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).
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...