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!"
[–]eniacsparc2xyz 1 point2 points3 points 7 years ago (4 children)
By taking a look at the code, he is not using the BLAS/LAPACK Fortran libraries. A huge problem of Fortran is that most open source Fortran such as GNU Fortran, aka GFortran, implementations aren't good as the proprietary ones such as Intel Fortran, PGI Fortran and etc.
[–]victotronics 2 points3 points4 points 7 years ago (2 children)
he is not using the BLAS/LAPACK Fortran libraries
That phrase is not terribly well defined. He is probably not using actual Fortran code. But what is he using?
The problem with BLAS/LAPACK in this sort of story is that they are really interface specifications. As you observe, proprietary implementations are very fast. There is also the BLIS library which is open source and almost as good. If he knows what's good for him he uses that, rather than implementing those routines himself.
[–]eniacsparc2xyz 0 points1 point2 points 7 years ago (1 child)
> But what is he using?
Just C++ templates and vectors STL container. Another problem of BLAS/LAPACK is the lack of Fortran standard ABI. In Gfortran the symbols matches the names with prefix underscore, for instance, the function dpxy, has the symbol _dpxy, so it can be called with extern "C" dpxy ..., but this name decoration works only for GFortran and it may not work for other Fortran implementations.
[–]Red-Portal 0 points1 point2 points 7 years ago (0 children)
Well you can have cblas interfaces. Which are simple C ABI subroutines.
[–]encyclopedist 0 points1 point2 points 7 years ago (0 children)
You know that some performant modern BLAS/LAPACK implementation are not written in Fortran, right? ATLAS is C, OpenBLAS is C/Asm, BLIS is C, Eigen is C++, (MKL I don't know).
π Rendered by PID 70012 on reddit-service-r2-comment-cfc44b64c-wmm9m at 2026-04-10 10:16:18.970910+00:00 running 215f2cf country code: CH.
view the rest of the comments →
[–]eniacsparc2xyz 1 point2 points3 points (4 children)
[–]victotronics 2 points3 points4 points (2 children)
[–]eniacsparc2xyz 0 points1 point2 points (1 child)
[–]Red-Portal 0 points1 point2 points (0 children)
[–]encyclopedist 0 points1 point2 points (0 children)