Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29279 ディスカッション

Fortran to webassembly?

Erik_T_1
初心者
2,413件の閲覧回数

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 件の賞賛
2 返答(返信)
Steve_Lionel
名誉コントリビューター III
2,413件の閲覧回数

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

freennix
ビギナー
2,260件の閲覧回数

@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:)

返信