Concurrency planning

From IokeWiki
Revision as of 15:36, 24 November 2010 by Admin (talk | contribs) (Reverted edits by Icotime (Talk) to last version by Olabini)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

My (Ola Bini) current thoughts on concurrency

futures with agents, like Io, agents are a thread pool, futures become the real value when needed. agents can be spun off too. use some other syntax since @ is taken. lazy operator is a lexical kinda thing that just does the operations inside it when it's needed. a future implemented in terms of aspects:

 
Future before(:any, except: [:become, :forceResult], 
              self become(self forceResult))