Thread: Java versus C++
View Single Post
  #1   Spotlight this post!  
Unread 21-09-2010, 18:59
dirienzo dirienzo is offline
Registered User
AKA: Nick DiRienzo
FRC #0011 (MORT)
Team Role: Programmer
 
Join Date: Apr 2010
Rookie Year: 2009
Location: USA
Posts: 15
dirienzo is a splendid one to beholddirienzo is a splendid one to beholddirienzo is a splendid one to beholddirienzo is a splendid one to beholddirienzo is a splendid one to beholddirienzo is a splendid one to behold
Java versus C++

Hey everyone. I'm fairly new to FRC programming (and programming in general, for that matter).

I am wondering if anyone has ran any benchmarks on robot code execution with Java and C/C++. Java compiles to bytecode which is then executed by the virtual machine at runtime, correct? While C/C++ compiles into machine code. Is there a noticeable performance difference between the two languages?

Also, when I uploaded code to the cRIO, I remember something about LabView in the console window. Was a LabView 'layer' created for communication with the hardware; what is going on there?

I am the lead developer for this season and our previous developers did not explain much. This past season was the first year using Java for our team, so I want to make an educated decision on language choice.

On the other hand, if there are no performance differences, it's just a syntax preference then.

Thanks,
Nick DiRienzo