Thredu
codecompassProgramming

ELI5: what's the difference between a process and a thread?

I keep reading that threads are "lighter" than processes but I don't really get why. Is it just that threads share memory and processes don't? And if so, why would you ever pick processes over threads?

A simple analogy would really help.

Comments · 0

No replies yet — start the conversation.