3 ms·
Why not keep the numerical code on the sever?
by goatlover 10y ago
Why not keep the numerical code on the sever?
- jabl 10y agoHmm, I guess it depends on the application whether that's a good idea or not. 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.
- goatlover 10y agoNever thought I'd live to see the day people would be talking about compiling fortran to javascript to run in a web browser. Just mind blowing.
- kardos 10y agoIf you can run the processing on the client side, then you can scale up much, much easier and provide whatever service much cheaper, or even free. Eg, you can provision fewer servers, no need to build a processing queue or load balancing setup, if the input is provided by the client then you use less bandwidth by avoiding a round trip on that, etc.
- goatlover 10y agoNot sure it makes sense for computationally expensive code to be running in the user's browser.
- kardos 10y agoCluster-scale calculations? Probably not. If we could /easily/ port FORTRAN code to JavsScript then you could do this [1] kind of thing with a lot less manual re-implementing. [1] http://physics.weber.edu/schroeder/fluids/ http://physics.weber.edu/schroeder/fluids/