Go to Post You guys must sponsor that one team on The Fosters! - Tyler Olds [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Spotlight this post!  
Unread 28-01-2010, 00:15
derekwhite's Avatar
derekwhite derekwhite is offline
Java Virtual Machine Hacker
no team (FIRST@Oracle)
Team Role: Programmer
 
Join Date: May 2009
Rookie Year: 2009
Location: Burlington, MA
Posts: 127
derekwhite is on a distinguished road
Re: From C++ to Java

Good, we agree that you don't need to convert the library, but I believe that the translator tool was doing it anyway.

You didn't say what converter tool you were using, or how much robot code you have to convert, so I can't give specific advice. I can say that when WPI students ported WPILib from C++ to Java, they essentially used "cut and paste", then fixed the syntax errors. [They had to do a lot more work on FPGA interfacing, etc, that you don't need to worry about it.]

If you are interested in converting from C++ to Java on your own you need to be familiar with differences between C++ objects and Java objects (C++ objects can be on stack, static memory, or in heap, '.' vs. '->'). Also, the Java version of WPILib all method names begin with lowercase letters.
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
C++ vs. Java Performance manderson5192 Java 9 05-12-2009 20:01
Java team1512 Java 2 21-10-2009 06:36
Java vs. C++ nickmagus Programming 3 05-09-2009 19:23
**FIRST EMAIL**/Java and Orbit Balls *****JAVA DISCUSSION*** Pjohn1959 Programming 37 31-08-2009 15:55
java to pbasic nzj1 Programming 11 09-01-2003 19:24


All times are GMT -5. The time now is 11:15.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi