WASM+JS code base? #618
jake-danton
started this conversation in
General
Replies: 1 comment
-
Theoretically possible I would say. By binding to the We have provided some primitive JS object binding in js-ffi, but it does not include the For DOM operations, we don't have a standard nor de-facto package yet. You can refer to the following two community packages: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it possible to have a single project where you compile one part to
wasm-gc
target and then use that WASM module in another part of the project compiled tojs
target?Specifically, I am asking if this is possible to do with 100% Moonbit code and generated JS, with no additional manual JS code.
I am trying to get a single code base where the compute-heavy stuff is done in a WASM module and then JS calls it and edits the DOM, etc.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions