News for hackers. Stuff that matters.
Re:Saying Goodbye to Asm.js by sehugg on Wednesday May 20, 2026 @10:12AM (#48208156)
Hmmm, need a asm.js -> WASM transpiler maybe.

(compiling legacy code with legacy versions of Emscripten is quite frustrating, almost as bad as updating your JS code to be compatible with accumulated changes in the Emscripten ABI)

Re:Saying Goodbye to Asm.js by eqrion on Wednesday May 20, 2026 @10:45AM (#48208753)
Binaryen used to have an asm2wasm tool, but I believe it has been deprecated. I couldn't find any other equivalent. At least the asm.js code will keep working even with asm.js opts disabled, but it would be nice to have a translator.
Re:Saying Goodbye to Asm.js by JoshTriplett on Wednesday May 20, 2026 @05:35PM (#48214469)
Re:Saying Goodbye to Asm.js by Kaxo on Thursday May 21, 2026 @02:44AM (#48218775)
In chrome at least asm.js is(/was?) handled by the wasm engine anyway. They essentially did that transpiling at load time.