[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] AVR-GCC question

From: Joerg Wunsch
Subject: Re: [avr-gcc-list] AVR-GCC question
Date: Mon, 23 May 2005 18:57:07 +0200 (MET DST)

"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).

cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]