Thread: Java vs C++
View Single Post
  #3   Spotlight this post!  
Unread 23-11-2010, 14:47
Jon Stratis's Avatar
Jon Stratis Jon Stratis is offline
Electrical/Programming Mentor
FRC #2177 (The Robettes)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Minnesota
Posts: 3,753
Jon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond repute
Re: Java vs C++

This question seems to come up every few months. We could go through a long list of pro's and cons about each language, but it won't tell you what you need to know. When it comes to 99% of the work a robot needs to do, there's really no difference between them. Performance is going to be more or less equivalent unless your doing a ton of graphics processing from the camera (and even then, the difference won't be terribly large).

In the end, the decision should really come down to what your team wants to do. The biggest advantage you can have with one language over the other is prior experience - If you've used Java in classes in school, that'll be a lot easier for you to work with, because you'll already understand how things work. While C++ is similar, there are some big differences that can cause some serious headaches.