Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Using variable-sized closures created at runtime requires dynamic allocation,

While this itself may be strictly true, most closures in Rust do not require any allocation at all, and will even possibly get inlined like any other function.



Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: