--nextPart2365549.pKPUZEf8HS
Content-Type: Text/Plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printableOn Saturday 25 September 2010 20:21:22 Joel Roth wrote:
Hm. The idea I mainly have in mind is not to optimize your python code, but=
=20
prototype your app with its functionality in python and when all works as=20
expected (more or less), port the time-critical parts to c/C++. Not because=
=20
python is slow (it is compared to native asm) in general, but because it is=
=20
definitely to slow for various tasks like audio. And because python afaik s=
till=20
has the big interpreter lock, effectively suppressing any python multi-
threading. Which you work around by re-implementing your heavy-math parts i=
n C=20
and run them outside the interpreter lock (but still from within threads=20
created and managed from python)...
Have fun,
Arnold
--nextPart2365549.pKPUZEf8HS
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEABECAAYFAkyeaI8ACgkQuYLL1cDjHx2zOgCfQ+EvaQC65etoa3c4sGCqYtvM
WBcAmQHHhALi0i8DARLm57beU1skNVXn
=gK3j
-----END PGP SIGNATURE-----
--nextPart2365549.pKPUZEf8HS--
LINUX® is a registered trademark of Linus Torvalds in the USA and other countries.
Linuxaudio.org logo copyright Thorsten Wilms © 2006.
Hosting provided by the Virginia Tech Department of Music and DISIS.