4 ms·
Go also has gobs which according to Rob Pike improve on protocol buffers in several ways: http://blog.golang.org/2011/03/gobs-of-data.html http://blog.golang.or
by uriel 15y ago
Go also has gobs which according to Rob Pike improve on protocol buffers in several ways: http://blog.golang.org/2011/03/gobs-of-data.html http://blog.golang.org/2011/03/gobs-of-data.html
And while gobs are (by design) Go-centric, there are already implementations in C for example: http://code.google.com/p/libgob/ http://code.google.com/p/libgob/
And Go also has the rpc package, which uses gobs (but can also use json or other encodings): http://golang.org/pkg/rpc/ http://golang.org/pkg/rpc/