Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: rbowman Newsgroups: comp.os.linux.misc Subject: Re: C/C++ timeline (was Re: Python: A Little Trick For Every Need) Date: 6 Feb 2026 04:12:17 GMT Lines: 65 Message-ID: References: <9hlumk1lodkjlm9a6egbo2fa79f85v6mad@4ax.com> <10lqdk2$n03u$1@dont-email.me> <10lrt1t$16vf1$1@dont-email.me> <-EOdnRUZmNTqQx_0nZ2dnZfqn_qdnZ2d@giganews.com> <10lvc6a$2a0lm$4@dont-email.me> <10lvt12$2g653$1@dont-email.me> <10m0915$2ka88$5@dont-email.me> <10m0fnd$2n7r1$3@dont-email.me> <10m25v7$36k4g$3@dont-email.me> <10m2855$38cir$2@dont-email.me> <10m2b84$30icq$1@dont-email.me> <20260205080604.00002be0@gmail.com> <20260205095745.0000319c@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net ctry5wNGWjpVfEwVDd3YEgwsRGM7ABTxTjINIxIpfVoSzcM+nk Cancel-Lock: sha1:Gax/2+bQEL1YuZfK25eT7ioaekM= sha256:N10bDI795K641J3fHVZgUDQDaf4gs8jIhFscdHuBLYs= User-Agent: Pan/0.162 (Pokrosvk) Xref: csiph.com comp.os.linux.misc:81790 On Thu, 5 Feb 2026 09:57:45 -0800, John Ames wrote: > True, but then that's also true (to a lesser extent) of C - certainly > you won't find C23 lambdas in K&R! https://en.wikipedia.org/wiki/Lambda_Literary_Awards 'Lambda' is sort of poisoned for me. Everyone seemed to come down with lambda envy. I'm not fond of the construct and it certainly can lead to obscure code. > I'm more curious about the point at which people besides the creators > were using it for stuff. DMR created C as a systems language for Unix, > but it wasn't the first HLL on that system and I don't know how long it > took to catch on with the rest of the Bell Labs crowd, let alone the > world at large; My first C compiler was BDS C: https://en.wikipedia.org/wiki/BDS_C It was a subset but I certainly got a lot of use out of it. Compared to Z80 assembler it was a dream. So, by 1980 a version of C was alive and well in the CP/M world. For MSDOS Microsoft bought Lattice C and developed from there. gcc was release in '87. I was using DJGPP (DJGCC at the time) around '90. It spawned both Cygwin and MinGW which had different philosophies. Corrina Vinschen of Cygwin was trying to create Unix on Windows and Mumit Khan was trying to use the gcc toolchain to build native Windows programs. To keep the timeline straight, this was gcc on MSDOS before Linux existed. > C++ post-"C with classes" existed by the mid-'80s, but > OOP didn't become a big fad 'til a good few years into the '90s and I > don't know how much use it ever saw before that point. Dog and Cat inherit from Animal. Dog says 'woof', Cat says 'meow'. I believe Stroustrup said you can do OOP without inheritance at all. The first couple of editions of his book looked a lot like C -- with classes. 'Objects' grew in complexity. In our legacy code, which goes back to the mid-'90s, there are a number of object types like OTVehicle, OTPerson, OTComment, etc. They are strictly structs. There is no inheritance or polymorphism, and the entire code body is C except for some C++ stuff I did for the Esri API. Even that complies to a dll that exports C functions. Much of it was held together with doubly linked lists. I can build those in my sleep and I've been tempted to see if they are more efficient than C++ container class lists built with templates and iterators. I never took to Java's 'everything is a class' model. Too much water under the bridge at that point.