Hacker Times
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
kgwxd
on Nov 3, 2021
|
parent
|
context
|
favorite
| on:
Differences with other Lisps
I believe it was due to limitations of the JVM at the time.
Edit:
https://www.windley.com/archives/2008/11/tail_optimized_mutu...
erik_seaberg
on Nov 3, 2021
|
next
[–]
I prefer Scala’s solution, where tail calls look like normal calls, and a @tailrec annotation can assert they really are optimized out (or break the build).
gumby
on Nov 3, 2021
|
prev
[–]
Seems like they compiler could generate the trampoline itself and just ignore any recur that occurs.
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:
Edit: https://www.windley.com/archives/2008/11/tail_optimized_mutu...