Skip to content

Where possible, we should move JavaScript to native/wasm code #15151

Description

@sbc100

This is meta-issue for ongoing work for move as much code as possible out of JavaScript
and into C/C++.

In particular it would be good to focus of code that does HEAP access from JavaScript.
Doing this instead from native code has several advantages:

  • The syntax for heap access in JS much harder to read and write
  • JS heap access is currently slow when using ALLOW_MEMORY_GROWTH and USE_PTHREADS
  • Supporting wasm32 and wasm64 with the same JS code adds complexity ([wasm64] making JS bindings wasm64 aware #12869)

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