comp.lang.ada
 help / color / mirror / Atom feed
From: Robert A Duff <bobduff@shell01.TheWorld.com>
Subject: Re: Gnat, tasking, Vista
Date: Wed, 23 Jan 2008 14:24:24 -0500
Date: 2008-01-23T14:24:24-05:00	[thread overview]
Message-ID: <wcc3aso73br.fsf@shell01.TheWorld.com> (raw)
In-Reply-To: iLKdndmdCMtuXwvanZ2dnUVZ_jKdnZ2d@comcast.com

tmoran@acm.org writes:

>   A bug that is known and successfully worked-around isn't a bug, it's
> a feature.  Probably not a nice feature, but not a nasty surprise waiting
> to bite you.
>   Personally, I usually don't enjoy time spent finding the bugs in
> other people's (compilers or OSes etc) code.  I usually have little idea
> where the problem might be and there's a lot of grunt work trying to
> cut down to a small program that demonstrates the problem (see the
> recent thread on "Ada obfuscation").  And when there is a simple
> example, learning what to avoid may be its only payback, while those
> responsible take months, or even years, to release a corrected version.
>   My understanding is that the current Gnat is not a 3.15p with
> improvements, but is rather a substantially new thing, with new,
> unknown, bugs.  Is that a mis-understanding?

I can understand the reluctance to upgrade software, in general.
But if you're upgrading the OS (Windows XP to Vista) you really
need to upgrade GNAT as well.  There are several ways in which
Vista is incompatible, so it's not surprising that a version
of GNAT that predates Vista doesn't work!

The DEP issue was mentioned.  I suppose you can turn off DEP
in Vista, either in general, or for particular programs.
(I don't know -- I've never used Vista myself.)

The latest GNAT compiler no longer uses trampolines (which don't
work when DEP is turned on).  However, it can still generate code
that uses trampolines in some cases.  We've mostly fixed that, too,
but there's still a lot of testing to do.  Getting rid of
trampolines is a change in the guts of the back end, and
is target dependent.

Pointers to nested functions in C code will probably continue to use
trampolines for the forseeable future, but we can do better in pure
Ada code.

- Bob



  parent reply	other threads:[~2008-01-23 19:24 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-22  0:51 Gnat, tasking, Vista tmoran
2008-01-22  1:02 ` Anh Vo
2008-01-22  2:02   ` tmoran
2008-01-22  7:10     ` Pascal Obry
2008-01-22 21:45       ` Alex R. Mosteo
2008-01-22 21:54         ` Pascal Obry
2008-01-22  7:37     ` Jean-Pierre Rosen
2008-01-22 23:30       ` Phaedrus
2008-01-23  4:30         ` tmoran
2008-01-23  8:32           ` Ludovic Brenta
2008-01-23 19:37             ` Alex R. Mosteo
2008-01-23 20:49               ` Ludovic Brenta
2008-01-23 19:24           ` Robert A Duff [this message]
2008-01-23  8:43         ` Pascal Obry
2008-01-23 11:56           ` Ludovic Brenta
2008-01-23 18:37           ` tmoran
2008-01-23 18:43             ` Ed Falis
2008-01-23 19:18             ` Ludovic Brenta
2008-01-23 10:28         ` Jean-Pierre Rosen
replies disabled

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