Thread: Java vs. C++
View Single Post
  #4   Spotlight this post!  
Unread 05-09-2009, 19:23
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,077
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: Java vs. C++

Quote:
Originally Posted by nickmagus View Post
I love java. it is a nice high level programming language and the way the VM works is both cool and great. But java is a slow language and I don't know about other teams but optimization was an issue for us this year. I see that the java library for FIRST uses a light weight JVM my question is does anybody know whether or not this will be close enough to as fast as C++ to make programming in java worth it?
What were you doing that made optimization an issue?

About the only thing that FIRST robots can do that will seriously tax a micro controller is image processing...but the NI vision libraries are highly optimized native code. Whether from LabView, C++, or Java, a call to an NI vision function takes the same amount of time.