[Mono-dev] Status of Mono Garbage Collector?

Michal Moskal michal.moskal at gmail.com
Fri Mar 3 03:53:12 EST 2006


On 3/2/06, Paolo Molaro <lupus at ximian.com> wrote:
> Whining about the GC has been one of the preferred sports of people
> who wanted to avoid fixing the major issues. So the GC gets the blame.

For what it's worth, I tried Patricia Tree implementation in OCaml and
Nemerle using mono. I was really amazed to see that they did very
similar (under 10% difference).

Which is quite surprising, because:
- OCaml has generational, precise GC
- the code is functional (that is it reallocates the path in the tree
at each insert), which is what the OCaml GC is optimized for, and I
doubt Boehm GC is
- OCaml has a mature native compiler, and is widely regarded as the
best performing functional language implementation
- we do isinst to check is a given node in the tree is of given kind,
while they probably have just an int comparison

You can find it here: http://nemerle.org/svn.fx7/trunk/temp/

--
   Michal Moskal,
   http://nemerle.org/~malekith/



More information about the Mono-devel-list mailing list