Rendered at 22:45:30 GMT+0000 (Coordinated Universal Time) with Cloudflare Workers.
aadyachinubhai 15 hours ago [-]
The `.c.src` files with the @arch@ like dispatching logic is specific to numpy. Also, they are currently making efforst to shift to C++ templates using Google's Highway project. I worked on porting `np.negative` to it!
1 days ago [-]
bobmarleybiceps 24 hours ago [-]
I sort of wish they used c++ for some of the template stuff, especially since the code base already seems to have some C++ iirc.
I also contributed a tiny bit in the past, and their C template system was a surprise. (but this is cool and I love numpy anyway lol)
brcmthrowaway 7 hours ago [-]
I don't understand, I thought numpy hooked into the fortran stuff :|
bobmarleybiceps 51 minutes ago [-]
numpy is pretty much all C and python. They may dispatch to some Fortran libraries, but I think basically all the internal implementations they have are C.
IIRC, scipy does (did?) actually use a lot of fortran fwiw.