3 ms·
The problem with C (and many other languages too) is that with threads, the default is shared. A C-like language where all statically allocated values default
by aidenn0 4y ago
The problem with C (and many other languages too) is that with threads, the default is shared. A C-like language where all statically allocated values default to thread-local is already a big improvement. Now lets make it so file-descriptors can only be used by the thread that opened them and give each thread its own heap. Wow, this is starting to look a lot like a Unix process...