Hacker News new | ask | show | jobs
by mpweiher 2442 days ago
No.

There is never a way for the compiler to do this safely and automatically.

That said, there are ways for the programmer to do this manually if they know that it is safe to do so.

It would be nice if the compiler would help in these situations.