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

> rust hates globals

Rust has added OnceCell and OnceLock recently to make threadsafe globals a lot easier for some things. it's not "hate", it just wants you to be consistent about what you're doing.





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

Search: