Ruby implements integers in such a way that the distinction signed by / unsigned does not matter, since Ruby integers automatically expand into BigNum (arbitrary integer lengths) when applicable.
This effectively prevents integer overflows, which is IMHO the main reason people care about subscribing in languages ββwith fixed-size integers such as C.
source share