C++ to Java source translator

Discussion in 'Java' started by rooban, Jul 3, 2004.

  1. rooban

    rooban Guest

    Hi all,

    where can I obtain good quality C++ to Java source code
    translator/convertor? I know there are few available but which ones
    are the best and less hasslesome?

    rooban, Jul 3, 2004
    1. Advertisements

  2. I'm pretty sure all of them will be much of a hassle. Many C++ concepts
    don't translate cleanly (or at all) to Java.

    And what should the translator do with calls to nonstandard C++ libraries?

    Even if you do get a sizeable portion of the code translated, it is doubtful
    that it will look aything like idiomatic Java you'd have written yourself.
    Christophe Vanfleteren, Jul 3, 2004
    1. Advertisements

  3. rooban

    Ike Guest

    I've had pretty good success with C2J. However, I think Chris is right, at
    least based on my experience; After I get things translated, I still end up
    writing what seems like a lot of new code!

    Ike, Jul 3, 2004
  4. rooban

    Roedy Green Guest

    If you want one, chances are you don't understand why it is not as
    useful as the many other sorts of compiler. See
    Roedy Green, Jul 3, 2004
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.