3 ms·
FastR [1], an R implementation for the JVM using Truffle aims to be both fast and compatible, including C and fortran calls from R using Truffle's polyglot fram
by ianopolous 9y ago
FastR [1], an R implementation for the JVM using Truffle aims to be both fast and compatible, including C and fortran calls from R using Truffle's polyglot framework.
The thing that makes this even more awesome is inter language optimization - inline your C code into your R code at runtime, which can result in zero overhead inter language calls.
[1] https://github.com/graalvm/fastr https://github.com/graalvm/fastr
- peatmoss 9y agoOne of the interesting things I note from the readme, is that they have an implementation of Grid graphics. Grid is pretty awesome for lower level graphics, and is part of the reason ggplot is able to be as good as it is. Looking forward to poking around at their implementation. If it’s a JVM friendly implementation, that could open up some nicer visualization options from other languges like clojure, scala, etc.
- mj_kallen 9y agoIndeed, they presented this at the last RIOT workshop in July [1] and it's a great way to support graphics without dealing with the grDevices package from GNU R. [1] https://youtu.be/otXTGBTb-3w?t=985 https://youtu.be/otXTGBTb-3w?t=985
- peatmoss 9y agoOh cheers! Looking forward to watching that.