Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Try out Kotlin, or just spend more time with rust to get comfortable with memory management. Once you get used to it, for so many cases, the difference kinda boils down to wrapping certain code in a pair of curly braces to ensure things get dropped.

I use manual lifetimes very infrequently. I honestly used to use them more when trying to represent referenced types in structs, but usually find myself reaching for Arc<Mutex> now.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: