Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
colanderman
on June 26, 2013
|
parent
|
context
|
favorite
| on:
GHCJS - Haskell in the Browser
No.
Automatic
tail call
elimination
can't be implemented without breaking JS semantics.
Manual
tail calls can perfectly well be implemented without breaking anything.
yoklov
on June 27, 2013
|
next
[–]
Of course! The parent mentioned JS getting them however, which is, as I mentioned, impossible.
chongli
on June 26, 2013
|
prev
[–]
Yeah, just add goto!
colanderman
on June 27, 2013
|
parent
[–]
Yes, add goto. If JS is going to be the "assembly language of the web", it needs a general branch construct or it
will
suck.
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Manual tail calls can perfectly well be implemented without breaking anything.