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: "Frank Bemelman"
References: <3D8A6BE9.6455BB7@webaccess.net> <firstname.lastname@example.org>
Subject: Re: Which Microcontroller to use?
Date: Fri, 20 Sep 2002 21:18:29 +0200
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
Organization: EuroNet Internet
NNTP-Posting-Date: 20 Sep 2002 19:18:52 GMT
"Grahame Olney" schreef in bericht
> > Chuck Simmons wrote:
> > There is something seriously backwards here. The reason for using high
> > level languages is to handle complex functions easily. Optimizing C
> > compilers are in fashion and for excellent reasons. Assembly language is
> > used for speed in simple functions or in cases where nothing else is
> > available. Complex functions are painful to write in assembly language
> > and hard to debug.
> Actually the reason to use C in microcontrollers is:
> (1) Get a less expensive employee to program it
> (2) Speed up development at the cost of performance
> (3) Keep your staff weak and easily replacable
> The challenging designs require assembly language for performance and
> reliability reasons. Complex functions are not painful in assembly
> language; where do you think object oriented programming came from in
> the first place? I find that the Micro C programmers that trumpet its
> values the most are the ones that don't know anything about writing
> assembly language solutions with efficient data structures anyhow.
> They tend to contrast their C code to pathetic DeVry-Style assembly
> language from lab projects. That is like contrasting Oil Tankers to
> Whales in types of technology. :)
> The only use we ever make of C in microcontrollers is doing
> man-machine interfaces WHEN we had a client that couldn't make up
> their mind on how it should behave. C is ONLY useful where flexibility
> is required due to some human indecision or lack of specification.
> I have never hired a C programmer for microcontroller work and never
> will. If I could use their contribution, my company wouldn't be doing
> hard enough designs to charge what we charge. :)
> We're not in the "Lab Project Plus" market.
You forgot to compare lousy asm programmers with talented C-programmers ;)
I inherited a few hundred ASM projects, most of them similar,
but absolute horror code, hardly doing what it was supposed to
do. Wrote everything new from scratch, 100% C, one set of source
files replaces *all* hundred+ applications, runs 5 times as fast
on the same hardware, and finally presents a UI that looks decent.
ASM is history. Even the need for those last 20 lines of ASM is
(remove 'x' & .invalid when sending email)
Go Back To The Cyber-Spy.Com
Usenet Web Archive Index Of
The sci.electronics.design Newsgroup