dtolnay / watt

Runtime for executing procedural macros as WebAssembly
Apache License 2.0
1.29k stars 29 forks source link

Optimize the ABI boundary of wasm-compiled proc macros #14

Closed alexcrichton closed 5 years ago

alexcrichton commented 5 years ago

This is a culmination of the following set of ideas:

I figured these are all large enough changes that this'll want to eventually be bumped to 0.2, so I've started pruning APIs exposed by watt in this PR as well. This updates the README with general high-level docs of how to use watt as well.

This should inch us closer to a "level playing field" between natively compiled procedural macros and wasm-compiled procedural macros when using a JIT!