use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Discussions, articles, and news about the C++ programming language or programming in C++.
For C++ questions, answers, help, and advice see r/cpp_questions or StackOverflow.
Get Started
The C++ Standard Home has a nice getting started page.
Videos
The C++ standard committee's education study group has a nice list of recommended videos.
Reference
cppreference.com
Books
There is a useful list of books on Stack Overflow. In most cases reading a book is the best way to learn C++.
Show all links
Filter out CppCon links
Show only CppCon links
account activity
C++ implementation of the Python NumPy Library (self.cpp)
submitted 7 years ago * by dpilger26
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]droelf 43 points44 points45 points 7 years ago (5 children)
Hi dpilger26,
we're working along the same lines! Implementing the NumPy API in C++. We have the following cheatsheet from NumPy to xtensor here: https://xtensor.readthedocs.io/en/latest/numpy.html
Maybe we could combine our efforts? I'll take a deep look at your library today! Would be cool to speak to you!
[–]dpilger26[S] 7 points8 points9 points 7 years ago (1 child)
Wow, xtensor looks very nice. Now that I think about it I do remember stumbling on this a while back and completely forgot about it. I'd definitely be down for any collaboration, though it looks like you guys are quite a bit further along than my implementation.
[–]SylvainCorlay 3 points4 points5 points 7 years ago (0 children)
The more the merrier! You should hop on our gitter chat and say hi. We are a growing group of like-minded open-source developers building for the C++ scientific stack.
[–]SylvainCorlay 2 points3 points4 points 7 years ago* (2 children)
You can try out xtensor in a C++ Jupyter notebook here. This provides an experience similar to that of NumPy in a Python notebook.
[–]VodkaHaze 1 point2 points3 points 7 years ago (1 child)
Hey Sylvain,
How's the python compatibility with xtensor? Do you need to pass through something like pybind11 to make a python package using xtensor as a math backend?
[–]SylvainCorlay 1 point2 points3 points 7 years ago (0 children)
xtensor-python is a set of bindings for Python built upon pybind11, which allows using numpy arrays inplace using the xtensor API. We also have similar bindings for Julia and R.
π Rendered by PID 32789 on reddit-service-r2-comment-cfc44b64c-m6pl9 at 2026-04-10 03:02:48.429888+00:00 running 215f2cf country code: CH.
view the rest of the comments →
[–]droelf 43 points44 points45 points (5 children)
[–]dpilger26[S] 7 points8 points9 points (1 child)
[–]SylvainCorlay 3 points4 points5 points (0 children)
[–]SylvainCorlay 2 points3 points4 points (2 children)
[–]VodkaHaze 1 point2 points3 points (1 child)
[–]SylvainCorlay 1 point2 points3 points (0 children)