Hacker News new | past | comments | ask | show | jobs | submit login

> Write a multithreaded program guaranteed to have no data races in C and tell me that C is simple.

I could port most of the multiprocessing based python scripts I have lying around to C without a problem. Multithreading can be easy when you have a few rules in place what threads can read/modify data at a specific point in time.




It’s even easier when a compiler enforces those rules.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: