comp.lang.ada
 help / color / mirror / Atom feed
From: dvdeug@x8b4e53cd.dhcp.okstate.edu (David Starner)
Subject: Re: Announcing JGNAT public version 1.0p
Date: 2000/04/11
Date: 2000-04-11T00:00:00+00:00	[thread overview]
Message-ID: <8cvifs$b2o1@news.cis.okstate.edu> (raw)
In-Reply-To: Pine.BSF.4.21.0004110828450.5142-100000@shell5.ba.best.com

On Tue, 11 Apr 2000 08:44:41 -0700, Brian Rogoff <bpr@shell5.ba.best.com> wrote:
>On 10 Apr 2000, David Starner wrote:
>> ML and Ada aren't really in competition. Ada is a safety orientated, strongly
>> typed imperative langauage. ML is a writablity orientated, weirdly typed (-:,
>> functional language. ML's an excellent language to do prototypes and proofs
>> of concept in, whereas Ada and most other low level (compared to ML) languages
>> aren't. OTOH, ML usually isn't the appropriate language for a shipping
>> product. 
>
>Ouch again a few times. Weirdly typed? Writability orientated?

Okay, strongly typed with type inferance. I've never seen ML's
form of typing in any other language. SML seems strongly
orientated to writability, including constructs ("and", as opposed
to forward references) orienated towards typing into an interpreter
instead of writing it and running it through the interpreter.

>BTW, the company I work for ships a product in (OCa)ML. I see no reason
>why it is less appropriate than say Perl, Tcl, Python, or Java, all of
>which are used in shipping products.

Fair enough. But all of those languages are in a different class than
C++ or Ada, and appropriately used for a different set of shipping
products.

>> Last time I tried to run a big program in ML, it got bogged down, 
>> swapping stuff in and out of core. When I tried rewriting in Ada, I kept 
>> having bugs in what ML did automatically (my lists implementation, 
>> in specific). 
>
>That's a complaint about implementation, not language. People used to
>complain that Ada code was slow, too. 

Yes and no. The reason why Ada code was slow, was partially because Ada's
main goal was safety. While efficency was a primary goal, other things
took precedence. Hence it took work to make an efficent Ada compiler, more
than it would have for C or Fortran, two languages with efficency as a main
goal.

(S)ML doesn't seem to have efficency as a major goal. Hence, a naive
implementation will be slow. Can a good implementation make up much
of the difference? Probably. But there's only so much that can be done,
and it's questionable whether a well-written functional program will ever 
catch up to a well-written imperative program, just like well-written
assembly is still faster than well-written imperative programs.

-- 
David Starner - dstarner98@aasaa.ofe.org
Only a nerd would worry about wrong parentheses with
square brackets. But that's what mathematicians are.
   -- Dr. Burchard, math professor at OSU




  parent reply	other threads:[~2000-04-11  0:00 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-28  0:00 Announcing JGNAT Professional version 1.0a Robert Dewar
2000-03-31  0:00 ` Announcing JGNAT public version 1.0p Robert Dewar
2000-04-01  0:00   ` John Merryweather Cooper
2000-04-02  0:00     ` Robert Dewar
2000-04-02  0:00       ` John Merryweather Cooper
2000-04-03  0:00         ` Robert Dewar
2000-04-02  0:00           ` John Merryweather Cooper
2000-04-03  0:00             ` Robert Dewar
2000-04-03  0:00             ` Robert Dewar
2000-04-04  0:00               ` Charles Hixson
2000-04-05  0:00                 ` David Botton
2000-04-06  0:00                   ` Charles Hixson
2000-04-07  0:00                     ` hugin777
2000-04-07  0:00                       ` Robert Dewar
2000-04-07  0:00                         ` Ted Dennison
2000-04-08  0:00                           ` Geoff Bull
2000-04-08  0:00                         ` hugin777
2000-04-09  0:00                           ` Optimizing flags Was: " Ken O. Burtch
2000-04-08  0:00                         ` Geoff Bull
2000-04-07  0:00                       ` Pascal Obry
2000-04-08  0:00                       ` Geoff Bull
2000-04-10  0:00                       ` Pascal Obry
2000-04-10  0:00                         ` hugin777
2000-04-10  0:00                           ` David Starner
2000-04-11  0:00                             ` Brian Rogoff
2000-04-11  0:00                               ` Tucker Taft
2000-04-11  0:00                                 ` Brian Rogoff
2000-04-11  0:00                               ` David Starner [this message]
2000-04-10  0:00                           ` Al Christians
2000-04-11  0:00                           ` Pascal Obry
2000-04-12  0:00                           ` Pascal Obry
2000-04-07  0:00                     ` Geoff Bull
2000-04-05  0:00                 ` Geoff Bull
2000-04-04  0:00               ` JGNAT help puh-leeze G
2000-04-04  0:00                 ` Geoff Bull
2000-04-06  0:00                   ` G
2000-04-06  0:00                     ` Geoff Bull
2000-04-04  0:00           ` Announcing JGNAT public version 1.0p ada_95
replies disabled

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