Python Performance vs. C++ in a Complex System
Gabriel Ambuehl
gabriel_ambuehl at buz.ch
Sat Apr 21 14:08:39 EDT 2001
-----BEGIN PGP SIGNED MESSAGE-----
Hello Aahz,
Monday, April 16, 2001, 12:31:46 AM, you wrote:
> It depends on whether you use native Python threads or microthreads
> built on top of Stackless Python. Python threads are built on top
of
> OS-level threads, so the OS handles the context switch.
Microthreads
> are built on top of continuations in Stackless, and an essentially
> cooperative multi-tasker handles the context switches.
So Microthreads are faster? Guess I'll have to try out stackless
then...
Best regards,
Gabriel
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2i
iQEVAwUBOuG+mMZa2WpymlDxAQGzNggAsoRbam+7hO6QnmvJtzIb0QPKkzLYduOE
qevJ9jFUxrqNmBackLxolC4xzyRZ2tSaSrXfl0bfmcmTzvyttxCX7qzFpjtsLGic
l4vWKUFam2zXTk3UPPIpH1wqXcUaN9mpeEDUbOR/EA7HFj5CUGi2T7oejIcMcMJK
bGVydc3dSrX9zQnLhOmG2Gcd9t/vXQkPNgwFXqS7vjLaoO09G9HUrnDnCEVOhlj4
lQW9/q94OltSMSoOmUO9CFludIPwVgT2E+ZMlmQHjlB+XeyHGviC2BWLlioJyvL+
FfDptdT/bQSYjkp5VCzIdK7o4guLDBKGoNhtkEQmg6oiwgCDQp61Ow==
=ob3M
-----END PGP SIGNATURE-----
More information about the Python-list
mailing list