Concurrency is having only one hand. - Start doing something with your hand, stop, do another thing, stop, go back to the first thing. So, you are sharing one hand among different activities. Parallelism is having both of your hands. - Start brushing your teeth with the right hand, style your hair with left hand.
Concurrency is multiple things are happening whether simultaneously or not. Parallelism is things are happening at the same time. Concurrency: Drinking coffee while waiting on a line. Parallelism: While you're drinking coffee at the same time texting to your girlfriend with your other hand.
Actually the human brain is just switching from one task to the other very fast. So it feels parallel but really is concurrent. But the principle is right.
Oh hell yes I'm going to share the video. I don't have any friends but I'll forcibly share with my little brother to watch the video AND the entire ad. And then he'll probably subscribe because the videos are amazing.
Concurrency is a design where you structure your program into different tasks in a way that, if you run them sequentially or in parallel mode, the final result of the program will remain same. It is independent of the threads, you can run it on single core (or) multi-core the result of program will be same. Concurrency is a way to deal the things whereas Parallelism is a way to do the things.
Hey Bro . Thanks for Greaaat explanation . you are just awesome , I like your Video style now this is clear for the differences between Concurrency and Parallelism . good luck buddy .
In computer science, concurrency refers to the ability of different parts or units of a program, algorithm, or problem to be executed out-of-order or in partial order, without affecting the final outcome. This allows for parallel execution of the concurrent units, which can significantly improve overall speed of the execution in multi-processor and multi-core systems. In more technical terms, concurrency refers to the decomposability property of a program, algorithm, or problem into order-independent or partially-ordered components or units. "Lamport, Leslie (July 1978). "Time, Clocks, and the Ordering of Events in a Distributed System""
Nice video...easy to understand. I would like to know what is the exact difference centralized computing and distributed computing..plz try to answer if possible
About the four arms thing, I think our brain is more of an obstacle than the amount of arms we've got. What do you guys think? Our brain is, as far as I'm aware, unable to focus on two things at once, hence obstructing our ability to perform tasks in parallel.
Never stop making these videos Dave. I am in my first year of university and I don't know much about tech. However going switch out of business and try EE. Or CS. Something in the tech area. Your videos are really helping me. I heard about you from engineered truth and sure glad I did. Now I have a question. When I look at some of the EE classes I'll be taking they sound really intimidating. Do you need to be a straight a student to make it through an engineering degree?
+Paul Sidon No, you definitely don't have to be a straight A student. If you do EE, CE, or CS, you'll just have to be really disciplined and get used to being confused all the time. I just made a video actually about engineering in college, check that out if you haven't. Thanks for the kind words
+Dave Xiang your welcome and thank you for the prompt reply. I was going to save that video for tomorrow night. I would def like to see some vlogs too man. Maybe like what a day at work is like or even just what you get up to day to day. Have a great night.
I thought he explained it really well. You are multi-tasking except you are not running in these tasks in parallel. Basically task switching. Here is an excerpt from stackoverflow: Concurrency means multiple tasks which start, run, and complete in overlapping time periods, in no specific order. Parallelism is when multiple tasks OR several part of a unique task literally run at the same time, e.g. on a multi-core processor. It doesn't seem like he's making a mistake.
Inanc Gumus he did not confuse the two sequentially is one task after the other start to finish while concurrent in his example is doing homework stopping to text somebody and then going back to homework.
This is all just terminology and nothing else. The true meaning of these two notions is in the set of issues that you need to cope with while programming concurrent and/or parallel applications.
Concurrency is having only one hand.
- Start doing something with your hand, stop, do another thing, stop, go back to the first thing. So, you are sharing one hand among different activities.
Parallelism is having both of your hands.
- Start brushing your teeth with the right hand, style your hair with left hand.
Concurrency is multiple things are happening whether simultaneously or not. Parallelism is things are happening at the same time. Concurrency: Drinking coffee while waiting on a line. Parallelism: While you're drinking coffee at the same time texting to your girlfriend with your other hand.
Actually the human brain is just switching from one task to the other very fast. So it feels parallel but really is concurrent. But the principle is right.
@@MaxCBPCenter do you have sources for this? Autonomic processes occur in distinct subsystems that are "always on", afaik.
Oh hell yes I'm going to share the video. I don't have any friends but I'll forcibly share with my little brother to watch the video AND the entire ad.
And then he'll probably subscribe because the videos are amazing.
Concurrency is a design where you structure your program into different tasks in a way that, if you run them sequentially or in parallel mode, the final result of the program will remain same. It is independent of the threads, you can run it on single core (or) multi-core the result of program will be same. Concurrency is a way to deal the things whereas Parallelism is a way to do the things.
Hey Bro . Thanks for Greaaat explanation . you are just awesome , I like your Video style now this is clear for the differences between Concurrency and Parallelism . good luck buddy .
In computer science, concurrency refers to the ability of different parts or units of a program, algorithm, or problem to be executed out-of-order or in partial order, without affecting the final outcome. This allows for parallel execution of the concurrent units, which can significantly improve overall speed of the execution in multi-processor and multi-core systems. In more technical terms, concurrency refers to the decomposability property of a program, algorithm, or problem into order-independent or partially-ordered components or units. "Lamport, Leslie (July 1978). "Time, Clocks, and the Ordering of Events in a Distributed System""
Nice video...easy to understand. I would like to know what is the exact difference centralized computing and distributed computing..plz try to answer if possible
bro this was awesome. Thanks for dumbing it down for us noobs.
About the four arms thing, I think our brain is more of an obstacle than the amount of arms we've got. What do you guys think? Our brain is, as far as I'm aware, unable to focus on two things at once, hence obstructing our ability to perform tasks in parallel.
Yea, our minds don't think in parallel. The casual phrase of "multi-tasking" means your brain allows for high concurrency, but not parallelism.
Thanks for great explanation!
What is time sharing then? Is it the same as concurrency?
Oh man, your example with extra set of arms is hilarious... thanks!!
Never stop making these videos Dave. I am in my first year of university and I don't know much about tech. However going switch out of business and try EE. Or CS. Something in the tech area. Your videos are really helping me. I heard about you from engineered truth and sure glad I did. Now I have a question. When I look at some of the EE classes I'll be taking they sound really intimidating. Do you need to be a straight a student to make it through an engineering degree?
+Paul Sidon
No, you definitely don't have to be a straight A student. If you do EE, CE, or CS, you'll just have to be really disciplined and get used to being confused all the time. I just made a video actually about engineering in college, check that out if you haven't. Thanks for the kind words
+Dave Xiang your welcome and thank you for the prompt reply. I was going to save that video for tomorrow night. I would def like to see some vlogs too man. Maybe like what a day at work is like or even just what you get up to day to day. Have a great night.
If with one hand I rub my head and with the another I rub my belly, is this parallelism? or concurrency?
I have just one suggestion, the back ground music is Loud. Like if is 7/10 make it 3-4/10.
Great Video though
+Jasmeet Singh Thanks for the feedback. Yea it's definitely too loud, will be making it much quieter. Thanks
(y)
well put out in the humblest of ways. Thanks
Really nice video, really nice channel! Congratulations.
You literally confuse sequentiality with concurrency.
yep he does. He does display that really well when explaining concurrency with a single core processor as an example.
I thought he explained it really well. You are multi-tasking except you are not running in these tasks in parallel. Basically task switching. Here is an excerpt from stackoverflow:
Concurrency means multiple tasks which start, run, and complete in overlapping time periods, in no specific order. Parallelism is when multiple tasks OR several part of a unique task literally run at the same time, e.g. on a multi-core processor.
It doesn't seem like he's making a mistake.
Inanc Gumus he did not confuse the two sequentially is one task after the other start to finish while concurrent in his example is doing homework stopping to text somebody and then going back to homework.
Simple and Clear....Very Usefull...!!!!
Stay hungry, stay humble!!
This music reminds me of music from HBO's Silicon Valley
Great video Brotha!!!
I put on my clothes before brushing my teeth #anarchist
Great man ! So simply explained.
Great!
This is all just terminology and nothing else. The true meaning of these two notions is in the set of issues that you need to cope with while programming concurrent and/or parallel applications.
Pretty clear lol =))
Thank you for the great examples!
Well put! Thank you
Thanks dude, very useful video!
What are the similarities between parallelism & metaphores??
Good explanation, thanks Dave
I breathe and put on my clothes at the same time
Parallel?
But you cant sing while brushing your teeth.
@@ZAGGNUT1 thats concurant
But can you breathe in and breath out at the same time?
How these terms relate to multi threading?
so concurrency and sequential are same ?
senthil kumar p no lol but that's what he says
nice vid mate
Thanks Alot DUDE
So what is Driving and talking on the phone at the same time?
parallelism
the music is distracting nice info tho
Thanks for the explanation :)
Glad it was helpful!
Thank you sir
Thanks ...it is useful
The background music ruins it.
Great explanation
CITATION NEEDED, also apply @5:08 to yourself.
Brilliant
I definitely know how to crash any computer
the analogies werent good but i like the intention
You can take a shi... and watch your mobile. phone that is parallelism!😂
you can brush your teeth and make a call phone at the same time!
but I think you need one more brain to be parallel