Skip to content

Hack I did using python-spidermonkey and greenlet, using greenlet to switch python-spidermonkey runtimes.

License

Notifications You must be signed in to change notification settings

fzzzy/js-actors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

js-actors

4/30/2012
Donovan Preston

An experiment in scheduling javascript contexts using greenlet, thanks to python-spidermonkey. The concept works and seems to have light memory usage (about 200k per thread of control) but there seems to be a hard limit somewhere and spidermonkey refuses to create more than 63 runtimes, no matter how I tweak the heap/stack sizes of the runtime and context. python-spidermonkey still depends on spidermonkey 1.7, which is years out of date. Updating python-spidermonkey to build against mozilla-central head would be a good thing to try next.

About

Hack I did using python-spidermonkey and greenlet, using greenlet to switch python-spidermonkey runtimes.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published