News for hackers. Stuff that matters.
Re:Why we chose Rust by tylerhou on Thursday June 20, 2019 @07:11PM (#20238361)
> Numpy and Scipy are, I'm going to bet, mostly C.

You'd be surprised; About 25% of SciPy (much of the numerical computing portions) are in FORTRAN. It turns out that decades of compiler/numerical computing research has made the FORTRAN compiler generate numerical code which runs faster than GCC/Clang today.

https://github.com/scipy/scipy

Re:Why we chose Rust by cyphar on Thursday June 20, 2019 @09:48PM (#20239180)
Most people use the GCC Fortran front-end. I think the main reason you get speed from Fortran is because it provides more hints to the compiler, but also because generations of PhD students have been optimising compilers for Fortran-specific performance gains.
Re:Why we chose Rust by pjmlp on Friday June 21, 2019 @02:35AM (#20240363)
People that care about Fortran performance use Intel, PGI, IBM compilers.
Re:Why we chose Rust by cyphar on Friday June 21, 2019 @03:01AM (#20240511)
Maybe, but most people who are using numpy are probably using their Linux distro's package for it (or the pip package) which means it's being compiled using GCC.
Re:Why we chose Rust by pjmlp on Friday June 21, 2019 @03:39AM (#20240667)
Depends if they work on HPC environments or not.
Re:Why we chose Rust by Waterluvian on Thursday June 20, 2019 @07:14PM (#20238374)
Wow. That's a really cool thing to see. Thanks for sharing. So Python bindings around Fortran. Cool.