What
Rewrite xdrgen generator in Rust, using templating.
Why
The existing xdrgen has evolved over time, but without a lot of thought and the lack of templating makes it extremely difficult to look at the code and understand the shape of the final generated code. It is also brittle, takes a long time to build and run, and that combination of brittle and slow to build makes iterating on it rather painful.
There's a handful of things we want to do that'll be easier to iterate on with a faster build and less brittle code base. For example:
What
Rewrite xdrgen generator in Rust, using templating.
Why
The existing xdrgen has evolved over time, but without a lot of thought and the lack of templating makes it extremely difficult to look at the code and understand the shape of the final generated code. It is also brittle, takes a long time to build and run, and that combination of brittle and slow to build makes iterating on it rather painful.
There's a handful of things we want to do that'll be easier to iterate on with a faster build and less brittle code base. For example: