> But python's runtime is a little clunky -- threads are iffy,
> and all the dictionary lookups seem to hamper speed significantly.
> (It seems memory hungry, compared to perl e.g, also. Try something
> like:
Has anyone else looked at Bill Janssen's suggestion for using PPCR in Python:
ftp://ftp.xerox.parc.com/pub/ppcr/v1.20/README
Here's a snip:
Abstract: The Posix Portable Common Runtime (PPCR) provides integrated
user-level support for pre-emptive lightweight threads, garbage
collected storage, and dynamic programming loading. It should run on
any POSIX.1-conforming implementation that also supports BSD select()
or System V poll(). PPCR can take advantage of kernel thread
extensions of the underlying system, such as the LWP facility of
Solaris 2.3 and the sproc facility of Irix 5, to achieve true
concurrent execution by its threads on multiprocessors. It also uses
memory protection features available in some systems (e.g. mprotect())
to support incremental garbage collection.
Paul Everitt V 703.371.6909 Email Paul.Everitt@cminds.com
Connecting Minds, Inc. F 703.371.1201 WWW http://www.cminds.com/