I think this is the first time I truly understood, when they say objects are passed by reference, from the diagrams you showed. And visualizing the heap memory storing objects, functions and arrays and stacks storing primitive data types, is just gold! It makes it way clearer to understand! Thank you so much, sir Brad!
@umamaheshmeka10322 жыл бұрын
The Voice - which motivates developers to go to any extent to learn !!! I really love your teaching 💝💝💝
@PRAHLADSAHU-pk4fd2 жыл бұрын
I like the way he admitted he doesn't know about memories much and still gave the relevant info with great explanation.
@vinaypatil80092 жыл бұрын
That heap memory explanation with diagram is on point perfect. Thanks for your hard work sir.
@kosmarjus2 жыл бұрын
Ohhh man this took me so long to figure out. I was so mad why my initial object changed every time I recalculated some values. Thank you for shedding some light on the subject.
@jhmesseroux2 жыл бұрын
more videos like this , love it Brad , i learned something new
@darkmojojojo2 жыл бұрын
Keep going with these videos. It's definitely helping with understanding why JS behaves the way it does for me.
@devbrothonath939610 ай бұрын
2nd time hearing about stack and heap and it's set in my mind. This was so simple, it blew me away.
@pablojoyce2 жыл бұрын
This is a great series! Thanks. You mentioned revamping the modern JavaScript from the beginning course. I’d love to know when that is going to happen, Brad. I love your teaching style and almost signed up last week but was put off by the age. Considered other more recent courses but would definitely take yours if updated.
@godfreyndiritu90622 жыл бұрын
Imagine all that knowledge in 12 minutes, how much more helpful if it was an hour or so? Thanks Brad
@darkmojojojo2 жыл бұрын
Personally I like these bite-sized videos. They help me with understanding basic concepts without having too much information thrown at me at the same time.
@Retrofire-47 Жыл бұрын
@@darkmojojojo pots and pans, stranger.
@lathamanoharan6422 жыл бұрын
Thanks for this series Brad. It was very helpful for me to understand some of the basics of why javascript works this way
@WendimuSitotaw2 жыл бұрын
I'm really digging this series!
@bevedel2 жыл бұрын
Waiting for more videos from you. Thank you for this great serie.
@alexiscostoulas Жыл бұрын
maybe the best and most clear explanation on this topic !!
@elyoaprogrammer2 жыл бұрын
Execellent series..I enjoyed it!..Thanks Brad !
@genrum48032 жыл бұрын
Love this series, very helpful for beginners.
@eillioniscreating Жыл бұрын
Please make more video ! I love your videos.
@ahmad-murery2 жыл бұрын
7:34 I whish 40 but we'll say 44 😥 so, enjoy it while you're there, Thanks Brad,
@thisweblabvideos2 жыл бұрын
Amazing video. Well explained and important. Thanks
@josephwong28322 жыл бұрын
Wow! Finally I understand it now. Thanks Brad
@bossmohd Жыл бұрын
Great video, although I came in looking for something else but this was informative. What I was looking for is recommendations for memory management. For example, is it bad to declare variables or should we try to minimize it. For example should I do const result = someFunction() and then return result, or return someFunction(). Is this more efficient? What are the tools that can help us measure performancece in node? Are async/await consuming more memory than sync functions?
@xkwantified2 жыл бұрын
Excellent series👍!
@gunarcom2 жыл бұрын
This is a strong video. Good work my friend!
@nikhilmandaliya Жыл бұрын
Thank you for this series, your explanation makes advance concepts easy to understand. But I have one question, if primitive variables are stored in stack, is this same as call stack? If yes, then that variables should be removed when function completes execution. So how a function can access that variable in terms of closures?
@drippindamnfaucet33092 жыл бұрын
Nice Xplanation!!!!
@mirkafarkasova24259 ай бұрын
Great video! Had no idea it works like this. In what case would I use this tho?
@mattkeg Жыл бұрын
in the first example from 4:35 to 6:47 is the 'stack' the global execution context?
@ScriptRaccoon2 жыл бұрын
Shoutout to Github Copilot who always knew what Brad wanted to type next :-O
@G.Lomidze Жыл бұрын
Thank you for series. Please one question. On 8.17 min which extension create a line on the variable which is not use now? Which extension is this
@rutvijdoshi96642 жыл бұрын
Great video. Please create video series on React under the hood.
@sourandbitter30622 жыл бұрын
Love the new intro
@tamboleo Жыл бұрын
Newby question here, how is he having the values directly on the console without refreshing the code every time? I saw this behavior on Angular but didn't know you could get real time updates on JS as well, is he using an extension or something ?
@moqusi242 жыл бұрын
Thank you for the explanation
@jonp95112 жыл бұрын
Very helpful
@yoshreimi2 жыл бұрын
wow thank you so much for creating this content for free
@DanzzyTechWorld2 жыл бұрын
This explains mutability well
@josheppinette738120 күн бұрын
Primitive values are not stored on the stack. They are stored on the heap. The only exception being small integeres (
@deathangel908 Жыл бұрын
Is stack can't handle variables of variable size, how comes when you change a string variable it still resides on the same spot in the stack?
@nithinraj3422 жыл бұрын
U r a good teacher. Can u do video on how nestjs project architecture need to be.
@buddhaburrito2 жыл бұрын
11:10 I wonder how he auto complete those lines? Did he store it somewhere? What vscode extension was it?
@ScriptRaccoon2 жыл бұрын
It's Github Copilot.
@buddhaburrito2 жыл бұрын
@@ScriptRaccoon Thank you!
@mtxar2 жыл бұрын
great content dude!!
@thewild1232 жыл бұрын
Hey Brad, thanks for the tutorial. I wonder if these diagrams help professional developers visualize how memory is occupied in their apps? I don’t really consider myself a professional but I did study memory management and memory allocation strategies by operating systems. I think it’d be better for myself and more advanced developers to study how JavaScript engine allocates memory on a much more lower level.
@nicogarcia73022 жыл бұрын
Great video Brad!! I have a doubt tough, when you you reassign newName, shouldn't it still be in memory and the engine allocates memory for a new string?
@legalcoffee53152 жыл бұрын
So helpful 🎉thanks!
@prudhvichinnam14882 жыл бұрын
Do series on react under the hood
@anandstephan60202 жыл бұрын
please make more video of javascript core concept
@bhuvandwarasila3 ай бұрын
fire brother
@mahdikamran8061 Жыл бұрын
Thank you.
@dasuntheekshana3433 Жыл бұрын
nice work thank y0u
@Red_Coder Жыл бұрын
Is there course Js under hood
@georgenonis5967 Жыл бұрын
Not sure why but I cant find objects in the snapshot. Great video anyways and great explanation as always
@developersharif2 жыл бұрын
Love from Bangladesh ♥
@MgelikaXevi Жыл бұрын
for algo, great series!
@eboum4273 Жыл бұрын
Thanks
@sujaigorai77522 жыл бұрын
Everything in javascript is stored in heap memory
@k.ksharma44572 жыл бұрын
awesome👍👏
@lilyscarlet258410 күн бұрын
just use arena allocators in c if you want memory safety. no gc or raii needed. that way you dont have so many independent lifetimes. thats the real problem. all gc does is kick the can down the road.