3 ms·
Every language with sufficient concurrency and parallelism primitives are prone to dead locks/live locks and any other kind of race conditions.
by kaba0 3y ago
Every language with sufficient concurrency and parallelism primitives are prone to dead locks/live locks and any other kind of race conditions.
- mrkeen 3y agoExactly! 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.