Hacker News new | ask | show | jobs
by kaba0 885 days ago
Every language with sufficient concurrency and parallelism primitives are prone to dead locks/live locks and any other kind of race conditions.
1 comments

Exactly! It's the same thing with memory management primitives. If you expose malloc and free directly to an application programmer, things will eventually get buggy.

It's better to hide the locking primitives and let the runtime handle it for you safely.