News for hackers. Stuff that matters.
Re:Son – A minimal subset of JSON for machine-to-machine com... by hnbroseph on Tuesday March 14, 2017 @05:12PM (#13871529)
protobufs are fairly wide spread... from action script to erlang to haskell to visual basic.
Re:Son – A minimal subset of JSON for machine-to-machine com... by CJefferson on Tuesday March 14, 2017 @05:43PM (#13871733)
Last time I tried (6 months ago) I couldn't find a proto3 implementation for Haskell that was complete ( https://github.com/google/proto-lens doesn't do Any, https://github.com/alphaHeavy/protobuf doesn't do proto3). Maybe one exists, or I could use proto2 and rewrite the other system I was working with.

I decided it was easier in my case to just output JSON.

Re:Son – A minimal subset of JSON for machine-to-machine com... by seagreen on Tuesday March 14, 2017 @07:01PM (#13872320)
Dang, `protobuf` doesn't support proto2? I'm kind of a Haskell die-hard, this is a big hole in our ecosystem=(
Re:Son – A minimal subset of JSON for machine-to-machine com... by kentonv on Wednesday March 15, 2017 @10:37PM (#13881963)
You don't really need proto3, though. Proto2 is compatible and proto3 mostly only removes features.