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

Yes! I've been waiting for C to get a defer statement. However, my opinion of this proposal hinges on whether the implementation of lambdas requires runtime support. Not all systems running C have access to the C standard library, much less a runtime to manage lambdas (depending upon how they are implemented). Ideally defer would entirely be handled at compile time.


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

Search: