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

Makes sense. Though Cells would really stand out in the code as a potential for race conditions (unless you get a run time failure?). Thanks for the insight.


There is a special bound--Share--that is required on thread-safe data structures and forbids Cell/RefCell. The thread-safe equivalents of Cell and RefCell are Atomic and Mutex, respectively.




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

Search: