[GiNaC-devel] GiNaC is not a C compiler [Was: Optimized C-style output]

Jens Vollinga vollinga at physik.uni-wuppertal.de
Wed Mar 21 12:57:44 CET 2007


Dear Stefan,

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?

Regards,
Jens


More information about the GiNaC-devel mailing list