From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 23398 invoked from network); 5 Jul 2021 03:48:43 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 5 Jul 2021 03:48:43 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 319579CA24; Mon, 5 Jul 2021 13:48:40 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 72F619C9F2; Mon, 5 Jul 2021 13:47:59 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id AA9CB9C9F0; Mon, 5 Jul 2021 13:47:57 +1000 (AEST) Received: from mcvoy.com (mcvoy.com [192.169.23.250]) by minnie.tuhs.org (Postfix) with ESMTPS id B6D299C9F0 for ; Mon, 5 Jul 2021 13:47:56 +1000 (AEST) Received: by mcvoy.com (Postfix, from userid 3546) id 5172F35E104; Sun, 4 Jul 2021 20:47:51 -0700 (PDT) Date: Sun, 4 Jul 2021 20:47:51 -0700 From: Larry McVoy To: John Cowan Message-ID: <20210705034751.GU817@mcvoy.com> References: <20210702213648.GW817@mcvoy.com> <20210705002119.GL817@mcvoy.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Subject: Re: [TUHS] Is C obsolete? (was Re: [tuhs] The Unix shell: a 50-year view) X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: The Unix Heritage Society mailing list Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" On Sun, Jul 04, 2021 at 10:36:46PM -0400, John Cowan wrote: > > We both love C, we are both disciplined enough to write > > maintainable/extendable code in C, it works for us. We really clicked > > over our love of C. > > Are you really sure that all the C code the two of you have written in your > careers carefully avoids all 191 kinds of undefined behavior in C99 (the > number has grown since then)? Give me leave to doubt it. I'm sure there are all sorts of problems with C. Somehow we both never encountered them. My experience is that people come up with this or that, and they are right, there is a there there, but Eric and I, he more than me, we just wrote a ton of code in C, like 3-4 decades, all of that code works and works better than the people who second guess us. Our code works. I've been through coverity trying to tell us where the problems were, they found none. I've been through Intel's fancy compiler that would make things faster, it was a .1-.5%. I don't remember, it was nothing. I'm good with my understanding of C. I get that you get it at a more detailed level, go you. I get it at a more basic practical level and that has served me well.