Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
fire_lake
on March 28, 2025
|
parent
|
context
|
favorite
| on:
Things I would have told myself before building an...
And even then, execution depends on your language and compiler.
Write a recursive BFS in Haskell and it won’t blow up the stack.
hyperbrainer
on March 28, 2025
[–]
Any language with decent TCO won't do that. Python is the only big language that I can think of that doesn't do it.
fire_lake
on March 28, 2025
|
parent
[–]
Guaranteed TCO is pretty rare unfortunately.
Java, Go, JavaScript all lack it.
hyperbrainer
on March 30, 2025
|
root
|
parent
[–]
Actually, you are right.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Write a recursive BFS in Haskell and it won’t blow up the stack.