On Jul 5, 3:02 am, Harald Schilly <[EMAIL PROTECTED]> wrote:
> On Jul 5, 9:16 am, Thierry Dumont <[EMAIL PROTECTED]> wrote:
>
> >   Hello,
>
> > My question is: is there / will there  be some tool for code generation
> > in Sage ?

It has been discussed of doing something like that recently at Sage
Dev1.

> Hi, I understand what you want to do, but as far as I understand, this
> is only needed, because of the performance? There are already tools
> ins Sage to create near native C code out of python (called cython,
> but you need to know what to do) and you can optimize symbolic
> expressions for fast evaluation. Others might give you more details on
> that. In the end, Sage tries to be as good as C/Fortran, but not by
> working in two different "worlds".

Nope, I think Harald misunderstood you. The goal is to specify say
some finite element and then have logic to produce C or Fortran code
that can be dumped to file and then copy and pasted into someones C or
Fortran code without the need to depend on Sage. I have seen similar
code in Matlab and Maple and had the pleasure to debug autogenerated
code, so I can certainly understand why one would prefer to delegate
such a tedious job of creating that code to a CAS :)

> H

Cheers,

Michael
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to