system-level programming

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • anurag275125
    New Member
    • Aug 2009
    • 79

    system-level programming

    Hello
    can anyone please tell me- is system level programming is possible through java like c/c++???
    thanks
  • pbrockway2
    Recognized Expert New Member
    • Nov 2007
    • 151

    #2
    Java programs are intended to be runnable in a wide range of circumstances - basically anywhere there is a JVM implemented. As a consequence of this (and design decisions like not supporting address arithmetic) it would be very painful to do things like writing a device driver.

    There is no principled distinction between what JVMs can do and what they can't. Gui interaction is easy, but console interaction is crippled for instance; although you can't really say that one is more OS dependent than the other.

    If your interest is in particular tasks you should say what "system level" means precisely. If it is more general, begin by reading the descriptions of Java on Oracle's site and see what Java can do. That is to say like most technologies, it is best expressed in its own terms before attempting a comparison.

    In addition you can interface Java code with native code so that tasks that are not doable with "pure" Java can be achieved using JNI. It still may not be sensible, however, to attach JNI like a large weight at the end of your screwdriver so that you can use the resulting object as a hammer.

    Comment

    Working...