Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tigershark
on Feb 11, 2020
|
parent
|
context
|
favorite
| on:
Thinking About Recursion
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.
jmnicolas
on Feb 11, 2020
[–]
I use .NET 4.8 but I need to check if it's x86 or x64.
tigershark
on Feb 12, 2020
|
parent
[–]
You need also to check if your function is tail recursive.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: