Re:Fortran Compiled to WebAssembly
by mshockwave on Tuesday September 29, 2020 @08:31PM
(#24634643)
I think while flang (https://github.com/llvm/llvm-project/tree/master/flang) is getting more stable. It would be a lot easier to compile Fortran into WASM with LLVM's WASM backend
[ Parent
| on HN ]
That would save a few steps (gfortran, dragonegg, llvm-as), so it's definitely worth trying.
But note that technically speaking the current approach also uses the LLVM wasm backend (after doing all the above, it uses the LLVM wasm backend to compile LLVM IR to wasm).