comp.lang.ada
 help / color / mirror / Atom feed
From: "Marin David Condic" <marin.condic.auntie.spam@pacemicro.com>
Subject: Re: calander package
Date: Tue, 13 Mar 2001 17:32:25 -0500
Date: 2001-03-13T22:32:52+00:00	[thread overview]
Message-ID: <98m76k$cfi$1@nh.pace.co.uk> (raw)
In-Reply-To: nAwr6.4569$7e6.1762378@homer.alpha.net

Well, a while ago there was an attempt to have a Standard Components working
group come up with a bunch of utility stuff like data structures, etc. For
whatever reasons it sort of collapsed. Maybe nobody had enough time to "own"
the group?

Anyway, I think the way things like date tools could make it into the Ada
language as a part of the standard would be through a process similar to
this. If there were a group of die-hard Ada fans who developed some useful
collection of general-purpose code (dates, math functions, data structures,
etc.) and it gained some level of acceptance as a pseudo-standard, then it
wouldn't be that big a deal to extend compilers to include it. (Well, O.K.
If it was part of the standard, someone would feel honor-bound to require it
be tested & that could end up looking like work!) This is certainly how a
lot of functions have made their way into C as part of the standard or a de
facto standard. Everyone just glommed onto the software and included it in
their compiler distribution within the search path.

AFAIK, it isn't required that a compiler allow you to create child packages
of standard Ada packages and this has bitten me in the past. (Not legal to
make "Ada.Numerics.My_Cool_Stuff"?) Hence it isn't likely that Calendar
itself can be extended except by the compiler writers - and you're back to
"more pressing things to do". But maybe there's some way to allow for this
kind of extension in a semi-standard way that encourages the development of
useful packages that might get adopted by the compiler vendors. For example,
if there was an "Ada.Extras" package (pick whatever name you like) that was
specified by the standard as the "standard" way of providing "non-standard"
packages as children, this might help breed non-standard extensions that
eventually become standard extensions? Hmmmm? If you use them, you know
you're not guaranteed portable - just like the optional appendices - but it
becomes the place to create utility code that might get adopted by one or
more compiler vendors?

GNAT provides some useful extensions in a similar way, but what other
compiler vendor is going to want to have GNAT.Something as part of their
product? Bad publicity. However Win32Ada seems to have been adopted as a
semi-standard, so it can be done - just not if it looks like someone else is
going to get the credit or ownership. It would be nice to see some set of
utilities migrate into Ada in some manner that gave one confidence in using
them without requiring additions to the ARM.....

MDC
--
Marin David Condic
Senior Software Engineer
Pace Micro Technology Americas    www.pacemicro.com
Enabling the digital revolution
e-Mail:    marin.condic@pacemicro.com
Web:      http://www.mcondic.com/


"Randy Brukardt" <randy@rrsoftware.com> wrote in message
news:nAwr6.4569$7e6.1762378@homer.alpha.net...
>
> I've done this dozens of times, too. So, when the problem came up with
> the Smplsrvr, we went ahead and added a package of operations to Claw.
> The Claw.Time package really doesn't depend on Claw itself (nor on
> Windows), so it could be used separately. It's in the Claw Introductory
> version, which is available for free non-commerical use at
> www.rrsoftware.com.
>
> I was thinking about proposing something on this line to the ARG for
> standardization, but it unclear that the ARG is interested in
> (semi-)standardizing these sorts of packages. (It seems to run about
> 50-50 within the membership as to whether time should be spent on it.
> The objections mostly are that there are more important things to work
> on.)
>






  reply	other threads:[~2001-03-13 22:32 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-13  0:04 calander package arcele
2001-03-13 14:24 ` Marin David Condic
2001-03-14 11:52   ` Mario Amado Alves
2001-03-13 15:52 ` Ted Dennison
2001-03-13 16:45   ` Marin David Condic
2001-03-13 18:52     ` Ted Dennison
2001-03-13 19:50       ` Marin David Condic
2001-03-13 21:47         ` Randy Brukardt
2001-03-13 22:32           ` Marin David Condic [this message]
2001-03-14  2:04           ` Vincent Marciante
2001-03-14 14:47             ` Marin David Condic
2001-03-15  0:23             ` Jeffrey Carter
2001-03-15 17:45               ` Marin David Condic
2001-03-16 16:54               ` Robert A Duff
2001-03-14  0:51         ` tmoran
2001-03-14 15:21           ` Marin David Condic
2001-03-15  1:39             ` Randy Brukardt
2001-03-15 17:55               ` Marin David Condic
2001-03-16 14:50                 ` Planned increment for package Datetime Mario Amado Alves
2001-03-14  2:19       ` calander package Jeffrey Carter
2001-03-14  8:33 ` Pascal Obry
replies disabled

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