4 ms·
Yeah, Java always uses 64 bits for "long", even on 32-bit systems. Which only adds to the confusion, since it's different from C and C++. (Another place where
by cesarb 9y ago
Yeah, Java always uses 64 bits for "long", even on 32-bit systems. Which only adds to the confusion, since it's different from C and C++.
(Another place where Java is confusingly different: "volatile" implies a memory barrier in Java, but not in C and C++.)