• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

how to speed up java program

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
haha that beats the purpose ...
use Just in Time Compilers ...
or the new J# (Microsoft Rules!)
- DooL
 
Ranch Hand
Posts: 898
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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).]
 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic