comp.lang.ada
 help / color / mirror / Atom feed
From: "Nick Roberts" <nickroberts@callnetuk.com>
Subject: Re: GPL and "free" software
Date: 1999/05/04
Date: 1999-05-04T00:00:00+00:00	[thread overview]
Message-ID: <373248e6@eeyore.callnetuk.com> (raw)
In-Reply-To: 372ADF48.B3C88507@doc.ic.ac.uk

Very briefly, C++ templates and Ada generics provide a way to encode an
algorithm only once, if it is the kind of algorithm which can be applied
unchanged to several variations of things that are basically 'static' in
languages such as C++ and Ada (types, functions/subprograms, etc.).  Each
such variation is called an 'instance', and setting up an instance ready for
use is called 'instantiation'.  C++ templates and Ada generic units work in
fundamentally the same way; the biggest difference being that, in C++,
templates are instantiated automatically.

The usual (default) implementation is for each instantiation of a template
or generic unit to cause the creation of a new piece of object code, varied
according to the template/generic parameters.  (This generally gives faster
execution speed, but at the cost of the overall program's object code being
bigger.)

But, some implementations (optionally) produce a single piece of object
code, which calls 'hooks' inside it to provide the variation according to
the different template/generic parameters; each instantiation then simply
generates a set of appropriate hooks.  A pointer to one of these sets of
hooks must be passed in on every call into the template/generic.  (This
generally gives slower speed, but reduces the size of the overall program's
object code.)

There are other schemes which provide a compromise between these two
extremes.

I think the relevant point is that, in any eventuality, if a program uses a
template or generic unit, then some object code corresponding to that
template or generic unit will end up in the program's object code.  I feel
sure it is the case that the source code for many templates and generic
units will constitute an 'original and substantive work' susceptible to a
claim of copyright.

-------------------------------------
Nick Roberts
-------------------------------------







  parent reply	other threads:[~1999-05-04  0:00 UTC|newest]

Thread overview: 162+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-04-20  0:00 air traffic control software Terry J. Westley
1999-04-21  0:00 ` Kevin Rigotti
1999-04-21  0:00   ` Robert Dewar
1999-04-21  0:00     ` GPL and "free" software (was: air traffic control software) Terry J. Westley
1999-04-21  0:00       ` dennison
1999-04-21  0:00       ` bill
1999-04-23  0:00         ` Robert Dewar
1999-04-23  0:00         ` Robert Dewar
1999-04-23  0:00           ` Tom Moran
1999-04-24  0:00             ` Florian Weimer
1999-04-25  0:00               ` Robert Dewar
1999-04-26  0:00                 ` GPL and "free" software Nick Roberts
1999-04-26  0:00                   ` Phil Hunt
1999-04-27  0:00                     ` Robert Dewar
1999-04-27  0:00                       ` Ronald Cole
1999-04-26  0:00                   ` Robert Dewar
1999-04-26  0:00                   ` Tim Smith
1999-04-26  0:00                   ` Florian Weimer
1999-04-26  0:00                   ` Paul Hughett
1999-04-26  0:00                     ` Robert Dewar
1999-04-26  0:00                       ` Paul Hughett
1999-04-26  0:00                         ` Robert Dewar
1999-04-27  0:00                           ` Lynn Winebarger
1999-04-26  0:00                             ` Tim Smith
1999-04-27  0:00                             ` Barry Margolin
1999-04-27  0:00                               ` Lynn Winebarger
1999-04-27  0:00                           ` Paul Hughett
1999-04-27  0:00                             ` David Kastrup
1999-04-27  0:00                             ` Barry Margolin
1999-04-27  0:00                               ` Paul Hughett
1999-04-27  0:00                                 ` Joshua E. Rodd
     [not found]                                   ` <7g5qgg$n7t@www.inetnow.net>
1999-04-28  0:00                                     ` Joshua E. Rodd
1999-04-28  0:00                                       ` Robert Dewar
1999-04-28  0:00                                         ` Joshua E. Rodd
1999-04-29  0:00                                           ` Robert Dewar
1999-04-29  0:00                                             ` David Starner
1999-04-29  0:00                                               ` Robert Dewar
1999-04-29  0:00                                             ` Lynn Winebarger
1999-04-29  0:00                                               ` Joshua E. Rodd
1999-04-30  0:00                                                 ` Lynn Winebarger
1999-05-05  0:00                                               ` Richard E. Hawkins Esq.
1999-05-05  0:00                                                 ` Robert Dewar
1999-05-05  0:00                                                   ` Richard E. Hawkins Esq.
1999-05-06  0:00                                                     ` Robert Dewar
1999-05-06  0:00                                                       ` Barry Margolin
1999-05-06  0:00                                                         ` Robert Dewar
1999-05-06  0:00                                                         ` Robert Dewar
1999-05-06  0:00                                                           ` Barry Margolin
1999-05-06  0:00                                                             ` Robert Dewar
1999-05-06  0:00                                                               ` Barry Margolin
1999-05-06  0:00                                                                 ` Robert Dewar
1999-05-06  0:00                                                                   ` Roger Espel Llima
1999-05-07  0:00                                                                     ` Robert Dewar
1999-05-07  0:00                                                                       ` Barry Margolin
1999-05-07  0:00                                                                       ` dennison
     [not found]                                             ` <7gdv6m$1fid$1@Mercury.mcs.net>
1999-05-03  0:00                                               ` [O/T 4 cla] " Joshua E. Rodd
     [not found]                                                 ` <7gkmt5$e8t@www.inetnow.net>
1999-05-03  0:00                                                   ` Joshua E. Rodd
     [not found]                                                     ` <7gnb7u$hlu@www.inetnow.net>
1999-05-04  0:00                                                       ` Leslie Mikesell
1999-05-05  0:00                                                         ` Robert Dewar
1999-05-05  0:00                                                           ` Leslie Mikesell
1999-05-06  0:00                                                             ` Robert Dewar
1999-05-08  0:00                                                               ` Leslie Mikesell
1999-05-08  0:00                                                                 ` Robert Dewar
1999-05-10  0:00                                                                   ` Leslie Mikesell
1999-05-11  0:00                                                                     ` Robert Dewar
1999-05-10  0:00                                                                       ` Leslie Mikesell
1999-05-11  0:00                                                                         ` Robert Dewar
1999-05-11  0:00                                                                           ` Leslie Mikesell
1999-05-12  0:00                                                                             ` Robert Dewar
1999-05-11  0:00                                                                     ` Robert Dewar
1999-05-10  0:00                                                                       ` Leslie Mikesell
1999-05-04  0:00                                                   ` James Youngman
1999-05-06  0:00                                                     ` Robert Dewar
1999-05-04  0:00                                                 ` James Youngman
1999-05-06  0:00                                                   ` Robert Dewar
1999-05-06  0:00                                             ` Robert A Duff
1999-05-06  0:00                                               ` Robert Dewar
1999-05-07  0:00                                                 ` Joshua E. Rodd
1999-05-08  0:00                                                   ` dewarr
1999-05-18  0:00                                                     ` Joshua E. Rodd
     [not found]                                       ` <7g7ro3$q91@www.inetnow.net>
1999-04-28  0:00                                         ` Joshua E. Rodd
1999-04-28  0:00                                         ` Lynn Winebarger
1999-04-29  0:00                                           ` Robert Dewar
1999-04-29  0:00                                             ` Lynn Winebarger
1999-04-29  0:00                                               ` Aidan Skinner
     [not found]                                             ` <7g8ip8$skl@www.inetnow.net>
1999-04-29  0:00                                               ` Barry Margolin
1999-04-29  0:00                                                 ` [Offtopic for cl.ada] " Joshua E. Rodd
1999-04-30  0:00                                                 ` Paul Hughett
1999-04-30  0:00                                                   ` Robert Dewar
1999-05-08  0:00                                           ` dewarr
1999-04-28  0:00                                 ` Barry Margolin
1999-04-28  0:00                                   ` Lynn Winebarger
1999-04-28  0:00                                     ` Joshua E. Rodd
1999-04-29  0:00                                       ` Robert Dewar
1999-04-29  0:00                                         ` Robert A Duff
1999-04-29  0:00                                           ` Barry Margolin
1999-04-28  0:00                                     ` Samuel Mize
1999-04-29  0:00                                       ` Robert Dewar
1999-04-28  0:00                                     ` Samuel Mize
1999-04-29  0:00                                     ` Paul Hughett
1999-04-29  0:00                                     ` Fraser Wilson
1999-04-29  0:00                                       ` Ed Avis
1999-04-29  0:00                                         ` David Starner
1999-04-29  0:00                                           ` Ed Avis
1999-04-29  0:00                                             ` David Starner
1999-04-30  0:00                                               ` Ed Avis
1999-04-30  0:00                                                 ` Barry Margolin
1999-04-30  0:00                                                   ` Ed Avis
     [not found]                                                     ` <R5qW2.242$jw4.22063@burlma1-snr2>
     [not found]                                                       ` <372ADEED.D907754@doc.ic.ac.uk>
1999-05-03  0:00                                                         ` Joshua E. Rodd
1999-05-04  0:00                                                           ` Ed Avis
1999-05-04  0:00                                                             ` Barry Margolin
1999-05-04  0:00                                                               ` Ed Avis
1999-05-04  0:00                                                                 ` Peter Seebach
1999-05-04  0:00                                                                 ` Barry Margolin
1999-05-08  0:00                                                                   ` dewarr
1999-05-04  0:00                                                         ` Alan Braggins
1999-05-01  0:00                                                 ` Phil Hunt
1999-05-02  0:00                                                   ` Ed Avis
1999-05-02  0:00                                                     ` Phil Hunt
1999-05-02  0:00                                                       ` Ed Avis
1999-05-03  0:00                                                         ` dennison
1999-05-02  0:00                                                     ` Ole-Hjalmar Kristensen
1999-05-02  0:00                                                   ` Andy Isaacson
1999-05-03  0:00                                                     ` Robert Dewar
1999-04-29  0:00                                             ` Robert Dewar
1999-04-29  0:00                                             ` Joshua E. Rodd
1999-04-29  0:00                                         ` Robert Dewar
1999-04-30  0:00                                           ` Ed Avis
1999-04-29  0:00                                         ` Barry Margolin
1999-04-30  0:00                                     ` spblunt
1999-04-30  0:00                                       ` David Kastrup
1999-04-27  0:00                           ` spblunt
1999-04-27  0:00                             ` Robert Dewar
1999-04-26  0:00                   ` spblunt
1999-04-26  0:00                     ` Barry Margolin
1999-04-26  0:00                     ` Tim Smith
1999-04-26  0:00                       ` Kenneth P. Turvey
1999-04-27  0:00                         ` Robert Dewar
1999-04-27  0:00                           ` Barry Margolin
1999-05-02  0:00                             ` Mitch Blevins
1999-05-02  0:00                               ` Sam Holden
1999-05-03  0:00                                 ` Barry Margolin
1999-04-26  0:00                       ` Robert Dewar
1999-04-27  0:00                       ` Phil Hunt
1999-04-27  0:00                         ` David Kastrup
1999-04-27  0:00                           ` Robert Dewar
1999-04-27  0:00                             ` Lynn Winebarger
1999-05-05  0:00                             ` Richard E. Hawkins Esq.
1999-04-27  0:00                           ` Lynn Winebarger
1999-04-26  0:00                     ` Robert Dewar
1999-04-26  0:00                   ` Robert Dewar
1999-04-23  0:00           ` GPL and "free" software (was: air traffic control software) Larry Kilgallen
1999-04-23  0:00             ` Robert Dewar
     [not found] ` <DXqW2.244$jw4.22256@burlma1-snr2>
     [not found]   ` <7gdln1$vna$1@jetsam.uits.indiana.edu>
     [not found]     ` <372ADFBD.4F4C241B@doc.ic.ac.uk>
1999-05-01  0:00       ` GPL and "free" software Lynn Winebarger
     [not found]       ` <7gff2f$8o2@www.inetnow.net>
1999-05-01  0:00         ` Ed Avis
1999-05-03  0:00         ` Joshua E. Rodd
     [not found]       ` <m2zp3pat3q.fsf@mailhost.neuroinformatik.ruhr-uni-bochum.de>
1999-05-03  0:00         ` Joshua E. Rodd
1999-05-04  0:00           ` Ed Avis
1999-05-04  0:00           ` Larry Kilgallen
1999-05-03  0:00     ` Barry Margolin
     [not found] ` <7gdd9e$36l$1@flotsam.uits.indiana.edu>
     [not found]   ` <372ADF48.B3C88507@doc.ic.ac.uk>
1999-05-04  0:00     ` Nick Roberts [this message]
1999-05-07  0:00       ` Robert Dewar
replies disabled

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