Re:Viper: a new programming language from Ethereum
by weavie on Tuesday May 23, 2017 @10:03AM
(#14401240)
Idris has compile time bounds checking.
It is a pretty special case though, you have to jump through a number of hoops using dependent types to get it.
Overflow checking is a bit more rare:
* Swift has it by default (error)
* So do Python, Ruby, Erlang (promotion to arbitrary precision)
* C# has an optional Checked Context though I don't know how common it is
* Rust has checked operations (opt-in, both error and saturating), will check (error) by default in debug mode, it can optionally check (error) in release mode