DEV Community

Discussion on: Asynchronous vs Synchronous Programming

hardy613 profile image
Scott Hardy Author

Thanks, Matt!

How would you explain to someone misunderstanding the difference with Asynchronous code and Multithreaded code?

toastking profile image
Matt Del Signore

The way I usually explain it is that threads can be though of as parallel lines doing work simultaneously. Asynchronous code can be thought of as a line with a bunch of different segments one after the other. Asynchronous hands of execution over and over.