4 ms·
Golang is actually pretty easy to embed into JS/TS via wasm. See esbuild.
by _benton 2y ago
Golang is actually pretty easy to embed into JS/TS via wasm. See esbuild.
- curtisblaine 2y agoEsbuild is distributed as a series of native executables that are selectively installed by looking at arch and platform. Although you can build esbuild in wasm (and that's what you use when you run it in the browser), what you actually run from .bin in the CLI is a native executable, not wasm.