View Single Post
  #26   Spotlight this post!  
Unread 08-08-2012, 01:43 PM
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,259
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Re: C++ vs. Java (speed considerations only)

Quote:
Originally Posted by JamesTerm View Post
I can't share numbers that I have access to, but I can share this link:
http://www.youtube.com/watch?v=BfVLAe4_HPg

That is processing vision... not done in Java.
Yeah, and a Corvette goes faster than a go-kart. Doesn't help much for a go-karting competition though.

Personally, there's not really a huge difference in execution speed between these two languages that can't be made up for with architecture. Process your vision on the laptop, run your control loops in separate threads, and handle user interactions in an event oriented fashion. This will result in code that is easier to build, understand, maintain, read, re-use, etc.

Last edited by Tom Bottiglieri : 08-08-2012 at 01:45 PM.