Comment

Comment by steveklabnik

Rust does as much as possible at compile time, and some of its most famous features are entirely at compile time, but it will also use runtime checks where appropriate.

Some amount of runtime checking is inherent in any program. Even dependently typed programs must, for example, check input at runtime. They can make it easier to have absolutely minimal runtime checks, however. Rust is adding a limited form of dependent types for this reason.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton