View Single Post
  #43   Spotlight this post!  
Unread 25-08-2011, 10:52
Michael Hill's Avatar
Michael Hill Michael Hill is offline
Registered User
FRC #3138 (Innovators Robotics)
Team Role: Mentor
 
Join Date: Jul 2004
Rookie Year: 2003
Location: Dayton, OH
Posts: 1,567
Michael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond repute
Re: I've been out of FIRST for a while and decided I want to mentor again.

Quote:
Originally Posted by Ether View Post
How so? Please elaborate.

Well, to put it simply, LabVIEW requires a resource intensive interpreter (itself) to execute its software. Whereas if you were to program software with the same functionality in C or C++, it would run much faster because everything's been compiled directly to machine code. If I say, for example, to create a simple program that will count from 0 to 1,000,000, it would execute much faster with the program done in C or C++. I believe there is an option to "compile" LabVIEW programs, but the programs in the end will still be more inefficient (as indicated by the sheer fact you need the LabVIEW runtime software).

I have similar opinions about Java (and MATLAB, which is just an offshoot of Java, for that matter), by the way ;-)

But yes, LabVIEW will get you up and running much quicker, and with robotics, the speed of execution may not necessarily be a huge issue. The reason I had been concerned with it before was because the data acquisition system I was working on was supposed to handle over 900 channels of data, many of which were coming in at a megasample/s, and the user interface to the DAQ system was to be an extremely complex one.
Reply With Quote