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: Michel Catudal
Subject: Re: Which basic compiler to buy?
Date: 12 Dec 2002 21:57:07 -0600
Organization: Pas =?ISO-8859-1?Q?organis=E9?= par Ti-Mou
X-Accept-Language: fr-CA, Joual, en-US
John Jardine wrote:
> Stay clear of the C!. It's an obtuse and unfriendly language having little
> correspondance with good machine code routines.
> It is only pre-eminent nowadays due to it being found to be so awkward to
> use that it was gladly taken up by the colleges and microsoft.
> A normal PC prog' written in classical Basic (not the present C-Basics eg
> VB) can be rewritten or 'broken down' line by line, statement by
> statement and expanded to a sufficiently detailed level that can translate
> *directly* across to a PIC or other micro's machine code . Essentially a
> Basic language programme is a line by line, condensed, idealised,
> equivalent of a machine code programme.
> Thus a PIC Basic compiler can be written to make use of this easy
> correspondance between a Basic statement and it's machine code equivalent
> and can be very efficient.
> A 'C' programme and it's strange 'structuring' will not readily do this
> the corresponding PIC 'C' compilers have to go round and round the houses
> to try and provide the same PIC (or another micro) machine code
What have you been sniffing?
There was a fight at one time between three programming languages for
embedded environment. Basic wasn't even in the running. There was PLM
pushed by Intel, C pushed by Motorola, Bell and AT&T among others.
There was also pascal the language of choice of hackers.
C won the war. Those of us fanatic of pascal and PLM moved to C as everybody
else. PLM died.
C is indeed the most efficient high level language beside forth. Forth
has it's following but has never really caught on to the mainstream.
There is no way that you will get as efficient code in Basic as you will
in C or pascal. Ask anyone at GM or Ford to see if any engine controller
is written in basic.
I can understand that you love basic but be serious for one minute and
understand that your love for this ridiculous language is based on emotions
and not on logic.
I did some basic more than 20 years ago when we didn't have any other choice
beside machine language but when Turbo Pascal for CPM/80, CPM/86 and PC DOS
came out Basic went to the bit bucket.
Tired of Microsoft's rebootive multitasking?
then it's time to upgrade to Linux.
Go Back To The Cyber-Spy.Com
Usenet Web Archive Index Of
The sci.electronics.design Newsgroup