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

lazy_static with either a mutex or a RwLock.

I actually love how rust gatekeeps the idiots from programming it, probably why Linus Torvalds allowed rust into the kernel, but not C++.





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

Search: