[Rcpp-devel] Rcpp equivalent for Python?
Dirk Eddelbuettel
edd at debian.org
Sat Dec 3 16:50:04 CET 2022
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 | edd at debian.org
More information about the Rcpp-devel
mailing list