Another advantage of using Java is the cross-platform nature of the byte code that your source code is compiled into. |
First we create a buffer that is one byte bigger than the user string and fill it with zeros. |
I now know there are eight bits in a byte, and 1024 megabytes in a gigabyte. |
The 0s and 1s are then formed together to produce binary, which is interpreted by the computer as a byte of data. |
Here is how this four byte sequence is interpreted as an unsigned integer under the two ordering conventions. |
The time it takes to read a single byte at random is MUCH higher on a rambus system than on a DDR system. |