https://www.facebook.com/groups/englishskillup/permalink/2158643781060626/
For a programmer, the primary programming language is very important. It decides the coding style and even how he solves the problem. My primary one is Java, which is released in 1995 by Sun Microsystems now merged with Oracle.
Java is intended to embed in small embedded devices, which hardward compatibility is not gauranteed. On the contrary PC provides standardized environment. Java introduced Java Virtual Machine, which covers each different machine would be the same for the programmer.
Java has the different JVM for each OS such as windows, mac and linux but the source code would be the same for run it. We call it 'Write once run anywhere'. For web languages like javascript web browser plays the same role of JVM, more specifically the javascript engine like v8.
When providing such common environment, data type should be consistent.So int type in java is 4 bytes for all JVM. It was quite a new approach because C language has different length for int type whether the machine is 32 bit or 64 bit. If c program runs well in 32 bit, it could cause problem in 64 bit but Java does not.
Other than data type lengths, there should be many considerations for JVM such as threading mode, which is OS terratory.
I will contiune to next. Thank you.
2018.10.17