Better HN
topnewbestaskshowjobs
Log inSign up

vishesh

2 karma · joined Dec 25, 2011 (14y ago) · 2 submissions

Submissions

comment 4y ago · link · parent

Currently, the compiler does a dumb conversion to JS for loop of self tail calls. So if you call `map` on list of 1000000 items, your stack wont blow up. But I understand it is not enough for many non-trivial codebases. We were interested in doing more general TCO, and had some ideas around using trampolines (or iirc detecting mutually recursions and then trying to generate potentially a bit faster code). Had limited time, and was maybe too hopeful that eventually TCO will actually be supported by browsers (as it is part of standard).

comment 14y ago · link · parent

I have added several other search for which the search bar is quite handy. But again its just upto person to person. Most of the times "I'm feeling Lucky" works however.