3 ms·
You don't have to know the majority of that, though. These are tricks the compiler/VM can use, because (unless you say otherwise in code) it's assumed that the
by jtheory 13y ago
You don't have to know the majority of that, though.
These are tricks the compiler/VM can use, because (unless you say otherwise in code) it's assumed that there's no sharing data between threads.
Most programmers (regardless of the language) just learn the rules about programming with threads -- they don't care why exactly following the rules is important.
- jbn 13y agoSure those programmers learn the rules... then they promptly forget them because they seem too complicated and "it works on my machine with only one client".. I agree with you, one must know why rules are important.. but in large systems, it's better if the system/language enforces this separation of data (praise Erlang).