> Cap'n Proto's solution to this was just to build unions into the language, something Protobufs should have done a long time ago.
This has been implemented internally; the next open-source release should have it.
Oh cool! Presumably based on the patch I wrote before I left? :)
The blog article you linked is about my own protobuf implementation "upb", which is separate from anything else we've been talking about in this thread.
My comment about unions was about the Google protobuf implementation, which I am tangentially involved in.
> Cap'n Proto's solution to this was just to build unions into the language, something Protobufs should have done a long time ago.
This has been implemented internally; the next open-source release should have it.