Earlier quoted context omitted.
https://news.ycombinator.com/item?id=13636724 Offering context? ;-)
That is a slightly different thing: stable is a perfectly good choice, but one can still debate the fairness or not of being compared to C-with-language-extensions i.e. not standard C (a joke which I think you missed, in one of kibwen's replies).
What can Rust do for astrophysics?
111–115 of 115 posts
Re: What can Rust do for astrophysics?
#112For those who are looking at doing data analysis with Rust in astrophysics, I have a crate fitsio ( https://crates.io/crates/fitsio ) which wraps cfitsio into rust, allowing the reading and writing of .fits files.
https://github.com/astrogo/fitsio
(a pure Go version)
Re: What can Rust do for astrophysics?
#113Earlier quoted context omitted.
The code has now been improved with all the suggestion friendly made by the Hacker news and Rust subreddit communities. Thanks!
I just had a look at the Fortran code, and oh boy, it's not pretty, and far from "canonical" Fortran. I will submit a PR (hopefully later tonight) that makes it less ugly and slow. (Protip: don't use if's inside tight loops. Just don't.)
Re: What can Rust do for astrophysics?
#114Earlier quoted context omitted.
I just had a look at the Fortran code, and oh boy, it's not pretty, and far from "canonical" Fortran. I will submit a PR (hopefully later tonight) that makes it less ugly and slow. (Protip: don't use if's inside tight loops. Just don't.)
Update: just sent you a PR that reduces the amount of code by ~70% while increasing the speed by ~30% for the Fortran version.
Re: What can Rust do for astrophysics?
#115Earlier quoted context omitted.
Does current Rust stable provide equivalent SSE support? If so then an equivalent Rust program would be welcome. If not then it's hardly unfair to compare what actually is provided in current Rust stable to what actually is provided in an old C compiler (gcc 5.4.0).
> Does current Rust stable provide equivalent SSE support? Yes, stable Rust provides equivalent SSE support to the language specified as ISO 9899:2011. :P
Apparently this is just Rust stable not providing the functionality.