3 ms·
Does it include a decent BLAS? If I remember correctly R ships with reference BLAS, but for decent performance you need something external. Wonder what they pic
by stabbles 1y ago
Does it include a decent BLAS? If I remember correctly R ships with reference BLAS, but for decent performance you need something external. Wonder what they picked for wasm based R.
- uniqueuid 1y agoI wonder what kind of edge cases you deal with when blas is your bottleneck in R. Stan code aside, I’ve seen few problems that are neither instant (i.e. sub hours) nor impossible (I.e years of compute).
- fn-mote 1y agoIsn’t the linear algebra conventional wisdom that matrix ops are ALWAYS the bottleneck? I’m sure this is true in scientific computing. In R maybe a bunch of resampling would be expected to dominate?
- legobmw99 1y agoSince you mentioned Stan, feels relevant to mention https://stan-playground.flatironinstitute.org/ https://stan-playground.flatironinstitute.org/, which lets you run Stan in WASM and analyze the results using WebR
- shakna 1y agoProbably uses LLVM Flang to make the Fortran parts happen, compiling reference BLAS and LAPACK. As the main dev for WebR is also the one who did this [0]. [0] https://gws.phd/posts/fortran_wasm/ https://gws.phd/posts/fortran_wasm/