|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: C++ vs. Java Performance
2) Interesting...On the USFIRST.org beta testing forums, team 67 posted this:
Quote:
...and a couple, related question: 4) How does the Java vision API compare to the C++ one? Is there a large speed difference? 5) After having beta tested in java, will your team use it this year? 6) When do you think everything will be released for us non-beta-testers? Thanks again! -Matt |
|
#2
|
|||
|
|||
|
Re: C++ vs. Java Performance
Quote:
Re: Performance - Yes, C++, which compiles down to native machine code is always going to be faster than Java in pure speed tests, because Java has to take the extra step through the virtual machine. However, for our application, most (if not all) of the time-critical pieces are done in the FPGA libraries, where the JVM isn't a factor. Re: Vision libraries - the vision processing code remains in C++, and is accessed in Java via wrappers that use the JNI (Java Native Interface), so again, there is no Java performance penalty involved. HTH. |
|
#3
|
|||||
|
|||||
|
Re: C++ vs. Java Performance
Quote:
4) None at all as far as I can tell. It's the same code running underneath it all. 5) Definitely - it is much more accessible to our students than C++. 6) Not sure. "Soon" seems to be the general consensus. Definitely in advance of build season. Last edited by Jared Russell : 15-11-2009 at 19:37. |
|
#4
|
|||
|
|||
|
Re: C++ vs. Java Performance
Thanks for the help, guys! At this point, it sounds like team 948 will be going java as well =D.
|
|
#5
|
|||
|
|||
|
Re: C++ vs. Java Performance
Quote:
Quote:
Quote:
|
|
#6
|
||||
|
||||
|
Re: C++ vs. Java Performance
Where can I download it?
|
|
#7
|
||||
|
||||
|
Re: C++ vs. Java Performance
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| **FIRST EMAIL**/Java and Orbit Balls *****JAVA DISCUSSION*** | Pjohn1959 | Programming | 37 | 31-08-2009 15:55 |
| Image processing and performance | ellisk | C/C++ | 6 | 20-01-2009 16:48 |
| AndyMark Performance Wheels | ChuckDickerson | Technical Discussion | 49 | 27-12-2006 18:49 |
| Globe Motor - Performance at Cursor | Katie Reynolds | Motors | 1 | 19-01-2006 20:48 |