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.
@inancgumus41256 жыл бұрын
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.
@MaxCBPCenter5 жыл бұрын
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.
@djohnston201443 жыл бұрын
@@MaxCBPCenter do you have sources for this? Autonomic processes occur in distinct subsystems that are "always on", afaik.
@sivaa15286 жыл бұрын
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.
@pk01794178 жыл бұрын
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.
@jarinusgermeraad63287 жыл бұрын
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.
@DaveXiang7 жыл бұрын
Yea, our minds don't think in parallel. The casual phrase of "multi-tasking" means your brain allows for high concurrency, but not parallelism.
@mahdizarepoor89643 жыл бұрын
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 .
@dayvie95176 жыл бұрын
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""
@Johnny-nv3gr2 жыл бұрын
bro this was awesome. Thanks for dumbing it down for us noobs.
@inelpandzic6 жыл бұрын
Oh man, your example with extra set of arms is hilarious... thanks!!
@vyshnavicheedella51407 жыл бұрын
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
@SoReaICru3 жыл бұрын
This music reminds me of music from HBO's Silicon Valley
@jasmeet17mast8 жыл бұрын
I have just one suggestion, the back ground music is Loud. Like if is 7/10 make it 3-4/10. Great Video though
@DaveXiang8 жыл бұрын
+Jasmeet Singh Thanks for the feedback. Yea it's definitely too loud, will be making it much quieter. Thanks
@jasmeet17mast8 жыл бұрын
(y)
@Igorryy8 жыл бұрын
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.
If with one hand I rub my head and with the another I rub my belly, is this parallelism? or concurrency?
@killerpedro1007 жыл бұрын
well put out in the humblest of ways. Thanks
@deshoneverett33737 жыл бұрын
What are the similarities between parallelism & metaphores??
@paulsidon45909 жыл бұрын
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?
@DaveXiang9 жыл бұрын
+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
@paulsidon45909 жыл бұрын
+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.
@d_vibe-swe8 жыл бұрын
Thanks for great explanation! What is time sharing then? Is it the same as concurrency?
@stevo9468 жыл бұрын
I put on my clothes before brushing my teeth #anarchist
@Anwaar.m.a8 жыл бұрын
Pretty clear lol =)) Thank you for the great examples!
@sundeepchowdary58939 жыл бұрын
Simple and Clear....Very Usefull...!!!!
@pieush168 жыл бұрын
Great man ! So simply explained.
@dayvie95176 жыл бұрын
CITATION NEEDED, also apply @5:08 to yourself.
@inancgumus41256 жыл бұрын
You literally confuse sequentiality with concurrency.
@dayvie95176 жыл бұрын
yep he does. He does display that really well when explaining concurrency with a single core processor as an example.
@MasayoMusic5 жыл бұрын
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.
@tommyvoelkel4485 жыл бұрын
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.
@ibrahimgudratli63454 жыл бұрын
Great!
@Retgir5 жыл бұрын
Good explanation, thanks Dave
@flamboyanz6 жыл бұрын
Well put! Thank you
@PoppyMusica7 жыл бұрын
I breathe and put on my clothes at the same time
@user-uh2cr9so8l5 жыл бұрын
Parallel?
@ZAGGNUT15 жыл бұрын
But you cant sing while brushing your teeth.
@nakibtheexplorer53834 жыл бұрын
@@ZAGGNUT1 thats concurant
@jaypacamarra10274 жыл бұрын
But can you breathe in and breath out at the same time?
@ronaldabellano56435 жыл бұрын
the music is distracting nice info tho
@vlad9819 жыл бұрын
Thanks dude, very useful video!
@ironnerd25115 жыл бұрын
How these terms relate to multi threading?
@paterfamiliasgeminusiv46236 жыл бұрын
The background music ruins it.
@nerodant854 жыл бұрын
Thanks for the explanation :)
@DaveXiang4 жыл бұрын
Glad it was helpful!
@alexpeguero-cruz25558 жыл бұрын
Great video Brotha!!!
@jakubsprega69358 жыл бұрын
Great explanation
@senthilkumar-vc7nj8 жыл бұрын
so concurrency and sequential are same ?
@sean1236547 жыл бұрын
senthil kumar p no lol but that's what he says
@plusultra68437 жыл бұрын
Thanks Alot DUDE
@martysidlauskas14927 жыл бұрын
nice vid mate
@buttegowda7 жыл бұрын
Thank you sir
@vishwadeep0077 жыл бұрын
Thanks ...it is useful
@_mvr_5 жыл бұрын
the analogies werent good but i like the intention
@rohishd7 жыл бұрын
So what is Driving and talking on the phone at the same time?
@DaveXiang7 жыл бұрын
parallelism
@DraganAlves7 жыл бұрын
Brilliant
@week-endclassbfbm96004 жыл бұрын
I definitely know how to crash any computer
@inecsoiu2 жыл бұрын
You can take a shi... and watch your mobile. phone that is parallelism!😂
@rolandbrake7 жыл бұрын
you can brush your teeth and make a call phone at the same time!
@irfanmohamad82946 жыл бұрын
but I think you need one more brain to be parallel