[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-chat] Re: Variable Pinouts
From: |
Joerg Wunsch |
Subject: |
Re: [avr-chat] Re: Variable Pinouts |
Date: |
Thu, 24 Aug 2006 19:07:47 +0200 (MET DST) |
"Steve Franks" <address@hidden> wrote:
> Since templates are handled by the
> preprocessor, I don't think it adds overhead either.
Well, they are not handled by the preprocessor (that's the part of the
compiler that handles #include and such), but I agree that they should
not add overhead provided they are properly done. They are somewhat
like C++'s replacement for traditional macros.
It's just that many embedded programmers (me included) are probably
much more familiar with C than C++.
The era when C++ could be implemented by a simple preprocessing into C
code has IMHO long since passed.
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)