The Cyber-Spy.Com Usenet Archive Feeds Directly
From The Open And Publicly Available Newsgroup
This Group And Thousands Of Others Are Available
On Most IS NNTP News Servers On Port 119.
Cyber-Spy.Com Is NOT Responsible For Any Topic,
Opinions Or Content Posted To This Or Any Other
Newsgroup. This Web Archive Of The Newsgroup And
Posts Are For Informational Purposes Only.
From: email@example.com (Nico Coesel)
Subject: Re: To C or not to C
Date: Sat, 04 Jan 2003 17:32:23 GMT
References: <firstname.lastname@example.org> <email@example.com>
NNTP-Posting-Date: 4 Jan 2003 17:32:45 GMT
X-Newsreader: Forte Free Agent 1.21/32.243
Spehro Pefhany wrote:
>On Sat, 4 Jan 2003 15:47:08 +1100, the renowned "Michael Culley"
>>Price is of high priority. Coding time is less of a priority as the project
>>is fairly simple. Size is important as we only have 2 k and might use a
>>smaller chip if it will save a few cents.
>If you are going to be making tens of thousands+, then assembly may
>allow you to fit it into a smaller processor which may indeed save a
>few cents and allow higher performance- at the price perhaps of
>development time, and probably maintainability. But I suggest real
>caution in this way of thinking. Do those few cents really make a
>significant difference to your selling price or profit margin?
>How much market share will you lose if it takes an extra 4 months
>to get to market? Can you start with a bigger chip and port it to
>assembly to shrink the size if sales explode (you can always
>>Is the ratio of 3:1 for the C to assembler code typical or are we doing
>No, maybe. You may just have a crummy compiler or be using it wrong.
I think the latter; they're using SDCC which I think is doing pretty
To the OP; Is the C version using any standard C functions? This may
cause a lot more code being included from the standard C libraries.
You can check the .map file to see what's included.
Reply to nico@nctdevpuntnl (punt=.)
Bedrijven en winkels vinden? Adresboekje.nl
Go Back To The Cyber-Spy.Com
Usenet Web Archive Index Of
The sci.electronics.design Newsgroup