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/
Return to the
comp.compilers page.
Search the
comp.compilers archives again.