Really, the 2nd coming of VRML.
Another example, I know the guy who maintains NIST's fluid properties solver (back in the day he worked at a subcontractor for NASA characterizing superfluids in fuel tanks). It's ancient Fortran compiled to a windows .dll and wrapped in VB in an excel file. It's super battle tested (being used for nearly 30 years), and it'd be awesome to be exposed in the browser.
Or rather, before flang + emscripten/wasm/whatever, there was no reasonable way to run Fortran in a browser; now there is. Application developers can then choose whatever is most important for their application.
Disclaimer: my web dev experience predates the "modern web" with SPA's, fast javascript runtimes, html5 etc.
Core numpy depends on BLAS, for which both Fortran and non-Fortran implementations are available.
% ldd /usr/lib/python3/dist-packages/numpy/linalg/lapack_lite.cpython-35m-x86_64-linux-gnu.so|grep -E 'lapack|fortran'
liblapack.so.3 => /usr/lib/liblapack.so.3 (0x00007fb619ce7000)
libgfortran.so.3 => /usr/lib/x86_64-linux-gnu/libgfortran.so.3 (0x00007f5ae0911000)Seems like most numeric/math code have some Fortran libraries underneath.
It'd be handy to have a route to just compile them to JS rather than having to write from scratch