[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] AVR-GCC question
From: |
Daniel O'Connor |
Subject: |
Re: [avr-gcc-list] AVR-GCC question |
Date: |
Tue, 24 May 2005 09:40:48 +0930 |
User-agent: |
KMail/1.8 |
On Tue, 24 May 2005 02:27, Joerg Wunsch wrote:
> "E. Weddington" <address@hidden> wrote:
> >>It would be nice if some form of polymorphism happened that allowed
> >>the compiler/linker to automagically pick the right function to
> >>handle a given data type though.
> >
> > Sure, it's called C++. :-)
>
> And not so sure whether you'd really want to pay the penalty for it,
> as it causes code bloat (all routines must be able to handle all
> memory regions, even though some of them perhaps aren't used in all of
> the functions), as well as increased execution time (late binding
> model, aka. virtual method table).
You wouldn't necessarily need late binding - I think most cases would be
satisifed with compile-time evaluation of the pointer type.
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
-- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
pgpk1L5EJ5PLL.pgp
Description: PGP signature
- Re: [avr-gcc-list] AVR-GCC question, (continued)
- Re: [avr-gcc-list] AVR-GCC question, Joerg Wunsch, 2005/05/23
- RE: [avr-gcc-list] AVR-GCC question, Trampas, 2005/05/23
- Re: [avr-gcc-list] AVR-GCC question, E. Weddington, 2005/05/23
- Re: [avr-gcc-list] AVR-GCC question, Matthew MacClary, 2005/05/23
- Re: [avr-gcc-list] AVR-GCC question, Joerg Wunsch, 2005/05/24
- Re: [avr-gcc-list] AVR-GCC question, Jeff Epler, 2005/05/23
- RE: [avr-gcc-list] AVR-GCC question, Trampas, 2005/05/23
- RE: [avr-gcc-list] AVR-GCC question, Dave Hansen, 2005/05/23
- Re: [avr-gcc-list] AVR-GCC question, Jeff Epler, 2005/05/23
- Re: [avr-gcc-list] AVR-GCC question, Russell Shaw, 2005/05/23
- Re: [avr-gcc-list] AVR-GCC question,
Daniel O'Connor <=
RE: [avr-gcc-list] AVR-GCC question, Matt.VanDeWerken, 2005/05/22
[avr-gcc-list] AVR-GCC question, Haase Bjoern (PT-BEU/EMT) *, 2005/05/23
Re: [avr-gcc-list] AVR-GCC question, Klaus Rudolph, 2005/05/23