[TUHS] v7 K&R C
Larry McVoy
lm at mcvoy.com
Wed May 13 03:42:57 AEST 2020
Just a note, you seemed like you are replying to me (see below) but what
you quoted Paul wrote. I am most certainly NOT putting myself out there
as a C++ expert, I'm a C guy through and through.
On Tue, May 12, 2020 at 01:35:24PM -0400, ron at ronnatalie.com wrote:
> > On 5/11/20, Larry McVoy <lm at mcvoy.com> 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, we
> use templates to INCREASE rather than decrease performance. Templating
> is almost entirely compile time rewrites.
--
---
Larry McVoy lm at mcvoy.com http://www.mcvoy.com/lm
More information about the TUHS
mailing list