[Mono-dev] Cilk for Mono

Stifu stifu at free.fr
Fri Nov 5 04:56:21 EDT 2010


Would this require a change in the runtime, or only in the compiler?
If the runtime needs to be updated, that would break compatibility with
.NET.
I doubt this could work as an external library, right?


kcleung wrote:
> 
> I am surprised that the Cilk task-stealing mechanism, which is
> algorithmically proven to be the most efficient, is not included in C#
> 5.0 specification.
> 
> However would it be feasible for us to implement Cilk in dmcs for Mono
> 3.0?
> 
> The resultant language will have the new keywords "spawn" and "sync"
> (with support for atomic "+=", "-=" operators on spawn results) and
> inlets.  The compiler should also forbid using results from spawn
> before calling "sync"
> 
> Beside performance advantages, the cilk model is really much simpler
> than the async interface in C# 5.0
> 
> Since Cilk (developed by MIT) is *not* patented, there should be no
> legal obstacles preventing us from implementing the Cilk flow model
> onto C#, or other mono / .NET languages.
> 
> What do you think?
> 
> Cheers,
> 
> Qichang
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 
> 

-- 
View this message in context: http://mono.1490590.n4.nabble.com/Cilk-for-Mono-tp3028260p3028313.html
Sent from the Mono - Dev mailing list archive at Nabble.com.


More information about the Mono-devel-list mailing list