commit | cdfa3f68fcefcc35dcdb5d3a4b748b394245dec8 | [log] [tgz] |
---|---|---|
author | Todd Wang <toddw@google.com> | Fri Apr 08 12:44:14 2016 -0700 |
committer | Todd Wang <toddw@google.com> | Fri Apr 08 12:44:14 2016 -0700 |
tree | 225624b213126f52e2086b6da802dc2a709c8b1f | |
parent | 2ac6c7c53496e60bd2828e9d80827a5624524aef [diff] |
ref: Add VDL codegen for VDLRead(vdl.Decoder) method of each type This CL adds codegen support to the vdl compiler for the VDLRead method, which is used for fast decoding via the vom.XDecoder. The VDLRead approach is simpler and much faster than the old vdl.Target interface approach, since it doesn't require any reflection, and doesn't need to allocate new Targets. Eventually vdl.Target and all of its associated codegen will be removed. The only feature missing from this CL is support for the Any type, which needs both vdl.Value and vom.RawBytes support for VDLRead. Those features will be added in a later CL. MultiPart: 3/5 Change-Id: I052ba239f5d72da3bea633277f186f13c25da51b
This repository contains a reference implementation of the Vanadium APIs.
Unlike the APIs in https://github.com/vanadium/go.v23, which promises to provide backward compatibility this repository makes no such promises.