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=-0.8 required=5.0 tests=BAYES_00,INVALID_DATE, MSGID_SHORT autolearn=no autolearn_force=no version=3.4.4 Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!rpi!uupsi!sunic!enea!sommar From: sommar@enea.se (Erland Sommarskog) Newsgroups: comp.lang.ada Subject: Re: Sizes of executables from Unix compilers Message-ID: <1700@enea.se> Date: 6 Jun 90 06:37:14 GMT References: <1930@sparko.gwu.edu> Organization: Enea Data AB, Sweden List-Id: Michael Feldman (mfeldman@seas.gwu.edu) gives the sizes of some "hello world" programs: >C (HP835) 34816 >Ada (HP835) 86016 > >C (Sun-3) 32768 >Ada1(Sun-3) 57344 >Ada2(Sun-3) 106496 >Ada3(Sun-3) 139264 I don't think this is a language issue, but one of operating system. Shared libraries is apparently not a standard features on Unix, it has been on VMS as long as I have known. I haven't tried a "Hello world" on VMS, but it should be less than 10 blocks (= 5120 bytes). Of course, an Ada system under Unix could do various optmizations at link time to keep down the size, on the other hand why adopt to an ancient technology? -- Erland Sommarskog - ENEA Data, Stockholm - sommar@enea.se