3 ms·
I'd say it's a good example why more static checks like lifetimes are useful. With them, you can at least tell apart data structures that are fleeting and can
by nine_k 5y ago
I'd say it's a good example why more static checks like lifetimes are useful.
With them, you can at least tell apart data structures that are fleeting and can disappear when a cable is ejected, and those which should stay put. This likely might help avoid another double-free or another freed pointer dereference.
- zdragnar 5y agoYou may be interested in this: https://way-cooler.org/blog/2019/04/29/rewriting-way-cooler-in-c.html https://way-cooler.org/blog/2019/04/29/rewriting-way-cooler-...