[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] C++ on AVR 90S8515
From: |
Joerg Wunsch |
Subject: |
Re: [avr-gcc-list] C++ on AVR 90S8515 |
Date: |
Mon, 24 Jun 2002 22:11:06 +0200 (MET DST) |
Torsten Hahn <address@hidden> wrote:
> I dont know, if its very sensfull to use c++ in an device with only
> 512 Bytes of Memory ?
Why depends the use of C++ classes on available memory?
E. g. writing the algorithm of an FFT using a (simple) complex class
as a complex FFT can make writing it down much easier. The resulting
code should be about the same.
Of course, with C++ you have to be very cautious to not waste memory
and execution time by a simple forgotten `&' in a formal function
argument...
--
J"org Wunsch Unix support engineer
address@hidden http://www.interface-systems.de/~j/
avr-gcc-list at http://avr1.org