Rex Kerr
1 min readApr 17, 2024

--

Go and Dart are slower than Rust, due to obligatory memory management. Crystal is more mixed, but it fails to provide Rust's ability to write incredibly fast and safe code.

So out of those, there's little reason not to use Rust.

The interesting case is Julia, which is a sometimes awkward but mostly usable blend of high level Python type stuff with really fast numerics. It does have obligatory memory management too, but for data science it makes the right things easy and the right things fast often enough so that it's interesting--while you're bumbling around with low-level concepts in Go and Dart, you're probably working at a higher level in Julia but without a performance hit.

In the future, Mojo might also actually be a competitor. It's intended to be, but it has a lot of growing to do as more than another way to write Python; and other languages (like Julia) might be able to take advantage of the optimization potential from using MLIR which would remove its special advantage.

--

--

Rex Kerr
Rex Kerr

Written by Rex Kerr

One who rejoices when everything is made as simple as possible, but no simpler. Sayer of things that may be wrong, but not so bad that they're not even wrong.

No responses yet