[GiNaC-devel] GiNaC is not a C compiler [Was: Optimized C-style
vollinga at physik.uni-wuppertal.de
Wed Mar 21 12:57:44 CET 2007
Stefan Weinzierl schrieb:
> I believe an efficient way to do this is to write the expression as C code
> into a file, compile and reload the compiled function into memory.
Sheplyakov Alexei schrieb:
> However, GiNaC does support code generation, and even got that evil
> GiNaC::excompiler thing...
The evil thing Alexei mentioned is part of CVS HEAD. Maybe you can have
a look at it (it is in the files excompiler.* mostly). Most parts of it
are unscrupulously stolen from your code in gtybalt ...
Maybe we can combine/improve that code with your patch. What do you think?
More information about the GiNaC-devel