Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] Re: Beginner

2004-10-18 by Kathy Quinlan

Dave Mucha wrote:

> 
> 
>>I have to disagree.  You seem to be saying that everyone should be
>>using basic.  Basic is ok for doing simple things but I have found
>>that to do even moderately complex things in basic often takes 
> 
> dialect
> 
>>specific knowledge and a healthy dose of experimentation.  And a
>>number of complex things (like timing related stuff or bit 
> 
> twiddling)
> 
>>are hard or even impossible in basic.  
> 
> 
> I guess you're right, it sounded like Basic was an equal to C or ASM.
> 
> each has their strong points.  The one for Basic is fast time to 
> learn for simple projects.
> 
> ASM is often credited for it's tight and fast code.
> 
> And, if I'm not mistaken, C dominates the market as it is so darn 
> capable.
> 
> If you are going for a job as a programmer, you will have few offers 
> is you list only Basic, and many, many more if you list C.
> 
> It sounded as if I were saying C programmers burn hours to earn more 
> $$$ when that was not the intent.
> 
> I have a pretty big program in Basic, and some in Asm as Basic could 
> not handle what was needed.
> 
> Dave

It is said that C is quick, but I recently went head to head with a C 
engineer and out coded him in ASM. The only reason I did was that I 
write ASM like C ie I make modules in ASM, with a text block at the top 
of each module that says what I expect to be sent, what I destroy and 
what I expect to send back:

***********************************************
* BLAH (Module Name)
*      - This Module will take 2 numbers and multiply
*
* Input: Arg1 in Temp, Arg2 in Temp2
* Return: Result High in Temp2, Result Low in Temp
* Destroy: Temp and Temp2
* Status: Tested OK
***********************************************

This way I can make my code as quick as if I was writing C using my own 
module routines.


Regards,

Kat.

-- 
---------------------------------------------------------------
K.A.Q. Electronics	Website: www.kaqelectronics.dyndns.org
IM: Yahoo: PinkyDwaggy  MSN: katinka@kaqelectronics.dyndns.org
For Everything Electronics     Phone: 0419 923 731
---------------------------------------------------------------

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.