tag:blogger.com,1999:blog-8935780327334775165.post6759854830092206580..comments2023-08-07T22:48:57.800+08:00Comments on Entity Crisis: What was I thinking?Unknownnoreply@blogger.comBlogger2125tag:blogger.com,1999:blog-8935780327334775165.post-78463886995639276352007-01-23T00:14:00.000+09:002007-01-23T00:14:00.000+09:00Of course there are some users who really do need ...Of course there are some users who really <b>do</b> need concurrency across multiple processors, and they are maybe beginning to wonder about their migration path as multicore processors and multiprocessor architectures become more common.<br /><br />So, while it may be true that <b>you</b> aren't going to need it, that doesn't mean that <b>nobody</b> is going to need it. The <a href="http://en.wikipedia.org/wiki/Stackless_Python">stackless environment</a> with its ability to pickle tasklets on one machine and unpickle and activate them on another looks like a potentially usable solution. There may be others.Stevehttps://www.blogger.com/profile/15732819755000554717noreply@blogger.comtag:blogger.com,1999:blog-8935780327334775165.post-76558768534027038802007-01-22T16:40:00.000+09:002007-01-22T16:40:00.000+09:00> I ... couldn't be bothered using
> other asynchr...> I ... couldn't be bothered using<br />> other asynchronous mechanisms.<br /><br />That's a pity. Sure, at first it's not easy wrapping one's head around <a href="http://twistedmatrix.com/projects/core/documentation/howto/async.html">Twisted Deferreds</a>, but once you do, you feel peculiarly... empowered. ;-)<br /><br />There's a donwside to async code: the inside-out appearance it takes on. That can now be minimized, thanks to Python 2.5, Twisted 2.5, and the new <a href="http://twistedmatrix.com/documents/current/api/twisted.internet.defer.html#inlineCallbacks">inline callbacks</a>.<br /><br />Give it a spin, you'll not regret it.Anonymousnoreply@blogger.com