comp.lang.ada
 help / color / mirror / Atom feed
From: Brian Rogoff <bpr@shell5.ba.best.com>
Subject: Re: newbie can't get exceptions to work!
Date: Fri, 13 Apr 2001 02:44:54 GMT
Date: 2001-04-13T02:44:54+00:00	[thread overview]
Message-ID: <Pine.BSF.4.21.0104121829540.13087-100000@shell5.ba.best.com> (raw)
In-Reply-To: <86d7ahpurk.fsf@acm.org>

On 13 Apr 2001, Laurent Guerby wrote:
> Brian Rogoff <bpr@shell5.ba.best.com> writes:
> > You should know that nothing is obvious when you're discussing the
> > OCaml type system :-). OK, that's not fair. It is obvious when
> > considered in the context of mathematically sound type systems. If
> > you're not well versed in the theory of such type systems, simple
> > explanations won't be helpful.  Check the caml-list for the mail of
> > the past few weeks titled "The Future of Labels" or somesuch.
> 
> I'm not super-versed in those things (I've read a whole bunch of
> papers and FP conference proeedings over the years but never
> implemented anything), but as I see it, raw labeled arguments
> are a near syntactic feature. Let's say you have:

No, unfortunately they aren't. Remember, this isn't Ada we're taling
about, but a higher order language with type inference and currying. 
The issues are different for Ada. Anyways, here's a pointer to the start
of the most recent discussion 

http://caml.inria.fr/archives/200103/msg00248.html

and here is Jacques' home page from which you can download any of his
publications which interest you 

http://wwwfun.kurims.kyoto-u.ac.jp/~garrigue/

> > Which idiotic platforms?
> 
> All commercial UNIXes (AIX, IRIX, Solaris, OSF1) and VMS, plus NT, all
> with threading correctly supported.

Ah. VMS support is hard to come by for non-mainstream languages. 

> > I believe you made the right decision. It was a brave one too, since
> > I bet there was a strong push for C++. Ada would be my choice too,
> > given what you told me.
> 
> I didn't tell you the major thing ;-), namely that most of the team
> writing the software are not trained software engineers but financial
> and numerical people. C/C++ is just suicide in this environment (no
> array bound checking, pointers all over the place, awful error
> messages and brain-dead syntax...). I spent one whole year of my life
> chasing out of bound access, memory management errors and random hard
> to find crashes in a >500KSLOC of C software with crapping debugging
> technology (Visual C++ released compiled software bugs usually go away
> when you compile in debug mode, I still don't know how people tolerate
> this...), I think this qualifies me for having an opinion on the topic
> ;-).

Well, debugging C is a nightmare. I just don't think that {} vs begin-end
is even a tiny part of why C sucks. Paraphrasing a former President

   It's the semantics, stupid. 

I remember how when I first played with Ada about five years ago I wrote a
smallish test program (between 500 and 1000 LOC) and after I silenced the 
compiler I was prepared to debug... and it worked the first time it ran!

Now, I have been able to get runtime crashes with Ada, and doesn't do
everything, but the difference between C/C++/ObjC and Ada is like night
and day.

> As for the strong push for C++, that was everyone but two people, but
> management did trust us and choosed Ada after three monthes of
> reflexion.  Now the C++ people are all saying C++ is legacy and doing
> Java, and Java people are right now wondering about C#... Needless to
> say their technology opinion is now 0 weighted as far as my management
> is concerned. 

:-)

> The software survived one merger, introduction of distributed
> computations, growth of the team and is greatly satisfying
> to business.

That's great to hear. I love non-defense Ada success stories. I'm not
anti-defense, I think everyone should have a shoulder launched SAM in
their garage (I've got two, and one extra for the wife :), but it's 
nice to hear of success in other industries.

> But even if written in Ada, the code keeps FP-like technique like
> being stateless, having non mutable objects and provably not leaking
> reference counting GC scheme (no cycles can be created with non
> mutable objects).

Well, that's good.

> > I trust the support has been good? 
> 
> Ups and downs, but our bugs do get fixed, our technical questions
> about use of the technology get excellent and timely answer, and the
> GNAT technology is definitely evolving in the right direction over the
> years (new tools, new platforms).

Yes, GNAT is great. I wouldn't have a lot of confidence in the future of
Ada were it not for GNAT.

> Talking about support in the software tool business is kinda tricky,
> for example I know about no other tools used here where users get
> fixes from the vendor at all except at the mandatory update to new
> versions.

Yes indeed, see my answer to your next question. 

> Aren't you worried about lack of formal support for OCaml in your
> company?

A little. The Consortium guarantees that if Projet Cristal folds we
get the rights to the source. I'm fairly confident that it won't fold. 
The compiler code is very understandable, though very sparsely documented. 
I guess I have a vested interest in the popularity of OCaml now. Ada too, 
BTW. I do my best to promote Ada when people aren't shoving their fingers
in their ears :-). I even do a bit of that on the Caml list.

Anyways, I wonder how important formal support *really* is. If you used
some proprietary language X compiler and the company that makes it folds,
where are you then? And, as you mention, most "support" from companies is 
a !@#$ing joke. OCaml source is under CVS web, so I can always get the
latest version, and get up to date bug fixes. So I'm not convinced
that just having some company which supports the software is very 
meaningful. 

Obviously GNAT is safer, since it is free software, but I wonder about
commercial compilers. I think if I were able to get Ada used in house I'd
pay for GNAT. However, it would be nicer if the most up to date version of
GNAT were always available. Even in that case, I'd want to pay, but it 
gives me the warm-fuzzies when lots of people are hacking on it.

-- Brian





  reply	other threads:[~2001-04-13  2:44 UTC|newest]

Thread overview: 88+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-05  3:19 newbie can't get exceptions to work! Jeff Shipman
2001-04-05  4:25 ` Ed Falis
2001-04-05 11:00   ` martin.m.dowie
2001-04-05 14:21     ` Ted Dennison
2001-04-05 17:50       ` Fraser Wilson
2001-04-05  4:34 ` Jeff Shipman
2001-04-05  4:59 ` Wilhelm Spickermann
2001-04-05 14:14   ` Ted Dennison
2001-04-05 16:37     ` Wilhelm Spickermann
2001-04-06 13:09     ` Marc A. Criley
2001-04-06 15:04       ` Ted Dennison
2001-04-06 16:43       ` Robert A Duff
2001-04-06 17:39         ` Ted Dennison
2001-04-06 21:50           ` Robert A Duff
2001-04-06 20:11         ` Brian Rogoff
2001-04-06 22:20           ` Robert A Duff
2001-04-06 23:04             ` Brian Rogoff
2001-04-07  5:48               ` Jeffrey Carter
2001-04-10  1:29                 ` Robert A Duff
2001-04-07 19:30               ` Robert A Duff
2001-04-07 21:17                 ` Brian Rogoff
2001-04-07 21:25                   ` Ayende Rahien
2001-04-07 22:57                     ` David Starner
2001-04-08 12:10                       ` Ayende Rahien
2001-04-08  2:12                     ` Larry Hazel
2001-04-08 12:12                       ` Ayende Rahien
2001-04-09 16:20                         ` Larry Hazel
2001-04-10  2:38                           ` Ayende Rahien
2001-04-10  3:25                             ` James Rogers
2001-04-08 22:18                       ` Brian Rogoff
2001-04-09 15:14                         ` Ted Dennison
2001-04-09 17:23                           ` Brian Rogoff
2001-04-09 18:23                             ` Laurent Guerby
2001-04-09 19:15                               ` Brian Rogoff
2001-04-10 18:21                                 ` Laurent Guerby
2001-04-10 19:44                                   ` Brian Rogoff
2001-04-11 18:03                                     ` Laurent Guerby
2001-04-11 18:33                                       ` Samuel T. Harris
2001-04-14  0:06                                         ` Robert A Duff
2001-04-12  1:42                                       ` Mike Silva
2001-04-12  2:38                                       ` Brian Rogoff
2001-04-12 23:23                                         ` Laurent Guerby
2001-04-13  2:44                                           ` Brian Rogoff [this message]
2001-04-11 13:24                                   ` Ayende Rahien
2001-04-11 13:14                                     ` Mats Karlssohn
2001-04-11 15:08                                       ` Ayende Rahien
2001-04-11 21:42                                       ` Fraser Wilson
2001-04-12 23:55                                         ` Robert A Duff
2001-04-10  2:12                               ` Robert A Duff
2001-04-10  3:47                                 ` Brian Rogoff
2001-04-10 13:40                                 ` Ada keywords (was: Re: newbie can't get exceptions to work!) Marin David Condic
2001-04-10 14:26                                   ` Jean-Pierre Rosen
2001-04-09 20:49                             ` newbie can't get exceptions to work! Ted Dennison
2001-04-09 21:44                               ` Brian Rogoff
2001-04-09 21:59                                 ` Ted Dennison
2001-04-10  2:54                                   ` Ayende Rahien
2001-04-10 14:00                                     ` Ted Dennison
2001-04-10 17:44                                     ` Fraser Wilson
2001-04-10  6:59                               ` Mats Karlssohn
2001-04-10 14:18                                 ` Ted Dennison
2001-04-10 16:27                                   ` Mark Biggar
2001-04-11 11:55                                     ` Mats Karlssohn
2001-04-11 14:34                                       ` Samuel T. Harris
2001-04-11 15:50                                         ` Pat Rogers
2001-04-12  6:27                                         ` Mats Karlssohn
2001-04-11 11:49                                   ` Mats Karlssohn
2001-04-11 15:38                                     ` Robert A Duff
2001-04-13 16:12                             ` Matthew Woodcraft
2001-04-10  1:41                   ` Robert A Duff
2001-04-10  3:03                     ` James Rogers
2001-04-10  3:58                       ` Brian Rogoff
2001-04-10 21:48                         ` Ted Dennison
2001-04-11 15:09                           ` Ayende Rahien
2001-04-11 21:57                             ` James Rogers
2001-04-11 23:13                               ` Brian Rogoff
2001-04-12  6:33                                 ` Mats Karlssohn
2001-04-12 16:38                                   ` Brian Rogoff
2001-04-17  7:04                                     ` Mats Karlssohn
2001-04-17  9:08                                       ` Jean-Pierre Rosen
2001-04-12 15:16                               ` Ted Dennison
2001-04-12 21:22                                 ` James Rogers
2001-04-10  4:26                     ` Brian Rogoff
2001-04-11 15:30                       ` Robert A Duff
2001-04-11 17:33                         ` Brian Rogoff
2001-04-10  1:26               ` Robert A Duff
2001-04-10  2:11                 ` Brian Rogoff
2001-04-14  0:00                   ` Robert A Duff
  -- strict thread matches above, loose matches on Subject: below --
2001-04-05  5:26 Christoph Grein
replies disabled

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