Hacker News new | ask | show | jobs
by delamon 238 days ago
Correct. Any language with builtin bounds checking would work.
1 comments

If your only criteria is "remove the buffer under- and over-flows", yes. IMO Rust helps with a few more things. Its strong static typing allows for certain gymnastics to make invalid states unrepresentable. Though in fairness, that is sometimes taken too far and makes the code hard to maintain.

Tradeoffs, as always.