Rcpp11 Questions

210 views
Skip to first unread message

Gabor Grothendieck

unread,
Apr 8, 2014, 8:52:06 AM4/8/14
to r-an...@googlegroups.com
Could you provide some details on Rcpp11 such as status, the key features of C++11 used, benchmarks if any exist at this point, which source files to look at to get started. Thanks.

Romain François

unread,
Apr 8, 2014, 9:06:17 AM4/8/14
to Gabor Grothendieck, r-an...@googlegroups.com
Hello Gabor, 

I’ll take the time to generate some of that as part of announcing the package. If you have specific questions, I’d encourage you to file them as issues on github. 

We are already aware that we need documentation: 

Depending on which features of Rcpp you are using, the transition should be easy. I am however free from silly compatibility requirements Rcpp suffers from, so I could remove things I felt no longer should be in a modern R/C++ library. 

The Rcpp-test repo (https://github.com/romainfrancois/Rcpp-test) is what I use for unit testing. It might be a good starting point. 

As of now, we do leverage a lot of C++11 internally, e.g. to get away from the code bloat with variadic templates, etc … but this should not really be a concern for users. I’d recommend using Rcpp11 similarly to how you’d use Rcpp and report issues as you go along. 

We are close to release, but since a few days I have been on one of these development orgy to simplify Vector and get a better sugar implementation. I’m quite confident I can deliver it in time. 

Romain

Le 8 avr. 2014 à 14:52, Gabor Grothendieck <ggroth...@gmail.com> a écrit :

Could you provide some details on Rcpp11 such as status, the key features of C++11 used, benchmarks if any exist at this point, which source files to look at to get started. Thanks.

--
You received this message because you are subscribed to the Google Groups "R and C++" group.
To unsubscribe from this group and stop receiving emails from it, send an email to r-and-cpp+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Romain François

unread,
Apr 8, 2014, 1:57:37 PM4/8/14
to Gabor Grothendieck, r-an...@googlegroups.com
Hi, 

One of the objectives is a better design for Rcpp sugar. This is in its infancy, but check this: https://github.com/romainfrancois/Rcpp11/issues/33

Once I’m happy with the design, I’ll start updating all the sugar functions to get better performance. And with C++11 at our disposal, we can imagine to easily leverage threading. 

I’m starting to be very pleased with the work on Rcpp11. My vague plan is to keep making it better so that we have a pretty good one for useR, and then I’ll start writing my own book. I think there is room for a good book about R and C++. 

Romain
Reply all
Reply to author
Forward
0 new messages