Mastodon Feed: Post

Mastodon Feed

glyph ("Glyph") wrote:

"Exception handling requires runtime code"

- C++ requires a runtime (sometimes: if you're writing kernel code or some other no-runtime context you might have to write C++ in a dialect that is missing runtime-requiring language features)
- Python obviously in its own runtime
- Rust… has no runtime

So: rust has no exceptions.

Rust has result types.

#NBPy