r/ProgrammerHumor • • 14d ago

Meme cppAndItsVectorBooleans

Post image
3.4k Upvotes

214 comments sorted by

View all comments

Show parent comment

1

u/Scared_Accident9138 13d ago

Wasn't the Linux way to just use fork if you need parallelism back then? (I mean it's still a thing)

1

u/Usual_Office_1740 13d ago

I don't know. I’ve only been programming for a few years. I’ve used fork for capturing stdout write calls for unit testing but that was it.

1

u/ih-shah-may-ehl 11d ago

My big problem with fork is that it requires you to build everything into the same process, then fork, and choose behavior depending on which of the instances you are. In many cases, you want multithreaded parallelism in the same process