[Numpy-discussion] Extending C with Python

Sylvain Corlay sylvain.corlay at gmail.com
Sat Feb 3 11:11:24 EST 2018


You can also check out pybind11, xtensor, and xtensor-python

The latter enables a high-level numpy-like API on the C++ side.

You can check out the numpy to xtensor cheat sheet:

http://xtensor.readthedocs.io/en/latest/numpy.html

Best,

Sylvain


On Thu, Feb 1, 2018 at 12:11 AM, Stefan Seefeld <stefan at seefeld.name> wrote:

> On 31.01.2018 17:58, Chris Barker wrote:
>
> I'm guessing you could use Cython to make this easier.
>
>
> ... or Boost.Python (http://boostorg.github.io/python), which has
> built-in support for NumPy (http://boostorg.github.io/
> python/doc/html/numpy/index.html), and supports both directions:
> extending Python with C++, as well as embedding Python into C++
> applications.
>
>
> [image: Stefan]
>
> --
>
>       ...ich hab' noch einen Koffer in Berlin...
>
>
>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at python.org
> https://mail.python.org/mailman/listinfo/numpy-discussion
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20180203/d0b98559/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.png
Type: image/png
Size: 1478 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20180203/d0b98559/attachment.png>


More information about the NumPy-Discussion mailing list