Re: Possible to write compiler to Java VM?

salomon@silver.cs.umanitoba.ca (Daniel J. Salomon)
30 Jan 1996 21:47:14 -0500

          From comp.compilers

Related articles
[11 earlier articles]
Re: Possible to write compiler to Java VM? stt@copperfield.camb.inmet.com (1996-01-29)
Re: Possible to write compiler to Java VM? ncohen@watson.ibm.com (1996-01-29)
Re: Possible to write compiler to Java VM? RLS@psu.edu (1996-01-30)
Re: Possible to write compiler to Java VM? mg@asp.camb.inmet.com (1996-01-30)
Re: Possible to write compiler to Java VM? jeff@uh.edu (Jeff M Younker) (1996-01-30)
Re: Possible to write compiler to Java VM? mw@ipx2.rz.uni-mannheim.de (1996-01-30)
Re: Possible to write compiler to Java VM? salomon@silver.cs.umanitoba.ca (1996-01-30)
Re: Possible to write compiler to Java VM? bothner@cygnus.com (1996-01-30)
Re: Possible to write compiler to Java VM? tmb@best.com--Internet (1996-01-30)
Re: Possible to write compiler to Java VM? hbaker@netcom.com (1996-01-30)
Re: Possible to write compiler to Java VM? stt@henning.camb.inmet.com (1996-01-30)
Re: Possible to write compiler to Java VM? dewar@cs.nyu.edu (1996-01-31)
Re: Ada design stt@copperfield.camb.inmet.com (1996-01-31)
[20 later articles]
| List of all articles for this month |
From: salomon@silver.cs.umanitoba.ca (Daniel J. Salomon)
Newsgroups: comp.lang.java,comp.compilers,comp.lang.ada
Date: 30 Jan 1996 21:47:14 -0500
Organization: Computer Science, University of Manitoba, Winnipeg, Canada
References: 96-01-037 96-01-097 96-01-100 96-01-116
Keywords: translator, C++, Ada

Norman H. Cohen <ncohen@watson.ibm.com> wrote:
|> When an Ada compiler rejects my source,
|> it is because compile-time consistency checks have caught me trying to
|> do something that does not make sense. I am grateful to have had the
|> mistake caught before I wasted hours debugging. I am far more
|> frustrated by C compilers that happily compile code containing the
|> kind of errors that an Ada compiler would have caught.


I would bet that a lot of the code that you wrote and was rejected by
an Ada compiler was not that illogical or unsafe. I bet that most of
it was actually pretty reasonable.


Ada's philosophy seems to be, "When in doubt, forbid it." As a
result, a programmer can spend a lot of time turning sensible safe
code into code that religiously observes all of Ada rules.


C's philosopy seems to be, "When in doubt, permit it. It just might
be correct." The freedom that this gives programmers to create new
ways of solving problems may be one of the reasons that C remains so
popular, despite the fact that it it unquestionably unsafe.


--
Daniel J. Salomon -- salomon@cs.UManitoba.CA
              Dept. of Computer Science / University of Manitoba
              Winnipeg, Manitoba, Canada R3T 2N2 / (204) 474-8687
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.