▲ | h4ck_th3_pl4n3t 5 days ago | ||||||||||||||||||||||
> Half these issues stem from a relative misunderstanding of exactly where the code is running. If I take a look at other languages, these kind of multi-threading issues are usually represented by providing a separate context or sync package (that handle mutexes and atomics) in the stdlib. And I guess that's what's completely missing in nodejs and browser-side JS environments: An stdlib that allows to not fall into these traps, and which is kind of enforced for a better quality of downstream packages and libraries. | |||||||||||||||||||||||
▲ | christophilus 5 days ago | parent | next [-] | ||||||||||||||||||||||
This has nothing to do with multithreading, though? | |||||||||||||||||||||||
| |||||||||||||||||||||||
▲ | 5 days ago | parent | prev [-] | ||||||||||||||||||||||
[deleted] |