On Mar 11, 2008, at 5:11 PM, David MacQuigg wrote: > What I would like to see is something like a simple "directive" I > could put in my Python code to say "The following function is in C", > and have Python set up the linkage for me.
Actually, there is! It's part of scipy and it's *very* slick: http://www.scipy.org/Weave It works great, though as I said, for my problems it's not always faster than python+psyco+numpy (which I have to say I find disappointing, considering how cool weave is). > It would make a nice improvement in this Mandelbrot demo if you > could show me a way to significantly improve the speed of the Python > I already have, perhaps avoiding the need for C. I'll take a look at it. --- Rob Malouf <[EMAIL PROTECTED]> Department of Linguistics and Asian/Middle Eastern Languages San Diego State University _______________________________________________ Edu-sig mailing list Edu-sig@python.org http://mail.python.org/mailman/listinfo/edu-sig