~/talk

Rcpp: Seamless R and C++ Integration

Talkat CppCon 2015 · 2015-09-21..09-25· [python]
links:none on file
slides:none on file

Shows concrete numbers and working code: a plain R loop is ~400× slower than R's builtin sum, bytecode reduces that to ~40×, and an Rcpp C++ implementation reaches native speed and beats builtins further when using OpenMP. Demonstrations use Rcpp with as/wrap conversions, sourceCpp/cppFunction and RInside embedding, explain SEXP/PROTECT issues, show reference-semantics for large vectors with Rcpp::clone for copies, and export custom types and modules; examples compile and run cross-platform and integrate common C++ libraries.

AI-written summary · about

  1. 0:00Introduction to R and C++
  2. 0:35Lessons from legacy computing
  3. 4:30Understanding the R ecosystem
  4. 10:22Performance trade-offs in R
  5. 13:45Optimizing code with Rcpp
  6. 17:36Integration and data exchange
  7. 20:58Seamless C++ setup in R
  8. 24:11Data handling and wrappers
  9. 32:07Advanced Rcpp data structures
  10. 38:29Advanced interoperability
  11. 43:21Extending Rcpp functionality
  12. 51:00Syntactic sugar and embedding
  13. 54:10Final notes and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.