Wasm: Emscripten vs WASI-SDK: Difference between revisions
Appearance
No edit summary |
|||
| Line 3: | Line 3: | ||
* <b>Emscripten<b> untuk browser (web platform). | * <b>Emscripten<b> untuk browser (web platform). | ||
== | == Emscripten == | ||
Cara install<br> | |||
<i>*note: saya pakai Arch Linux</i> | <i>*note: saya pakai Arch Linux</i> | ||
<syntaxhighlight lang=bash> | <syntaxhighlight lang=bash> | ||
Revision as of 09:51, 25 November 2025
WASI-SDK dan Emscripten adalah toolchain untuk compile C/C++ menjadi WebAssembly, tetapi targetnya berbeda:
- WASI-SDK untuk environment WASI (non-web)
- Emscripten untuk browser (web platform).
Emscripten
Cara install
*note: saya pakai Arch Linux
sudo pacman -S emscripten
export PATH="/usr/lib/emscripten/":$PATH