Am 07.03.2011 01:50, schrieb Mahesh Narayanamurthi:
Hello,

I am thinking of implementing a BLAS package in pure python. I am
wondering if this is a good idea.

I don't think so. Usually people write extensions to the CPython implementation (when talking about performance, we need to talk about Python implementations like CPython, Jython or PyPy) in C to do high performance stuff. Pure CPython is (depeneding on the problem) magnitudes slower than C.

Also, there's NumPy SciPy. Check those out.

More comments below ...

My design goals are:


[1] Efficient manipulation of Matrices and
     Vectors using pure python objects and
     python code.
No, not efficient in terms of performance.
[2] Targetted to run on Python3
Good idea. NumPy and SciPy will be (are already?) ported.
[3] Extensive use of defensive programming
     style
[4] To serve as a reference design for
     future High Performance Code in Python
The future of High Performance Python is probably PyPy.
[5] To serve as a reference material in
     classroom courses on numerical computing
     or for hobbyist programmers
Good idea, as Python is clear and nice to read.

Thanks,
Mahesh Narayanamurthi



_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to