Hello,
Gurudatta Raut wrote:
--- Steve <[EMAIL PROTECTED]> wrote:
Gurudatta Raut wrote:
thats interesting,
So why is it not possible to create embeded
(stored
into the hardware) device drivers made completely
in
Java ?
Maybe you should learn more about the difference
between 'Java' the platform and
'java' the language.
The Java platform is what makes the code written in
java, platform independent.
So, if we were to implement device drivers
completely in Java we would also have
to implement a whole Java runtime environment
embedded within the hardware
....which in turn may require an OS.
Who said doing away with OS, Read carefully the whole
thread and then this link
http://www.usenix.org/publications/library/proceedings/jvm01/keynote/
<...snip...>
> http://www.developer.com/java/other/article.php/610041
Please spend sometime RTFAs you posted and understanding them !! They talk about
a Java enabled processor chip, running a JavaOS.
The point of the ^whole thread^ (which btw I have been reading) is whether
OS independent device drivers were possible. Now, where (or how is it) implied
in the articles that drivers that are written for a JavaOS on the Java enabled
chip architecture (PSC1000 in the second example) can run on any other
architecture ..or for that matter, if any other OS was ported to the said
architecture, it could make use of the same java device drivers that the OS in
question would use on a different processor ??
This is as ridiculous as saying that just because some processor is capable of
executing compiled C code, it is capable of running the exact same code (such as
device drivers) irrespective of the OS.
In other words, even conceptually, writing device drivers in Java does not
automatically mean it is platform independent, since a platform (as far as
applications are concerned) essentially is comprised of the Processor
architecture and an OS.
I'll make it simple:
Suppose I do get the java chip and install the Java OS on my hypothetical
system. Now, I realize that the java chip isn't as good as the spanking new chip
launched by AMD, can I just junk the java chip for the AMD one and still
continue to use the Java OS ? No I can't because although the Java OS has
drivers written in java, there is no java execution environment to run on within
the AMD chip.
What this thread is about would be possible if every processor could natively
have the capability to execute instructions given to it in a certain high level
language. In that case, all OSes could write drivers in that language.
Now whether that is about to happen anytime in the near future ...is another
thread.
HTH
Regards
Steve
--
______________________________________________________________________
Pune GNU/Linux Users Group Mailing List: ([email protected])
List Information: http://plug.org.in/mailing-list/listinfo/plug-mail
Send 'help' to [EMAIL PROTECTED] for mailing instructions.