News for hackers. Stuff that matters.
Re:Safety: A comparaison between Rust, C++ and Go by tialaramex on Saturday July 30, 2022 @08:13AM (#32286188)
> returning the address of a stack-allocated object is (usually) broken.

What matters is the lifetime, where the object lives is a rule of thumb for guessing lifetime that results from C++ trauma.

There are no comments on this comment yet.