News for hackers. Stuff that matters.
Re:Rewriting Fortran Software in Rust by cs702 on Wednesday July 15, 2020 @01:01PM (#23848053)
I find it remarkable that one person with just over a year of Rust experience can successfully rewrite ~6000 lines of well-tested, highly tuned Fortran in Rust and end up with similar performance on benchmarks without having in-depth expertise in the domain (simulation of fluid dynamics). The benchmarks (https://mckeogh.tech/post/shallow-water/84896735-54a97580-b0...) show similar performance across all input sizes for both the old Fortran and the new Rust code, with Fortran outperforming in some cases and Rust outperforming in others.
Re:Rewriting Fortran Software in Rust by faitswulff on Wednesday July 15, 2020 @07:26PM (#23853713)
Actually closer to 4 years of experience:

> As for my Rust experience, I’ve been using it for personal projects since ~2016 and I worked as a Rust software engineer at a startup in Berlin for a year after leaving high school.

Publish date on this blog post: July 14th, 2020

Re:Rewriting Fortran Software in Rust by Someone on Wednesday July 15, 2020 @01:08PM (#23848159)
FTA: “The result of this is that these simple operations are being performed on some very large amounts of data which I believe is resulting in a memory bandwidth bottleneck. This hypothesis explains why SIMD did not improve performance and performance is not significantly improved by parallelisation”

If that’s true, comparing system load or power usage could be a way to differentiate between the two implementations.

Re:Rewriting Fortran Software in Rust by tastyminerals on Wednesday July 15, 2020 @02:23PM (#23849423)
Rust is not a very good example here considering the amount of time the op might have spent waiting for the compiler and steep learning curve of the language...