[nem-en] Re: About macro

Kamil Skalski kamil.skalski at gmail.com
Sat Feb 10 16:38:02 CET 2007


AFAIR it is related to http://nemerle.org/bugs/view.php?id=568

In short - MS.NET puts a very low limit on stack size of .NET
programs, which is problematic with functional style of programming.
So we fire a separate Thread for compilation, which is given larger
stack size limit programmatically.
This particular method detects if we are running on MS.NET
implementation, since mono has higher limit, which did not cause any
problems in practice.

2007/2/10, Vladimir Reshetnikov <V.Reshetnikov at gmail.com>:
> What is the meaning of this method in "main.n"?
>
>     needs_bigger_stack () : bool
>     {
>       typeof (object).Assembly.GetType ("System.RuntimeType") != null
>     }
>
>
>
> _______________________________________________
> https://nemerle.org/mailman/listinfo/devel-en
>


-- 
Kamil Skalski
http://nazgul.omega.pl



More information about the devel-en mailing list