3 ms·
I was using C++ 25 years ago! Worked fine.
by fortran77 6y ago
I was using C++ 25 years ago! Worked fine.
- est31 6y ago25 years ago it wasn't C++11, but C with classes. Less TMP noise, small compilation units instead of the source code of entire libraries being #include'd.
- pjmlp 6y agoI guess you never used ATL, OWL, VCL, CSet++.
- est31 6y agoNo. I was born in the 90s. in the 2000s I was mostly doing .Net and Java, started doing C++ seriously in 2010s until I discovered Rust. Have I got the C++ history wrong?
- jolux 6y agoTemplates have been in C++ for a very long time, like 30 years iirc. I am not a big C++ gal but I'm pretty sure TMP long predates C++11.
- est31 6y agoTMP is older than C++11 yes, but the trend to use it so extremely is new I think. Or maybe I got that wrong, idk.
- pjmlp 6y agoHere for you, https://docs.microsoft.com/en-us/cpp/atl/active-template-library-atl-concepts?view=msvc-160 https://docs.microsoft.com/en-us/cpp/atl/active-template-lib... In 2000 it was version 3.0 alongside Visual C++ 6.0.
- deleted 6y ago[deleted]
- galangalalgol 6y agoI was using both templates and the stl heavily in 2002. I started learning c++ in 94 or 95 can't remember. Turbo c++ did not have templates, before the 98 standard it mostly was c with classes. And lots of unnecessary inheritance and overloading. Edit, should include that the experience in 2002 was on a corporate project which ultimately had many millions of lines of code, so not just some crazy guy in a basement. Lots of crazy people were in the basement with me.
- est31 6y agoAlright, thanks for that anecdote. I was wrong about that then.
- pjmlp 6y agoTurbo C++ for Windows 3.1 already had template support, this was in 1993. On MS-DOS Borland C++ 2.0 was the first compiler to support them. Naturally this was work in progress, try to keep up with the latest stand from WG 21.
- fortran77 6y agoLeave the hard stuff to us C++ old-timers!
- est31 6y ago> Stick to Rust and leave the hard stuff to us C++ old-timers! Excuse me?
- mousepilot 6y agolol or MFC, I checked that out and subsequently pulled the power plug on my pc. Granted I'm probably not a very good programmer. heck my comment is probably not even on topic in this thread.
- pjmlp 6y agoNot sure what is so fun about it, given that after 4 years in development C++/WinRT still doesn't have Visual Studio support that can match MFC.
- fortran77 6y agoThis is completely, 100% wrong. 25 years ago on was on the Adobe Photoshop team, happily programming in C++. We had templates, smart pointers, and the STL. And the people at Taligent were all about C++, around the same timeframe.
- simias 6y agoSure, but the language was smaller back then (not small, mind you, but smaller). Boost was only created in 1999 after all! Also, people have been complaining about C++ compile time for as long as I can remember, so I don't think it necessarily invalidates my point.
- User23 6y agoC++ was incomprehensibly complex back then too. Comeau was the only vendor that even pretended to offer a conforming compiler.
- rwmj 6y agoC++ 25 years ago (1996) was terrible. I used to have to keep a large C++ application going on GCC, Sun's compiler and Microsoft's compiler and it was a nightmare. Using templates with classes would invariably cause one or other of the compilers to crash, so we had to concentrate on the simplest subset of the language that worked. STL was very new and not supported on all platforms so we ended up reimplementing a lot of that in our own classes. Build times were glacial and the resulting binaries were enormous. Multiple string types. And horrific things like CORBA's C++ bindings ...
- stjohnswarts 6y agoHaha I used to be very protective of APIs for shared libraries as much for having to recompile as I was about just having stable APIs :D
- evgeniysharapov 6y agoI have used C++ in 2001 with ROOT and it was a long wait most of the time. Depending on your codebase and libraries involved making compiling and linking fast was an art form