4 ms·
Today people think that Java's main feature was OOP, but its main selling point was "no undefined behavior" (e.g. "int" means 32-bit signed integer with overflo
by deepsun 2mo ago
Today people think that Java's main feature was OOP, but its main selling point was "no undefined behavior" (e.g. "int" means 32-bit signed integer with overflows, on any platform, no exceptions). Today it sounds normal, but back in the day that was what made Java popular.
- pjmlp 2mo agoAs someone that jumped into Java already in 1996, even though it was still interpreted, JIT would only come into early 2000's, there was another big factor, the standard library. Contrary to what people think nowadays, trying to write portable C or C++ code in the 90's was still an adventure. C compilers were still getting C89 compliance, and POSIX wasn't as portable as folks think. C++ was even worse, C++ARM was the C++ version of K&R C, compilers were more diverse than nowadays, each with their own frameworks, and C++98 was still a few years away. Alongside Perl with CPAN, it was a big batteries box. Python wasn't that relevant yet.
- deepsun 2mo agoYes, forgot about that. Aren't C/C++ compilers also very diverse today as well? GCC vs CLang with its intermediate representation sound like different planets.