[Mono-devel-list] tailcall support in mcs

Jackson Harper jackson at latitudegeo.com
Mon Sep 15 16:47:05 EDT 2003

 Quote from Jim Hogg:
  (note in passing that .NET compilers for "conventional" languages like C#,
don't generate tail. calls, even if you craft a genuinely tail-recursive,
accumulating factorial, for example.  You'd want to be using a Scheme,
Lisp or ML to see tail. prefixed calls in the wild)
 found here:

 If you want to emit tail calls I would reccomend ilasm. 


> -----Original Message-----
> From: mono-devel-list-admin at lists.ximian.com
> [mailto:mono-devel-list-admin at lists.ximian.com]On Behalf Of Miguel de
> Icaza
> Sent: Monday, September 15, 2003 1:16 PM
> To: Michal Moskal
> Cc: mono-devel-list at ximian.com
> Subject: Re: [Mono-devel-list] tailcall support in mcs
> Hello,
> > Is outputting tallcalls done or planned in mcs? I'm working on
> > functional language implementation. I'm generating C# (for 
> now, later
> > I'll switch to ilasm or bytecode), so lack of tailcalls is very
> > annoying.
> So far, I had no plans on adding support for this.  Does Microsoft CSC
> emit tail calls?  Do you have a sample program that illustrates this?
> Miguel
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list

More information about the Mono-devel-list mailing list