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

I think he meant 1 byte on the heap for the shared state, on the stack it's larger.

Which is fine since in Rust we almost always have the mutex in function scope as long as we're using it.



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

Search: