Programming R at native speed using Haskell (2015)
tweag.io
tweag.io
I wonder if there any surprising linker optimizations that happen because the R interpreter is in the same binary as the Haskell.
Also the body text font sucks.
Could benefit ot a 1.5 linespacing and a slightly shorter textwidth, for sure.
Cross-language linker optimizations is an active area of research though so it’s a good instinct. Rust is definitely trying to do this across FFI boundaries with C/C++ code.
Rpy2 is finicky, but if you’re doing something more traditionally softwarey and want to benefit from R, I still find it easier to use a general language like python and call R than it is to use R alone and try to do things it’s not great at and doesn’t have an ecosystem for.
It’s great to see another venue like that.