Comment by lunias
2 days ago
Here is something I find quite funny, when I search multithreading vs multiprocessing on google I get the following AI response:
[Multithreading] Cons:
A single thread crash can bring down the entire process.
Not ideal for CPU-bound tasks on a single core due to limitations like Python's Global Interpreter Lock (GIL)
So, it assumes that I'm using Python... and that's why threads are not preferable... got it.
No comments yet
Contribute on Hacker News ↗