Re: Fastening the run-time interpretation of mathematical expressions

Martin Ward <martin@gkc.org.uk>
13 Nov 2006 16:31:58 -0500

          From comp.compilers

Related articles
Fastening the run-time interpretation of mathematical expressions paolopantaleo@gmail.com (PAolo) (2006-11-11)
Re: Fastening the run-time interpretation of mathematical expressions haberg@math.su.se (2006-11-11)
Re: Fastening the run-time interpretation of mathematical expressions mailbox@dmitry-kazakov.de (Dmitry A. Kazakov) (2006-11-13)
Re: Fastening the run-time interpretation of mathematical expressions akk@privat.de (Andreas Kochenburger) (2006-11-13)
Re: Fastening the run-time interpretation of mathematical expressions martin@gkc.org.uk (Martin Ward) (2006-11-13)
Re: Fastening the run-time interpretation of mathematical expressions tommy.thorn@gmail.com (Tommy Thorn) (2006-11-13)
Re: Fastening the run-time interpretation of mathematical expressions 148f3wg02@sneakemail.com (Karsten Nyblad) (2006-11-15)
Re: Fastening the run-time interpretation of mathematical expressions martin@gkc.org.uk (Martin Ward) (2006-11-15)
Re: Fastening the run-time interpretation of mathematical expressions idknow@gmail.com (idknow@gmail.com) (2006-11-15)
Re: Fastening the run-time interpretation of mathematical expressions gah@ugcs.caltech.edu (glen herrmannsfeldt) (2006-11-16)
Re: Fastening the run-time interpretation of mathematical expressions darius@raincode.com (Darius Blasband) (2006-11-20)
| List of all articles for this month |
From: Martin Ward <martin@gkc.org.uk>
Newsgroups: comp.compilers
Date: 13 Nov 2006 16:31:58 -0500
Organization: Compilers Central
References: 06-11-052
Keywords: interpreter, performance
Posted-Date: 13 Nov 2006 16:31:58 EST

On Saturday 11 Nov 2006 20:50, you wrote:
> I am writing a piece of software that accept in input the definition
> of a mathematical function and a list of points in which evaluate the
> function and puts the result in output. The main feature of the progam
> is that once the function definition is read, the program evaluates
> the function very fast


At run time, your program could write out a file containing a
standalone C function which implements the mathematical function,
compile this to a shared library (or DLL), dynamically link it in, and
call the function as required.


GNU Libtool (http://www.gnu.org/software/libtool/libtool.html)
will do this portably on Unix-like systems and on windows using Cygwin.


--
Martin
martin@gkc.org.uk http://www.cse.dmu.ac.uk/~mward/


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.