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.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,fcc2d88d867060e8 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-12-20 15:42:02 PST Path: archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!crtntx1-snh1.gtei.net!news.gtei.net!newsfeed1.easynews.com!easynews.com!easynews!news-feed01.roc.ny.frontiernet.net!nntp.frontiernet.net!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr22.news.prodigy.com.POSTED!7db1df25!not-for-mail From: lifetime n00b User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031014 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: load and use a ".o" file? References: <132Fb.3462$I02.2996@newssvr23.news.prodigy.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: NNTP-Posting-Host: 66.25.226.7 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr22.news.prodigy.com 1071963664 ST000 66.25.226.7 (Sat, 20 Dec 2003 18:41:04 EST) NNTP-Posting-Date: Sat, 20 Dec 2003 18:41:04 EST Organization: SBC http://yahoo.sbc.com X-UserInfo1: [[PGWYOE\RTMBRPXN[O@_WH@YR_B@EXLLBWLOOAFWIWTEPIB_NVUAH_[BL[\IRKIANGGJBFNJF_DOLSCENSY^U@FRFUEXR@KFXYDBPWBCDQJA@X_DCBHXR[C@\EOKCJLED_SZ@RMWYXYWE_P@\\GOIW^@SYFFSWHFIXMADO@^[ADPRPETLBJ]RDGENSKQQZN Date: Sat, 20 Dec 2003 23:41:04 GMT Xref: archiver1.google.com comp.lang.ada:3646 Date: 2003-12-20T23:41:04+00:00 List-Id: tmoran@acm.org wrote: > How about making the freshly generated "hithere" file a server program > with remotely accessible procedures etc and use Annex E. That would be horribly inefficient. Conceptually, the contents of these object files become part of the "main program" when they are loaded and share the same address space with the main program. For example, a call to a function normally involves putting the arguments on the stack, executing the function, and reading the return value from a register. In the distributed case, the partition containing the function must be located and placed on the stream, the arguments to the function are placed on the stream, the stream is sent to the receiving partition which executes the function locally, and the result of the function call is placed back on the stream which is then read as the return value.