Emscripten (C/C++ to JS) File Upload Example
Emscripten is a compiler backend that generates web assembly (.wasm) files from LLVM’s intermediate representation. This representation can be generated through Clang.
I have compiled one of my tools written in C++ using Emscripten. This can be run by selecting a Windows executable. Large executables might fail due to memory allocation limits.
This might have issues with older browsers.