Write Once,Run Anywhere
Java 祖师爷就是由于发现用 C++ 开发的过程中会花大量的时间处理内存、不同的指令架构等的问题,所以才有高“移植性”的Java 诞生。采访Java 祖师爷的报道链接 。
And there are a bunch of places in C, where it’s really easy to make errors that can cause your system to fall over and just do bad things. Most of them have to do with the memory model. The two big ones we have, three big ones I guess were the unchecked array bounds, the weird and wonderful world of pointers and then the fact that you can cast anything to anything and they’re always completely unchecked.
And when these consumer electronics companies, to look through the things that caused them reliability issues; those were like nearly at the top. And so, it’s like well okay, so, I was the person in the project who was tasked with, well go off and try to figure out how to fix the