Re: C vs C++ in Embedded Systems?

From: Dave Hansen (iddw_at_hotmail.com)
Date: 02/08/05


Date: Tue, 08 Feb 2005 16:04:53 GMT

On Mon, 07 Feb 2005 18:31:39 +0200, Anton Erasmus
<nobody@spam.prevent.net> wrote:

>On Mon, 07 Feb 2005 14:27:03 GMT, iddw@hotmail.com (Dave Hansen)
>wrote:
>
[...]
>>FWIW, at the turn of the century I (briefly) worked on an application
>>using a (mumblemumble 500?) MHz Pentium running QNX and hosting 256 MB
>>RAM. The application itself wasn't that big (< 2 MB, IIRC), but it
>>sucked in huge volumes of (mostly image, but other kinds of mapping)
>>data for processing in real time. I won't claim it used all its
>>memory, but I know it used more than 128 MB.
>
>Yes, but most of the stuff was data. To have that much code is
>absolutely huge. What sort of application needs these massive amounts
>of code space. I am sure that many databases can basically grow to any
>size datawize.

Yes, that was my point. Memory holds more than programs.

In terms of conventional "embedded programming," we paid essentially
_no_ attention to the size of the application.

Regards,

                               -=Dave

-- 
Change is inevitable, progress is not.


Relevant Pages

  • Re: embedded questions!!!
    ... >>> that they occupy the exact same memory? ... If you look at the above list and think about Harvard architectures ... and if the code space is the only non-volatile memory present. ... passing around pointers to data which may be either in code space or ...
    (comp.arch.embedded)
  • Re: Overview Of New Intel Core i7(Nehalem) Processor
    ... If x86 had serious i/d space separation, and Microcrap used it, all ... Code space being in different chips, on a different bus is the ideal. ... The memory can be logically divided into sections and security can be ... stacks in the same address space as the subroutine code itself! ...
    (sci.electronics.design)
  • Re: question makeing run-time image
    ... psize represents the physical size of the section in memory, ... > Code space full, fixing up MediaRenderer.dll to ram space ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Problem with asm
    ... Image a system that memory ... I suspect the OP was targeting some kind of system where memory access ... bazillions of embedded microcontrollers. ... I've been doing embedded programming for 26 years and writing ...
    (comp.lang.c)