Re: which object orient language is most suitable for embedded programming?



David Brown wrote:

.... snip ...

What's wrong with writing your own startups? I do that regularly,
in C projects. It's a matter of getting the code you want for your
application, right from the start - I have different requirements
at different times, depending on whether code is running from
flash, or from ram, or some mixture. I write my startups in C -
there is no assembly after setting up the stack pointer and jumping
to the C code. Even the zeroing of the BSS is done in C.

You can do much better if you ban recursive calls to main. Then
the initial call in main can be to an init operation, and from then
on the code loaded is dependant on what is actually needed,
assuming fine modularization of the run time library.

--
Chuck F (cbfalconer at maineline dot net)
Available for consulting/temporary embedded and systems.
<http://cbfalconer.home.att.net>


.


Quantcast