Wed, 28 Feb 2001 02:16:11 -0800
Cool! Thanks for doing this.
I guess GHC is fast because it's implementing lightweight
threads inside a single OS thread.
| -----Original Message-----
| From: Josef Svenningsson [mailto:firstname.lastname@example.org]
| Sent: 28 February 2001 09:47
| To: email@example.com
| Subject: Lightningspeed haskell
| Hi all.
| Some days ago someone posted this url:
| which is a page benchmarking a number of different languages and
| compilers where ghc is one of them. Some benchmarks lacked a haskell
| versions (and some still do) and so I decided to fill in some
| of the gaps.
| One benchmark turned out to give pretty remarkable results. It's the
| producer/consumer benchmark. I suggest you all take a look at it. The
| haskell version is six (SIX!!!) times faster than the c version. Hey,
| what's going on here? I would really like to hear some
| comments from our
| dear implementors.
| It should be noted that synchronisation is achieved by using
| slightly different kinds of primitives. But still... six times...
| I lift my hat of for the ghc-implementors.
| Glasgow-haskell-users mailing list