comp.lang.ada
 help / color / mirror / Atom feed
From: dvdeug@x8b4e53cd.dhcp.okstate.edu (David Starner)
Subject: Re: Ada and JVM?  Why not AdaVM?
Date: 27 Jan 2001 21:17:29 GMT
Date: 2001-01-27T21:17:29+00:00	[thread overview]
Message-ID: <94vdt9$a2g1@news.cis.okstate.edu> (raw)
In-Reply-To: RSCc6.1092$cD2.29078@news2-win.server.ntlworld.com

On Sat, 27 Jan 2001 16:47:45 -0000, chris.danx <chris.danx@ntlworld.com> wrote:
>Hi,
>    I'm curious to know why everyones so keen to stick Ada 95 on the JVM.
>Would a VM designed specifically for Ada 95 be of any benefit?  Or would it
>be a pointless exercise (considering the development of JGNAT)?

The advantages of the JVM are:

* Big name - everyone's heard of Java.
* There are a number of platforms that run JVM's that don't have an Ada 
  compiler ported to them.
* Allows you to run stuff in a web browser.
* Runs on the Java chip.
* Access to a huge API.

In comparasion, an AVM:

* No one has heard of it, and people would complain a lot less around
  here if everyone had heard of Ada in a positive light.
* AVM doesn't run on anything yet; written in C, you'll find it nearly
  as easy to port GNAT to anything gcc supports as port your AVM 
  (threading difficulties and the like); written in Ada makes it run on
  a subset of the platforms that Ada runs on. Java seems to be the only
  language that runs a significant number of platforms that Ada doesn't
  that supports threading, and besides performance problems, it's just 
  a little ironic . . . (Maybe Forth, but I'm not sure Forth's threading
  model would provide good support of Ada. You could portably emulate 
  threading in C or something, but that wouldn't be pretty.)
* You could make an AVM web plugin. Making a little bit more miserable for
  those of us who browse the web, and insuring that a large number of
  people (those who don't have compiled AVM plugins for their platform
  and those who don't care to download one) don't see it.
* The Ada chip is dead, and you'd lose a lot of flexibility designing 
  around it. ("Ada chip" = "the CPU of the computers Rational designed
  for running Ada". My knowledge of this is limited, so feel free to 
  correct me.)
* The API would be in direct proporition to the number of man-hours found
  to create and upkeep it. The Java API has had a lot of work put into
  it that will be hard to duplicate - the Classpath project has several
  years of work put into it, and they still have significant parts of the
  Java API unimplemented. Can you get even the level of support they have?

>I suppose I want to know the answer to the following.
>
>    Does Ada have a VM which serves a similar purpose to the JVM for Java
>(and is used in the same area)?

The JVM?

>    If not, why not?

No point? No need?

>    And would there be any benefits in the design of such a system?

Yes. You could make its quirks fit the quirks of Ada instead of those of
Java. It still doesn't outway the negatives.

-- 
David Starner - dstarner98@aasaa.ofe.org
Recovering from a hard drive "crash" - website down



  reply	other threads:[~2001-01-27 21:17 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-27 16:47 Ada and JVM? Why not AdaVM? chris.danx
2001-01-27 21:17 ` David Starner [this message]
2001-01-28  8:44   ` Florian Weimer
2001-01-29 23:40     ` Ronald Cole
2001-01-30  1:27       ` Brian Rogoff
2001-01-30  8:28       ` Florian Weimer
2001-01-30 19:29         ` Ada and JVM? Why not AdaVM? ms .net vm Singlespeeder
2001-02-01  0:01         ` Ada and JVM? Why not AdaVM? Ronald Cole
2001-02-01  7:32           ` Florian Weimer
2001-02-02 17:33             ` Ray Blaak
2001-02-01 11:57           ` Tarjei T. Jensen
2001-02-01 17:35             ` Ray Blaak
2001-02-01 16:19           ` joswig
2001-01-30 21:12   ` Nick Roberts
2001-02-02  0:19     ` Larry J. Elmore
2001-02-02  3:41       ` Robert Dewar
2001-02-03  3:49         ` Larry J. Elmore
2001-02-05 19:46         ` Tucker Taft
2001-02-05 20:31           ` Ted Dennison
2001-02-05 20:58           ` Pat Rogers
2001-01-27 22:31 ` gdemont
2001-01-30  2:41 ` Julian Morrison
2001-01-30  7:08   ` Jean-Pierre Rosen
2001-01-30 12:55   ` John English
2001-01-31 21:05   ` chris.danx
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox