News for hackers. Stuff that matters.
Re:Visual Studio Code for Go by dragonwriter on Thursday March 03, 2016 @01:45PM (#11218931)
> If I add a 32-bit integer and a 64-bit integer, what other possible result could I be expecting besides a 64 bit integer?

A 128-bit integer (if you are adding a 32-bit integer and a 64-bit integer, the smallest power-of-2-bits representation guaranteed not to have an overflow is 128-bits, so its the safest result. Though, I'd agree, not the most likely thing most programmers would intend.)

Re:Visual Studio Code for Go by 0xffff2 on Thursday March 03, 2016 @02:08PM (#11219159)
Good point. As painfully explicit as Rust is at times, I'm actually slightly surprised they didn't go that route. (At least for integer sizes less than 32 bits.)