extendr / rextendr

An R package that helps scaffolding extendr-enabled packages or compiling Rust code dynamically
https://extendr.github.io/rextendr/
Other
184 stars 27 forks source link

Mention alternatives in README #188

Closed Robinlovelace closed 2 years ago

Robinlovelace commented 2 years ago

I just came across this alternative approach to developing R packages that use Rust code: https://github.com/dbdahl/cargo-framework

It links to this project. Worth adding a link in the opposite direction (couldn't see a link to it and it seems pretty new so imagine many people not aware of it)?

And more broadly any ideas on similarities/differences?

Context: have written a simple R interface to the odjitter Rust crate using system calls but would like to use a proper framework for proper Rust (and I guess CRAN compliant, I doubt my heavy use of system() would be acceptable on CRAN but any comments on that welcome as it seems to work and would love to get it out there) interface.

Robinlovelace commented 2 years ago

And more broadly any ideas on similarities/differences?

Partial response to this, just found the following, seems cargo aims to be leaner and perhaps more low level while rextendr does object conversion.

image

Ilia-Kosenkov commented 2 years ago

Can you make a PR? Also, I like their docs, I should get back to working on rextendr issues so we can make next release and perhaps write a paper ourselves.

Robinlovelace commented 2 years ago

Heads-up @Ilia-Kosenkov, PR incoming: https://github.com/extendr/rextendr/pull/189