I just had a look at the Julia project http://julialang.org/

Have a look at how they manage operator overloading:

https://github.com/JuliaLang/julia/blob/master/examples/quaternion.jl

That is a great idea, it would keep code clear and readable, and avoid the 
need of all those *if isinstance( ) ... elif isinstance( )*
*
*
By the way, the aim of Julia is to be both an interpreted language and a 
fast compiled language, with speed of execution near to those of C. At the 
same time they want to keep perfect interaction with both Python and C...

So, why not try rewriting Sympy Core in Julia? It would keep the 
programming language simple, maybe even simpler than in Python, and at the 
same time allow perfect interaction with both Python and C, and reach the 
performance of C.

By the way, I know that using classes in C++ decreases performance, the way 
Julia overloads operators would keep things as easy as in simple C.

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to