There's lots of stuff that we build, and we say things like, "Language X is slow, but it doesn't matter." "Language Y uses a lot of memory, but it doesn't matter." This is very, very often true. But every once in a while, it really matters.
That's when you want something like Rust. When the details are important. When you need full control, but you'd like a compiler to help catch your mistakes. When a garbage collector has too much overhead. When you need to write something inside of Language X or Y, instead of a C extension, you can use Rust.
Basically, anywhere you'd use C or C++, Rust is a great fit. Elsewhere? Maybe, maybe not. Depends.
Are there any examples/discussion/information for interacting with rust from python, like you would a C extension?
A Ruby gem in Rust was one of our earliest production uses.
Rust is a systems programming language that runs blazingly fast,
prevents nearly all segfaults, and guarantees thread safety.[1]
So, if you care for low memory usage, execution speed or safety guarantees especially for hard-to-debug kind of errors, then Rust might be interesting for you.It offers low-level access like C or C++ but excels with vastly improved security. So, I'd take that step, and say that where C or C++ is used right now, you might want to use Rust in the future.
http://benchmarksgame.alioth.debian.org/u64q/compare.php?lan...
or go:
http://benchmarksgame.alioth.debian.org/u64q/compare.php?lan...
Here's what it's not as 'blazingly fast' as:
http://benchmarksgame.alioth.debian.org/u64q/compare.php?lan...
The Rust language offers low-level access with amazing security guarantees, and is working on an optimizing toolchain.
Let me take Python as a comparison. It has fundamental[1] roadblocks for being fast on current and probably future hardware, because its dynamic nature requires many indirections which are problematic for CPU cache efficiency.
Will Rust always be faster than C? Probably not, but that is not needed to be blazingly fast. What is important is that there are no fundamental difficulties to be as fast as C.
[1] I know, you can work around some of those indirections.
(By 'always' did you mean 'ever'?)
That may be so, but their advertising gives the wrong impression. They should keep their claims muted until they can back them up.
Just trying to dismiss measurements that are publically available, without putting forward something you consider better, is kind-of…
The expectation that has been created is - "Rust is a systems programming language that runs blazingly fast" - and that may lead to disappointment.
That's all. No reference to "a particular benchmark", or whatever you take "generally fast" to mean.