polywrap / wrap-cli

Used to create, build, and integrate wraps.
https://polywrap.io
MIT License
170 stars 52 forks source link

Wrapper Bindings Pre-Compiled Library #700

Open dOrgJelli opened 2 years ago

dOrgJelli commented 2 years ago

Pre-compile a portion of our wrapper bindings to a static library, which will later be linked in during a final build step within the compiler.

This will help make more of the bindings language-agnostic.

In order for this to be "worth while", the static library should contain a significant amount of code, that would otherwise be generated in the wrapper implementation language (Rust, TinyGo, AssemblyScript, etc).

Niraj-Kamdar commented 2 years ago

I agree with this, we can compile down almost all the code in wasm-as and dynamically link it.