We're using C++ again this year for the following reasons.
- Most of the student programmers know it (the ones that don't know Java).
- I (the programming mentor) know it and work with it professionally.
- It offers more control over the execution environment and full access to VxWorks.
Quote:
Originally Posted by keehun
The biggest difference is real-time execution (C++ is fast -- but is it "live" like LabView? -- I don't know). LabView by nature is slower, but it is able to process multiple things at once -- a tradeoff?
|
Huh? What do you mean by "real-time execution"? You can't get any more real-time than interrupt driven C/C++.
It is not possible to do multiple things at once on the cRIO in any language without using the FPGA. You can get rather close by using multiple tasks or interrupts, but there is only one core which means only one hardware thread running at a time.
BTW, Java and C++ may be similar on a small part of the syntax level (just like every other curly brace language), but they are far apart semantically or when using any of their features.