Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
pjmlp
on April 3, 2021
|
parent
|
context
|
favorite
| on:
The Sad Truth About C++ Copy Elision
Maybe I am missing something, but when we care about
unwind-protect
, I would rather stay with safer languages than C++.
gumby
on April 3, 2021
[–]
Unwind-protect is not just for memory; consider with-open-file.
pjmlp
on April 3, 2021
|
parent
[–]
Both Lisp examples, and mechanisms available in most modern languages with automatic memory management, no need to dive into unsafe C++ code for them.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: