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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,53a571639ed0bc5a X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!news.tornevall.net!news.jacob-sparre.dk!pnx.dk!not-for-mail From: Jacob Sparre Andersen Newsgroups: comp.lang.ada Subject: Re: Dynamic functions Date: Fri, 10 Aug 2007 08:54:57 +0200 Organization: Jacob's private Usenet server Message-ID: References: <46bb3919$0$19890$edfadb0f@dread11.news.tele.dk> NNTP-Posting-Host: taasingegade.news.jacob-sparre.dk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: jacob-sparre.dk 1186728897 19585 85.82.239.166 (10 Aug 2007 06:54:57 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Fri, 10 Aug 2007 06:54:57 +0000 (UTC) User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:QXIJl2YQr7b040Xm7MdBWU8b2Q8= Xref: g2news2.google.com comp.lang.ada:1384 Date: 2007-08-10T08:54:57+02:00 List-Id: Poul-Erik Andreasen wrote: > How is the best way to make a representation of a function/algorithm > wich can bee setup at runtime in Ada. Is there any reason that you cannot convert the function to Ada, write it to a file, compile it to a plug-in/DLL/shared library, and then load the plug-in/DLL/shared library? The complication is that it requires an Ada compiler on the running system, but the benefit is pretty fast execution. Greetings, Jacob -- The secret is to bang the rocks together.