Emscripten C-to-JS Compilation

The cluster focuses on Emscripten and similar tools like LLVM for compiling C/C++ and other languages to JavaScript, asm.js, or WebAssembly to enable running native code in web browsers. Discussions highlight existing solutions, alternatives, and browser compatibility.

📉 Falling 0.4x Web Development
2,415
Comments
19
Years Active
5
Top Authors
#553
Topic ID

Activity Over Time

2008
4
2009
2
2010
17
2011
47
2012
63
2013
260
2014
155
2015
175
2016
177
2017
199
2018
185
2019
150
2020
131
2021
155
2022
217
2023
180
2024
132
2025
153
2026
13

Keywords

e.g leaningtech.com JS WebAssembly WASM GHC IPC blogspot.com LLVM google.com asm js js compile wasm asm llvm webassembly javascript target browsers

Sample Comments

moron4hire Mar 9, 2014 View on HN

Would that be anything like LLVM and Emscripten?

xyproto May 8, 2016 View on HN

There is already Emscripten, for compiling from C or C++ to JavaScript...

vvanders Dec 30, 2015 View on HN

Kinda surprised there's not a mention of emscripten in the options.

niggler May 1, 2013 View on HN

One of the many compile-to-JS languages. Or just using emscripten.

eonil Jan 19, 2014 View on HN

Mozilla has Emscripten. I don't think they're really JS only.

jupp0r Mar 10, 2022 View on HN

You can totally compile Emscripten to wasm and do all of this as part of your application. No further browser support needed.

frik May 26, 2015 View on HN

Yes, you probably mean Asm.js and the Emscripten compiler

shmerl Jan 6, 2017 View on HN

I think it's all compiled into JavaScript with Emscripten.

comesee Sep 26, 2018 View on HN

Emscripten seems like a good start, the tooling already exists.

callahad May 23, 2013 View on HN

I don't understand this stuff well enough, but doesn't Emscripten effectively give you that? It converts LLVM bitcode into JavaScript, so if you can compile it with LLVM, you can use it on the web.