![](https://seccdn.libravatar.org/avatar/0d0434a1c7ca43ef1a88fee5ecda1edf.jpg?s=120&d=mm&r=g)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Boris Epstein wrote:
Hi all,
This may be a bit off-topic but I am working on an OpenSuSE machine, so here goes...
Can you recommend a tool to convert a bunch of legacy C code into Java?
Thanks.
Boris.
Why? It is more normal to port from inefficient to efficient languages, and C is much more efficient than Java. Most C material should still be compilable and usable. If the need is to access the functionality of the C code from Java, then rather than rewrite the code completely in Java I would look at the rewriting of the function call handling so that the primary functions can be called from within a Java application. (There may be tools to automate the latter approach). Translating code from a procedural non object orientated language to a object orientated language is quite likely to generate unmaintainable code as has been pointed out elsewhere. - -- ============================================================================== I have always wished that my computer would be as easy to use as my telephone. My wish has come true. I no longer know how to use my telephone. Bjarne Stroustrup ============================================================================== -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkozerwACgkQasN0sSnLmgKVGQCglFiB0v7dDMfq2IfbP3zwA1Vg 0YkAoKKTVYJK6t/hnfaHj//jsDnFFye4 =fEzk -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org