3 ms·
I actually think this is a good thing. Writing (correct) multi-threaded programs is actually really hard to do. The underlying philosophy of both Ruby and Pyth
by pdubroy 18y ago
I actually think this is a good thing.
Writing (correct) multi-threaded programs is actually really hard to do. The underlying philosophy of both Ruby and Python is that the programmer's time is more important than the computer's. Using multiple processes instead of threads may require slightly more memory and computation time, but the programmer will spend less time debugging.
- neilc 18y agoNeither Ruby nor Python makes it impossible write threaded programs, with all the ensuing dangers -- their standard implementations just don't implement threading very well. I think it's a stretch to say that this constitutes an intentional judgement about the downsides of using threads. For all their disadvantages, threads can sometimes be the most effective way to structure a concurrent program.