From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b307bd75c8071241 X-Google-Attributes: gid103376,public From: clines@delete_this.airmail.net (Kevin Cline) Subject: Re: Assuaging sour grapes :-) [was: newbie Q: storage management] Date: 1997/05/07 Message-ID: <52F0EC12E20AA44E.5796B5986C85CB4B.8C3BF60EE8ED6C1C@library-proxy.airnews.net>#1/1 X-Deja-AN: 239900615 References: <5k5hif$7r5@bcrkh13.bnr.ca> <336A065B.41C6@magellan.bgm.link.com> <336E15A4.167E@magellan.bgm.link.com> <5knhge$mul@top.mitre.org> <336FDF8B.73AF@sprintmail.com> X-Orig-Message-ID: <33760bd9.9208121@news.airmail.net> Organization: INTERNET AMERICA NNTP-Proxy-Relay: library.airnews.net Newsgroups: comp.lang.ada Date: 1997-05-07T00:00:00+00:00 List-Id: "John G. Volan" wrote: >Michael F Brenner wrote: > >> Another reason to open up the group to more people is that this group feels >> that certain problems have been solved, according to recent posts. > >I said the problems you described _might_ have been solved, but without >something more than the sketchy description you gave, it's hard to tell. > >> However, >> some people in the community do not have access to the reasons why they >> think they have been solved. In recent posts, I have been told that there >> are machine- and compiler-independent ways within Ada-95 to >> - put bits into a byte >> - do stream_IO >> - select alternate bodies for packages >> (for example, 1000 device drivers with the same visible part, >> of which one is selected as part of a computer program) > >I asked you to show a fleshed-out example of this this last problem so I >or others could perhaps help you, but so far I haven't seen it. But let >me take a guess at it any way: > > -------------------------------------------------------------------- > package Drivers is I think you missed the point, which is to dynamically load a package body at run-time, not build one enormous executable containing all 1000 device drivers. On most systems, dynamically loaded libraries can be built from C or C++ code. The library source code is portable, although the commands to build the library from source vary from system to system.