Re: J3's workings
- From: glen herrmannsfeldt <gah@xxxxxxxxxxxxxxxx>
- Date: Sun, 12 Nov 2006 15:13:32 -0800
Richard Maine wrote:
Beliavsky <beliavsky@xxxxxxx> wrote:
Maybe after Fortran 2003, the language should evolve
by having compiler writers, both commercial and volunteer, (gfortran
and g95) add extensions that they think are important based on user
requests. If those features are adopted by several compilers, they
could later be standardized.
I think that approach is completely unacceptable.
But how can we test out new features before standardizing them?
1. As a user, I avoid using vendor extensions even when they are
features that I highly desire. While I make exceptions, they are darned
rare. And features supported by only a single vendor are even more rare
(as in I can't think of a single one that I use). This wasn't always the
case, but it is now. I'm not the only user like this. Thus you get a
biased picture by looking only at things that users have pushed
compilers developers into doing as extensions. You don't get the kind of
features that people like me want; I tend to view that as a negative.
:-)
There are programs where portability is likely to be important
and those where it isn't. I remember using Fortran 77 features in
WATFIV in 1974, before I even knew there was a standard, but that
was in small programs that were not likely to ever be used again.
2. When compiler vendors independently develop a feature independent of
standardization, it is almost inevitable that the different versions of
the feature won't be identical. This causes difficulty in the
standardization.
How about implementing proposed features before they are standardized?
Again, mostly for programs with an short expected life so it won't
be a big problem if the standard is different.
A common approach recently has been to deliberately do
the feature in a way that is different from any of the existing
implementations in a way that allows support of both the vendor-specific
and the newly standardized versions to coexist. That approach works fine
for things like intrinsic procedures, where using a different name is
enoug hto avoid conflict. That approach wouldn't work so well for more
basic things in the language.
Well, hopefully by now the really basic things will have been added.
That wasn't as true in the Fortran 66 and 77 days.
Also, there are likely some things were the only thing against them
is a rule that prohibits them. For one, my recently suggested nested
internal procedures. Yes, there are complications to doing it, and
they need to be considered, but I hope there wouldn't be a conflict.
-- glen
.
- Follow-Ups:
- Re: J3's workings
- From: Steven G. Kargl
- Re: J3's workings
- From: Gary Scott
- Re: J3's workings
- References:
- Re: J3's workings
- From: robert . corbett
- Re: J3's workings
- From: Steve Lionel
- Re: J3's workings
- From: Beliavsky
- Re: J3's workings
- From: Richard Maine
- Re: J3's workings
- Prev by Date: Re: Speed penalty for using allocatable arrays?
- Next by Date: Re: J3's workings
- Previous by thread: Re: J3's workings
- Next by thread: Re: J3's workings
- Index(es):
Relevant Pages
|