<div dir="ltr">Hi all,<div><br></div><div>I'll throw in my two cents as well. </div><div><br></div><div>I personally found it confusing when I first encountered Rcpp11 some time ago. This entirely stemmed from my lack of knowledge about the exact distinction between C++ and C++11, and the boundary between Rcpp and C++ (I was learning Rcpp/C++ as I went, working from a rudimentary knowledge of C).</div><div><br></div><div>So I think Jonathon's suggestion of FAQ entries would be useful, if only for those who dive into Rcpp without knowing a whole lot about C++ to begin with. </div><div><br></div><div>Cheers,</div><div><br></div><div>Scott Ritchie</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 30 September 2014 07:08, Romain Francois <span dir="ltr"><<a href="mailto:romain@r-enthusiasts.com" target="_blank">romain@r-enthusiasts.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">If you want to have a private conversation with Dirk, just email him directly: <a href="mailto:edd@debian.org">edd@debian.org</a><br>
<br>
Now since this is all in the open, let me participate to this.<br>
<br>
Le 29 sept. 2014 à 22:42, Jonathon Love <jon@thon.cc> a écrit :<br>
<span class=""><br>
> -----BEGIN PGP SIGNED MESSAGE-----<br>
> Hash: SHA512<br>
><br>
> hey dirk,<br>
><br>
> i was wondering if you could let us know your thoughts about Rcpp11.<br>
><br>
> i've found it a little bit confusing, because at first i thought people<br>
> were just talking about Rcpp (which happens to be at version 0.11).<br>
<br>
</span>I also found it confusing that Rcpp's version became 0.11.*<br>
I guess we had it coming after 0.10.* since apparently for some reason it is trapped in the 0.* land forever<br>
<span class=""><br>
> then<br>
> i thought it was a newer version of Rcpp, but of course it isn't. then<br>
> i thought it was a version of Rcpp for use with C++11<br>
> (because presumably Rcpp doesn't support C++11... but of course it does).<br>
<br>
</span>Yes you can use C++11 with Rcpp, and for that matter you can even use C++11 without Rcpp. You can do arcane .Call stuff on the outside and have C++11 code inside.<br>
<br>
Now Rcpp11 is a complete redesign, focusing on C++11, it means that it actively uses C++11, as opposed to let you use it.<br>
<br>
It has also allowed us to step back from mistakes that were made along the way when developing Rcpp such as (this is just one example) complexity of too many undocumented constructors for *Vector classes. Doing this is impossible with Rcpp which has to carry the weight of dependency.<br>
<span class=""><br>
> so the name alone appears to have been chosen to maximise confusion<br>
<br>
</span>Not at all. Rcpp11 stands for R and C++11.<br>
<br>
>From my point of view, the confusion comes from the versioning of Rcpp.<br>
<br>
Perhaps Rcpp will hit version 0.14.* when I start working on Rcpp14 soon. How convenient would that be.<br>
<span class=""><br>
> but<br>
> i was wondering what you thought about it technically. do you see it<br>
> replacing ol' Rcpp, and new projects should make an effort to use it<br>
> instead? do you see Rcpp being retired as a result? what is the future<br>
</span>> of repp?<br>
<br>
They will coexist, are maintained by two different persons who have different goals. And that's fine.<br>
<br>
Right now CRAN makes it difficult to depend on Rcpp11, but we have implemented a workaround, so the next version of Rcpp11 (to be released when the next R is released) will be CRAN proof.<br>
<br>
Just use whatever version is best for your needs. I'm spending a great deal of energy and time (although perhaps not lately) on developing Rcpp11, but I still use Rcpp for projects for which it makes sense, e.g. dplyr uses Rcpp.<br>
<span class="im HOEnZb"><br>
> perhaps these might make good FAQ entries.<br>
><br>
> with thanks<br>
><br>
> jonathon<br>
<br>
</span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Rcpp-devel mailing list<br>
<a href="mailto:Rcpp-devel@lists.r-forge.r-project.org">Rcpp-devel@lists.r-forge.r-project.org</a><br>
<a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel" target="_blank">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel</a><br>
</div></div></blockquote></div><br></div>