PDA

View Full Version : Which is the best lang ???



Raj_tek
02-19-2004, 09:42 AM
I would like to ask which is the best language you can use to program the robots and microcontroller that we usally use .

vikas
02-20-2004, 02:31 PM
I know a lot of languages ... I think there are basically 3 languages which are use

Assembly - The best . instruction level control with minimal output code generated .

C - Good and easy to work with but the code generated might not be optimized .

Basci / Custom - Usally slow and heavy

Sorcerer
06-11-2004, 03:15 PM
well, vikas is kinda right, BASIC tends to be slow, but you wont find a simpler of more elegant language out there

use it if youre not very programming heavy

sumandeep1984
10-10-2004, 02:01 AM
Well C / C++ is the best language for any kind of general purpose. It can be compiled over a large variety of platforms. It can be compiled for microC also.

For efficient microC coding, assembly works much better than 'C converted by compiler'...but my be difficult to follow & debug

BASIC is fine but has a very limited flexibility, well i don't suggest that to anyone anymore.

10-10-2004, 07:08 PM
assembly and C basically for micro.

When u write i assembly and the program is huge ,u save on code space,wheras C taks a bit more space.

C is easier than assembly to code..When u got a lot of math stuff to do,C is good. :wink: