-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
WebAssembly is now well supported and could improve the speed of the core algorithm.
Initially this can continue to be single-threaded (with the webassembly function invoked inside the existing Web Worker) but later it could be further improved by using pthreads.
A compiled C++ or Rust method seems best (Rust may be more appropriate since the existing tooling targets individual methods, whereas the emscripten C++ tooling targets whole applications)
There is no need to maintain fallback javascript logic, as the only browser which does not support WebAssembly is IE, and this is already not a supported browser.
- https://webassembly.org/getting-started/developers-guide/
- https://developer.mozilla.org/en-US/docs/WebAssembly
- https://developers.google.com/web/updates/2018/10/wasm-threads (future enhancement)
- https://developer.mozilla.org/en-US/docs/WebAssembly/Rust_to_wasm
- https://rustwasm.github.io/docs/book/reference/crates.html
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request