News for hackers. Stuff that matters.
Re:NumPy Illustrated: The Visual Guide to NumPy by dunefox on Wednesday December 30, 2020 @07:59AM (#25581265)
But as soon as you actually need to implement an efficient library you must use C/C++/Fortran. Julia, for example, allows you to stay in Julia and get comparable performance.
Re:NumPy Illustrated: The Visual Guide to NumPy by rbanffy on Wednesday December 30, 2020 @10:51AM (#25582685)
If you need to implement an efficient vector math library on modern hardware you'll end up using intrinsics, padding structures for cache alignments, identifying which CPU, GPU, NPU, and vector extensions you are running on to better use specific features, and so on, and it won't look like idiomatic sequential C/C++/Fortran for almost every value of "idiomatic".