Difference between revisions of "Concurrency planning"

From IokeWiki
Jump to: navigation, search
Line 1: Line 1:
 +
=[http://ehyloxame.co.cc Under Construction! Please Visit Reserve Page. Page Will Be Available Shortly]=
 
=== My ([[User:olabini|Ola Bini]]) current thoughts on concurrency ===
 
=== My ([[User:olabini|Ola Bini]]) current thoughts on concurrency ===
  
Line 5: Line 6:
 
a future implemented in terms of aspects:
 
a future implemented in terms of aspects:
  
<source lang="ioke">
+
&lt;source lang=&quot;ioke&quot;&gt;
 
Future before(:any, except: [:become, :forceResult],  
 
Future before(:any, except: [:become, :forceResult],  
 
               self become(self forceResult))
 
               self become(self forceResult))
</source>
+
&lt;/source&gt;

Revision as of 02:00, 24 November 2010

Under Construction! Please Visit Reserve Page. Page Will Be Available Shortly

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:

<source lang="ioke"> Future before(:any, except: [:become, :forceResult],

             self become(self forceResult))

</source>