Mailinglist Archive: opensuse (1473 mails)

< Previous Next >
Re: [opensuse] JAVA conversion tool
  • From: Randall R Schulz <rschulz@xxxxxxxxx>
  • Date: Mon, 15 Jun 2009 05:48:01 -0700
  • Message-id: <200906150548.01455.rschulz@xxxxxxxxx>
On Monday June 15 2009, G T Smith wrote:
Randall R Schulz wrote:
On Saturday June 13 2009, G T Smith wrote:
Boris Epstein wrote:
Hi all,

...

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. ...

That is a myth.

?? Nonsense...

Assuming the same programmer writing as near as possible the same
algorithm then the C code should out perform the Java code by a
significant value for most tasks, by being faster (no interpreter
overheads for a starter), ...

All the code that is executed frequently is converted to native machine
code by the JIT compiler.

There are many optimizations available dynamically that are not
available to ahead-of-time machine code compilation used by languages
like C.

There are some few applications that are not competitive in Java, but
not many.


Randall Schulz

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups