Blog post: Rust vs Julia in scientific computing

For dot methods completion in julia you can try my fork of vscode extension at Release A quick dot methods completion demo · xgdgsc/julia-vscode · GitHub . So it’ s not impossible to do it in julia ,it’ s just a lack of developer time to make the extension experience optimal.

1 Like

Sorry for reviving an ancient discussion, I was just researching rust vs julia for scientific computing topic for my own purpose and here is my impression on this.

Rust has some strong advantages over julia, such as ability to cross compile to a variety of platforms and it does not need to be installed on a target platform. This opens a range of applications, which julia is currently not suitable for.

Rust also have a big disadvantage: you have to be an experienced programmer to use it. However, a lot of code, especially in scientific domain, is developed by non-programmers, like scientists, engineers, students, hobbyists etc. All these amateur coders use high level languages (mostly python but also julia, matlab and others) because of their plain simple syntax. I can’t imagine this user base dealing with pita like lifetimes, reference counters, etc for their routine tasks. Sorry, this is just not going to happen.

However, rust allows you to create high level frameworks with simple DSLs, which hide confusing concepts from the end user inside modules and expose all advantages of rust like cross compilation, thread safety, etc. There are a bunch of such frameworks for different domains existing and ecosystem is growing. I expect more rust frameworks to pop up for scientific domain in nearest future, even possibly some REPL environment built on top of rust. If rust development goes this way, it may become a strong competitor to other high level languages in scientific and other fields.

2 Likes

A good example is the new Rust version of BEM++: GitHub - bempp/bempp-rs: Boundary element methods in Rust

Timo Betcke is starting to make a big push in developing numerical linear algebra and related scientific computing applications in Rust.

3 Likes

Great read fr, thanks for sharing this comparison! It’s a very detailed and honest look at two languages that are both doing fascinating things in the performance space.

Also Rust Gang!