Thirdly, I do not see the very idea of JVM or ANY "vm"
for that matter as a viable approach.
That's your choice. But your needs undoubted differ from mine, which
could very well make your choice the right choice for what you need to do;
you didn't elaborate on your needs though (and you don't need to), so I'm
merely making an assumption.
In my view, the JVM has been a fantastic step in software progress,
especially with the "write once, run anywhere" aspect that makes it
possible for me, as a programmer, to not have to be bothered to learn
every Operating System that my compiled code will execute consistently on.
Unless something becomes, applicable to ANY language
and ANY operating system, and ends up being wired
into your standard hardware chipset,
all it is to me is but a pipe dream
That's not a logical assumption because Perl and PHP were never
"hardwired into any standard hardware chipsets" (at least as far as I can
ascertain), yet are both extremely popular languages that are at the
forefront of web site development.
In retrospect, JSP has also been encroaching into this realm over the
years, and I know of many companies that have moved away from PHP in
favour of JSP partly because it offers far better performance (PHP is an
interpreted scripting language embedded into HTML pages which requires
CPU-intensive parsing, where Java's compiled byte-codes don't require
nearly as much CPU power to run; Perl scripts are also CPU-intensive,
unless you're using mod_perl, or something similar, that dynamically
maintains compiled versions of scripts in RAM).
and will fade away just like that Pascal P machine idea,
people wasted millions on.
I question that statistic. I also don't consider such research
"wasteful;" if anything, it's a valuable contribution to the future of
software development in general, as is the JVM (which actually works and
has been gaining popularity in many corporate and government environments
that I know of locally).
Has anyone heard of P machine?
Well, it is EXACTLY the same idea as JVM,
for any and all practical purposes.
I believe you're not taking into consideration that the differences
between the computing environments of yesteryear and now. Back in the day
when Pascal was quite popular (when many people owns XT 8088 personal
computers), the need for cross-platform software wasn't an issue like it
is today, and mainstream consumer applications were typically written for
DOS (and in later years, Windows).
In the past decade I've noticed a gradually increasing trend from various
companies (mostly in the gaming industry) toward creating MacOS, Unix
(Linux specifically), and Windows versions, although not usually all
three. This shows marketplace awareness of demand for cross-platform
support for certain applications, and to me is an indication that this
trend will continue, hence the JVM has a very practical and relevant
purpose in today's computing environment.
What's going to happen in the future? It's difficult to predict
accurately, but I strongly suspect that Linux will continue to flourish,
MacOS will gain more popularity, and application developers will be faced
with either providing at least three versions of their software (to
support Unix, MacOS, and Windows), or provide on version written in Java
and include a copy of the JVM on the installation CD (which happens
already).