Live data from Hacker News

Why scientists are turning to Rust

nature.com

1–10 of 105 posts

Re: Why scientists are turning to Rust

#2
Rust is a very compelling environment for many kinds of scientific computing, also due to the features noted in the article:

“Unlike the many compilers and ancillary utilities that programmers use to build C code, Rustaceans can use a single tool, called Cargo, to compile Rust code, run tests, auto-generate documentation, upload a package to a repository and more. It also downloads and installs third-party packages automatically.”

Fetching required packages in this way is very convenient, something one notices rather soon when writing Rust applications. There are already many dedicated packages also for highly specialized applications, and with cargo it is easy to use them immediately.

Re: Why scientists are turning to Rust

#6
I work in hci research and have never played with/ heard of Rust being used. Was quickly checking for visualisation libraries and found https://lib.rs/visualization

Loved the Color scheme and font ... lol. Anyways, will be using Rust for a small side project (short paper for augmented Humans ( https://augmented-humans.org/ deadline in 2 weeks :) let’s see how quickly I can learn it).

Any tutorial recommendations go using Rust for statistics/data plotting? https://lib.rs/crates/plotlib Or the gnuplot Wrapper looks up for the task for me.

Re: Why scientists are turning to Rust

#7

I've been learning Rust and find it not hard to learn, I think because I already know C/C++ and understand the concepts of pointers, references, stack and heap allocations.

Agreed, I've seen lots of posts about the learning curve so I went in expecting a lot of pain. I've been pleasantly surprised so far.

Re: Why scientists are turning to Rust

#8
You know why I like Rust as a programmer? It's community feels a lot like how the Perl community did at the height of Perl's popularity.

This is in contrast to Python's (has a friendly community, but tends to have bikeshedding), Node's (outright toxic npm-based warfare), or Java's (corporations shit out awful code when they're done with it, ie, everything donated to Eclipse or Apache, or all the dumpster fire code Google has released, and its up to you to judge how awful it really is).

Perl's CPAN? Lots of really nice code that follows a pretty good UNIX "does one thing, and does it well" philosophy, with lots of friendly folks.

As long as Rust doesn't have a Perl 6 moment, we're good.

Post reply on HN