aspose file tools*
The moose likes Performance and the fly likes how to speed up java program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Performance
Bookmark "how to speed up java program" Watch "how to speed up java program" New topic
Author

how to speed up java program

yan lu
Greenhorn

Joined: Jul 03, 2001
Posts: 1
Hi,
I have some java programs to process larger amount of data and also involve some calculations. Because java class file uses java VM, it seems a lot slower then C/C++ program.
Anybody can tell me how to compile java source file into the machine code straightly rather than a class file.
Thanks
-Yan
Shardool Karnik
Greenhorn

Joined: Oct 26, 2001
Posts: 2
haha that beats the purpose ...
use Just in Time Compilers ...
or the new J# (Microsoft Rules!)
- DooL
Guennadiy VANIN
Ranch Hand

Joined: Aug 30, 2001
Posts: 898
Yan,
Look in http://www.javaperformancetuning.com
and particularly http://www.javaperformancetuning.com/tips.shtml
Then there are many tools permitting to translate anylanguage to a model specification and back to a various languages
Nothing cheap
For ex., http://www.rationalrose.com/
[This message has been edited by G Vanin (edited October 30, 2001).]
Shaun Larkin
Greenhorn

Joined: Nov 12, 2001
Posts: 18
I'm reading the performance tweeking by Oreilly. It says that compiling to native code will probably "decrease" the speed of most Java programs. The JIT compilers, Hotspot, are optimized to take care of alot of situations.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to speed up java program