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=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 10640 invoked from network); 12 May 2020 17:35:45 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 12 May 2020 17:35:45 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id B3E2D9C698; Wed, 13 May 2020 03:35:44 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 22D8B9C669; Wed, 13 May 2020 03:35:31 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=fail reason="signature verification failed" (1024-bit key; secure) header.d=mxes.net header.i=@mxes.net header.b="e0GQQnCC"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id 5F4D79C669; Wed, 13 May 2020 03:35:28 +1000 (AEST) Received: from smtp-out-4.mxes.net (smtp-out-4.mxes.net [198.205.123.69]) by minnie.tuhs.org (Postfix) with ESMTPS id 7EAB79C668 for ; Wed, 13 May 2020 03:35:27 +1000 (AEST) Received: from squirrelmail.mxes.net (squirrelmail.mxes.net [198.205.123.113]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPS id 6829375983; Tue, 12 May 2020 13:35:25 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mxes.net; s=mta; t=1589304925; bh=yYSX70dXp60ZN53nR3t2VF3JKouzZZGoF9qBS/D7p3s=; h=Message-ID:In-Reply-To:References:Date:Subject:From:To: MIME-Version:Content-Type; b=e0GQQnCCjzWXkiF/R8EBUUn+wjgeN16eV6GXChiO3Y0627QejDI437Nb17IFzIrbD vmKinc6BAcLPxUQlkB3ud4GucwIK63W6X+ednIQyHD6Z2tq//HfFWGuj9cfnO1ZLJR iTIK8pIVEvMBYeluAWBhYptgsC7IUDxAtEqMzEWQ= Received: from squirrelmail.tuffmail.net (squirrelmail.mxes.net [198.205.123.113]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by squirrelmail.mxes.net (Postfix) with ESMTPSA id 7AD8A75B32; Tue, 12 May 2020 13:35:24 -0400 (EDT) Message-ID: In-Reply-To: References: <3cb1126796176debe28aa66672ba27ae@yaccman.com> <20200511005745.GL17035@mcvoy.com> <357EFE54-BD94-4C10-8C43-C6735BF7D317@via.net> <20200511202555.GU17035@mcvoy.com> Date: Tue, 12 May 2020 13:35:24 -0400 From: ron@ronnatalie.com To: "Paul Winalski" User-Agent: SquirrelMail/1.4.23 MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 X-Priority: 3 (Normal) Importance: Normal Content-Transfer-Encoding: quoted-printable X-Sent-To: 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: , Cc: The Unix Heritage Society mailing list Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" > On 5/11/20, Larry McVoy wrote: > o all std:: and STL functions > > The last two of these are mainly for performance reasons. throw and > catch play merry hell with compiler optimizations, especially of > global variables. You'll have to explain to me how templates or the standard library (which by the way includes all of the C stuff) affects performance. In fact, w= e use templates to INCREASE rather than decrease performance. Templating is almost entirely compile time rewrites.