News for hackers. Stuff that matters.
Re:Thinking About Recursion by tigershark on Tuesday February 11, 2020 @12:38AM (#22296359)
C# from .Net 64bit supports tail-call optimization as far as I know. If you write your function in a tail recursive way it will be optimized and you won’t have any stack overflow if you use a C# version more recent than that.
Re:Thinking About Recursion by jmnicolas on Tuesday February 11, 2020 @02:56PM (#22302120)
I use .NET 4.8 but I need to check if it's x86 or x64.
Re:Thinking About Recursion by tigershark on Wednesday February 12, 2020 @06:54AM (#22308064)
You need also to check if your function is tail recursive.