logoalt Hacker News

rescbr • yesterday at 7:04 PM • 0 replies • view on HN

Considering that LLMs more often than not forget stuff when writing code, I definitely prefer Rust's automatic memory management system compared to balancing mallocs and frees throughout the code.

You could do RAII in C++, but the compiler won't warn on unsafe code.