[nem-en] Re: language shootout: cheap-concurrency
Dmitry Ivankov
divanorama at gmail.com
Mon May 7 07:46:44 CEST 2007
One question: why it is called concurrency?
As far as I understand the task is to use general concurrency mechanisms.
On 5/7/07, Micky Latowicki <biosap at gmail.com> wrote:
>
> And now, the attachment (oops)!
>
> On 5/7/07, Micky Latowicki <biosap at gmail.com> wrote:
> >
> > Hi all.
> >
> > I've implemented the cheap-concurrency benchmark in Nemerle. It's 15
> > times faster than the c# implementation, because I use plain closures to
> > implement the threads (rather than native threads which the c# version
> > does).
> >
> > I'm rather new to Nemerle,
> > and would be glad to receive any feedback on this, particularly suggestions for improvement.
> > If I'm reinventing some wheel here (except for yield, which I chose to
> > reinvent) - let me know.
> >
> > Also, I submit this for inclusion in trunk/snippets/shootout (I don't
> > have commit access myself).
> >
> > A note about yield: At first I tried doing this with yield, but I gave
> > up on that, because apparently yield can't be used from within a closure - I
> > found that too limiting. Happily, it's always possible to use explicit
> > closures.
> >
> > Cheers.
> >
> >
>
> _______________________________________________
> https://nemerle.org/mailman/listinfo/devel-en
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /mailman/pipermail/devel-en/attachments/20070507/7717096e/attachment.html
More information about the devel-en
mailing list