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

I've been thinking about how one could get around the Send + Sync requirements, it's a fascinating conundrum, from a language design standpoint.

If we didn't have the Send + Sync requirements, and multiple async functions are running concurrently on the same thread, and multiple of them locked the same RefCell, might that cause a panic?



> If we didn't have the Send + Sync requirements, and multiple async functions are running concurrently on the same thread, and multiple of them locked the same RefCell, might that cause a panic?

Hopefully.




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

Search: