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

Build speed improvement #67

@cecton

Description

@cecton

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions