WebAssembly #19
Closed
jamen
started this conversation in
Show and tell
Replies: 1 comment
-
Migrated this closed issue from #5 to https://github.com/orgs/browserify/discussions/19. No action required |
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
-
Hey. I started a plugin,
wasmify
, for importing WebAssembly code. I wanted to share my progress. 😄Firstly, you can run this with or without a config. Without simply lets you import
.wasm
files. While configs are responsible for compiling source files (C, C++, etc.) into webassembly and loading it at runtime.Here is an example with no config.
And here is an example using an Emscripten config:
I hope to add better C/C++ support in the future, as well as configs for other languages. Currently
emscripten
(for C/C++) andwabt
(for WAT) are supported.Beta Was this translation helpful? Give feedback.
All reactions