3 ms·
Rust does have a runtime, but it's statically linked. https://doc.rust-lang.org/reference/runtime.html https://doc.rust-lang.org/reference/runtime.html
by ironmagma 6y ago
Rust does have a runtime, but it's statically linked.
https://doc.rust-lang.org/reference/runtime.html https://doc.rust-lang.org/reference/runtime.html
- steveklabnik 6y ago"runtime" is a term that has conflicting colloquial and precise definitions. In a precise sense, any non-assembly language, including C, has a runtime. In practice, this makes the term "runtime" not super useful to many folks, so they mean "virtual machine" or "large, featureful runtime that's required to support critical language features" when they say "runtime." Rust is the same as C in this regard. It technically has a runtime, but not in the way that many people mean.