On Mon, Aug 25, 2008 at 7:12 AM, parisse
<[EMAIL PROTECTED]> wrote:
>
> I still do not understand why giac is not even mentionned in the
> symbolic discussion considering the fact that like ginac, it is a C++

I was able to very quickly get a good understanding of the Ginac
codebase, and make fundamental changes that allowed me to
modify it to work at its core throughout with Python objects instead
of CLN.  Every single question I have had about Ginac I have literally
been able to answer for myself in minutes by reading the source
code. And when I change things in Ginac I can rebuild the whole
system in just over a minute.   My experience with Giac is that:
(a) I can't build it, (b) even on systems where I could, I'm not
patient enough, and (c) looking at the source code from the point
of view of doing what I want makes me dizzy and I get nowhere,
(d) and Giac is HUGE -- about five times the size of Ginac, and
much of that code in Giac overlaps with what Sage already does,
and (e) my technical build guy tells me that Giac isn't a model
of super high quality code.

So to me Giac cannot solve any of our problems today,
unless we want Sage to be bloated, and we want to take months
or years rather than a few days to get this stuff done.

Perhaps I could take code from Giac, e.g., for limits or
symbolic integration, but (a) you're using GPLv3, so I can't,
and (b) probably that would make you unhappy anyways,
and (c) I would rather such functionality comes from the sympy
project, since that is in Python.

> By the way, I installed in ~parisse on sage the 64 bits binaries
> version of giac (icas) and xcas so that everybody can test benchmarks.
> Unfortunately a few system libraries on sage have bad rights, e.g.
> libstdc++.so.6 is rw instead of rwx, hence one must run
>  export LD_LIBRARY_PATH=~parisse
> before running
>  ~parisse/icas
> For example
> g:=(x+y+z+1)^20; h:=(x-y+2z-2)^20; time(r:=normal(g*h));

Wow, that particular synthetic benchmark is really fast in Giac.

 -- William

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@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-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to