Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
avinassh
on Sept 19, 2021
|
parent
|
context
|
favorite
| on:
Currying in JavaScript
How do functional programming languages optimises these?
oweiler
on Sept 19, 2021
|
next
[–]
I don't know about other languages, but in Kotlin these are normally inlined, which means no allocation.
chakkepolja
on Sept 20, 2021
|
prev
[–]
Most of them, using compilers ('deforestation' optimizations etc..), and of course they also provide escape hatches for tight loops.
Consider applying for YC's W25 batch! Applications are open till Nov 12.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: