Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Fortran to webassembly?

Erik_T_1
Novice
855 Views

Hi,

Are there any plans for having the possibility to target webassembly with ifort? i.e. have my fortran code run in a browser?

(Windows 10, ifort 19.1, visual studio 2019)

0 Kudos
2 Replies
Steve_Lionel
Black Belt Retired Employee
855 Views

Not from Intel, would be my prediction. Seems unlikely in general to me - that's not the target audience for Fortran.

freennix
Beginner
702 Views

@Erik_T_1 Your best bet is Flang/LLVM:  https://releases.llvm.org/11.0.1/tools/flang/docs/ReleaseNotes.html

As of LLVM 11.0.1 (2020-01-14), Flang isn’t quite yet able to generate LLVM IR, but once it does (prob. by the end of 2021) it should be possible to build a complete Flang/LLVM-based Fortran-to-WebAssembly toolchain à la Alon Zakai’s Emscripten (you could be the next Alon Zakai:)

Reply