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: firstname.lastname@example.org (Grahame Olney)
Subject: Re: Which Microcontroller to use?
X-Newsreader: Forte Free Agent 1.21/32.243
Date: Fri, 20 Sep 2002 17:18:03 GMT
NNTP-Posting-Date: Fri, 20 Sep 2002 10:18:03 PDT
Organization: EarthLink Inc. -- http://www.EarthLink.net
> 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.
Go Back To The Cyber-Spy.Com
Usenet Web Archive Index Of
The sci.electronics.design Newsgroup