News for hackers. Stuff that matters.
Re:A 10x Faster TypeScript by _benton on Tuesday March 11, 2025 @12:43PM (#43334328)
Golang is actually pretty easy to embed into JS/TS via wasm. See esbuild.
Re:A 10x Faster TypeScript by curtisblaine on Tuesday March 11, 2025 @02:46PM (#43335743)
Esbuild 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.