This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

C to Java Conversion

 
Kimberly Porter
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are there any good tools out there for C to Java Conversion?
 
Aniruddh Joshi
Ranch Hand
Posts: 275
Eclipse IDE jQuery Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am unaware of any, but as a layman I would be surprised if there are.
The two languages are quite different.
 
Atul Darne
Ranch Hand
Posts: 118
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
even if you get tool, you will have to cleanup later.

better to recode!
 
Rob Spoor
Sheriff
Pie
Posts: 20555
57
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The syntax is very similar, but there are too many differences. For instance, C allows you to access memory directly, and perform pointer arithmetic; neither is possible in Java. Also, C has unsigned data types which are not present in Java. Well, there's one: Java's char is is a rough equivalent of C's unsigned short.
 
fred rosenberger
lowercase baba
Bartender
Posts: 12149
31
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the best tool would be your brain.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic