top | item 46162590

(no title)

ratmice | 2 months ago

Presumably since this language isn't C they can define it however they want to, for instance in rust std::i32::MIN.wrapping_sub(1) is a perfectly valid number.

discuss

order

xigoi|2 months ago

Nim (the original one, not Nimony) compiles to C, so making basic types work differently from C would involve major performance costs.

beagle3|2 months ago

And yet, Nim does overflow checking by default.