Re:Background: how we got the generics we have (2020)
by AnimalMuppet on Thursday April 01, 2021 @03:51PM
(#26665208)
We cross-compiled to get gcc on every platform. Even then, it was still:
#ifdef _AIX
...
#else ifdef SGI
...
#else ifdef WINDOWS
...
#else // everything else
...
#endif
Shudder.But the other thing that Java had is the library. Compared to C++'s standard library in 1996, it was a revelation.
If you were trying to write portable C++ code in 1996 you would get it, specially when using each OS specific C++ compiler provided by the platform vendor.