Path: ...!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Michael S Newsgroups: comp.lang.c Subject: Re: valgrind leak I can't find Date: Fri, 23 Aug 2024 16:26:50 +0300 Organization: A noiseless patient Spider Lines: 41 Message-ID: <20240823162650.000001c6@yahoo.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Date: Fri, 23 Aug 2024 15:26:58 +0200 (CEST) Injection-Info: dont-email.me; posting-host="390be1a8b7b8306fa0a09c1cb3e4318f"; logging-data="977617"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+eZkjMxNd9xTMY1LjJ2ZZ1iZ86vJUs8U0=" Cancel-Lock: sha1:nvhYFpxz7rohjH3USfbD2BPuZiU= X-Newsreader: Claws Mail 4.1.1 (GTK 3.24.34; x86_64-w64-mingw32) Bytes: 2777 On Fri, 23 Aug 2024 12:18:38 +0100 Bart wrote: > On 23/08/2024 12:03, Stefan Ram wrote: > > Mark Summerfield wrote or quoted: > >> I don't want to post the code since it is just for me relearning > >> C. > > > > It's totally your prerogative if you wanna keep your code > > on the down-low. No need to spill the beans. > > > > But just to cut through the fog in your logic, your "since" > > reasoning is a bit of a brain-bender: If I'm cranking out some code > > to sharpen my C chops, that's no reason to bury it six feet under > > later on. > >> (I'm creating a tiny collections lib: Vec (of void*), VecStr, > >> VecInt, SetInt, SetStr.) > > > > Yeah, for sure. But we got to wonder if these are really > > meat-and-potatoes C problems . . . > > > > Scope out what C was cooked up for in the first place. Eyeball > > those vintage UNIX source files: "find.c", "echo.c", "tar.c", > > "ls.c", "zork.c", "tail.c", and all that noise. How many of > > those kick off with a container library? > > > > What gnarly waves are you missing out on in efficient and > > idiomatic C programming by thinking, "I'll use my container > > library and write C like it's some Silicon Valley startup code!" > > > > So, what have you done with the real Stefan Ram? > It looks like real Stephan Ram hatched out of old restrictive eggshell few months ago. BTW, in order to compare his writing style of old with the new one, I tried to look for his posts on Google Groups. It turned out that I can only see citations. Posts themselves are not archived. Mysterious.