On 3 December 2022 at 15:08, Sparapani, Rodney wrote: | I have a tangential question. We have several R packages | based on Rcpp to call C++ code. Rcpp makes it so easy! | However, I am often asked by Python users: can we make | similar packages for that platform? I’m a newb with | respect to Python (after 30 years with S/R and C++ I am | still learning!) So, I have a question. Is there something | like an equivalent with respect to Rcpp for Python? | By that I mean, I want to call C++ code from Python | with the ability to pass R-like objects, or similar, to C++. | Exposing the Python RNG to C++ would also be | extremely helpful. Please let me know. Thanks
pybind11 comes to mind but because Python has a richer set of base types (and other differences) there is no one-to-one match to Rcpp. The thread is off-topic here so let's maybe try to keep the list focussed. Dirk -- dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org _______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel