Skip to content
This repository has been archived by the owner on Aug 10, 2022. It is now read-only.

Build speed improvement #67

Open
cecton opened this issue Jun 9, 2021 · 0 comments
Open

Build speed improvement #67

cecton opened this issue Jun 9, 2021 · 0 comments

Comments

@cecton
Copy link
Member

cecton commented Jun 9, 2021

When I see how fast is the WASM compiled I wonder if we could not bypass the wasm-bindgen build entirely.

The current process to build is as follow:

  1. run pre-build
  2. run cargo build --target wasm...
  3. run wasm-bindgen to generate the JS and stuff that wraps the wasm
  4. run post-build

I believe the really slow stuff is actually in the point 3 with wasm-bindgen. Maybe it is possible to run it once and then re-use the existing JS code and stuff.

This is an idea and it should be explored. It doesn't mean it is true or can be done.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant