From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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.2 Received: (qmail 22358 invoked from network); 25 Apr 2020 20:12:06 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with UTF8ESMTPZ; 25 Apr 2020 20:12:06 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 44B2F9C8D8; Sun, 26 Apr 2020 06:12:03 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id B63899C733; Sun, 26 Apr 2020 06:11:38 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id 936749C733; Sun, 26 Apr 2020 06:11:36 +1000 (AEST) Received: from pio-pvt-msa1.bahnhof.se (pio-pvt-msa1.bahnhof.se [79.136.2.40]) by minnie.tuhs.org (Postfix) with ESMTPS id E42819B962 for ; Sun, 26 Apr 2020 06:11:35 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by pio-pvt-msa1.bahnhof.se (Postfix) with ESMTP id 6E2FC3F905 for ; Sat, 25 Apr 2020 22:11:34 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at bahnhof.se Received: from pio-pvt-msa1.bahnhof.se ([127.0.0.1]) by localhost (pio-pvt-msa1.bahnhof.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CqzgwdSfg9FA for ; Sat, 25 Apr 2020 22:11:33 +0200 (CEST) Received: from localhost (unknown [85.24.253.39]) (Authenticated sender: mc592273) by pio-pvt-msa1.bahnhof.se (Postfix) with ESMTPA id 7F0283F8FE for ; Sat, 25 Apr 2020 22:11:33 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by localhost (Postfix) with ESMTPS id EB5E82E02D2 for ; Sat, 25 Apr 2020 22:11:32 +0200 (CEST) Date: Sat, 25 Apr 2020 20:11:31 +0000 From: Michael =?utf-8?B?S2rDtnJsaW5n?= To: tuhs@tuhs.org Message-ID: <9b9e01a6-fc1a-48a3-879c-665eb5a74205@localhost> References: <20200425180357.A004918C0B6@mercury.lcs.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200425180357.A004918C0B6@mercury.lcs.mit.edu> Subject: Re: [TUHS] v7 K&R C 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: , Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" On 25 Apr 2020 14:03 -0400, from jnc@mercury.lcs.mit.edu (Noel Chiappa): > Then again, down that road you find a lot of modern code, where a programmer > writes something that is e.g. horribly inefficient and slow, precisely because > they are so divorced from the low-level of what the code they wrote turns into... ...and then there's an exceptionally complicated CPU execution pipeline in which code is rearranged to try to allow the CPU to execute it as fast as possible while preserving "observable" behavior. As we know, down that road lies... security vulnerabilities. That said, I agree; I don't know how many times I've nearly headdesked coming across code that looks like someone typed the first thing that entered their mind, instead of actually thinking the problem through first and _then_ coding a solution. I'm almost certainly not innocent there myself, either, although I do try. -- Michael Kjörling • https://michael.kjorling.se • michael@kjorling.se “Remember when, on the Internet, nobody cared that you were a dog?”