Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
usrnm
on March 28, 2021
|
parent
|
context
|
favorite
| on:
A “Better C” Benchmark
You don't need to use delete explicitly to control the lifetime of objects in C++. A properly placed "}" or a call to something like .release() can be just as effective. The problem is, there is simply no way to do it in a GC language.
CyberDildonics
on March 28, 2021
[–]
I think you completely misunderstood what I wrote. I was asking the person I replied to why they needed to use new and delete.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: