JavaScript Under The Hood [4] - Memory Storage

Поделиться
HTML-код
  • Опубликовано: 21 сен 2024

Комментарии • 62

  • @umamaheshmeka1032
    @umamaheshmeka1032 2 года назад +29

    The Voice - which motivates developers to go to any extent to learn !!! I really love your teaching 💝💝💝

  • @ngolelawsonmbwoge3647
    @ngolelawsonmbwoge3647 Год назад +10

    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!

  • @PRAHLADSAHU-pk4fd
    @PRAHLADSAHU-pk4fd Год назад +3

    I like the way he admitted he doesn't know about memories much and still gave the relevant info with great explanation.

  • @vinaypatil8009
    @vinaypatil8009 2 года назад +10

    That heap memory explanation with diagram is on point perfect.
    Thanks for your hard work sir.

  • @kosmarjus
    @kosmarjus 2 года назад +6

    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.

  • @darkmojojojo
    @darkmojojojo 2 года назад +3

    Keep going with these videos. It's definitely helping with understanding why JS behaves the way it does for me.

  • @devbrothonath9396
    @devbrothonath9396 7 месяцев назад

    2nd time hearing about stack and heap and it's set in my mind. This was so simple, it blew me away.

  • @godfreyndiritu9062
    @godfreyndiritu9062 2 года назад +3

    Imagine all that knowledge in 12 minutes, how much more helpful if it was an hour or so? Thanks Brad

    • @darkmojojojo
      @darkmojojojo 2 года назад +2

      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
      @Retrofire-47 Год назад

      @@darkmojojojo pots and pans, stranger.

  • @jhmesseroux
    @jhmesseroux 2 года назад +4

    more videos like this , love it Brad , i learned something new

  • @pablojoyce
    @pablojoyce 2 года назад +2

    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.

  • @lathamanoharan642
    @lathamanoharan642 2 года назад

    Thanks for this series Brad. It was very helpful for me to understand some of the basics of why javascript works this way

  • @elyoaprogrammer
    @elyoaprogrammer 2 года назад +2

    Execellent series..I enjoyed it!..Thanks Brad !

  • @alexiscostoulas
    @alexiscostoulas Год назад

    maybe the best and most clear explanation on this topic !!

  • @bevedel
    @bevedel Год назад

    Waiting for more videos from you. Thank you for this great serie.

  • @josephwong2832
    @josephwong2832 2 года назад

    Wow!
    Finally I understand it now. Thanks Brad

  • @WendimuSitotaw
    @WendimuSitotaw 2 года назад +1

    I'm really digging this series!

  • @genrum4803
    @genrum4803 Год назад

    Love this series, very helpful for beginners.

  • @thisweblabvideos
    @thisweblabvideos Год назад

    Amazing video. Well explained and important. Thanks

  • @gunarcom
    @gunarcom 2 года назад

    This is a strong video. Good work my friend!

  • @bossmohd
    @bossmohd Год назад +1

    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?

  • @eillioniscreating
    @eillioniscreating Год назад

    Please make more video ! I love your videos.

  • @ahmad-murery
    @ahmad-murery 2 года назад

    7:34 I whish 40 but we'll say 44 😥 so, enjoy it while you're there,
    Thanks Brad,

  • @yoshreimi
    @yoshreimi 2 года назад

    wow thank you so much for creating this content for free

  • @drippindamnfaucet3309
    @drippindamnfaucet3309 2 года назад +1

    Nice Xplanation!!!!

  • @jonp9511
    @jonp9511 2 года назад +1

    Very helpful

  • @xkwantified
    @xkwantified 2 года назад +1

    Excellent series👍!

  • @mahdikamran8061
    @mahdikamran8061 11 месяцев назад

    Thank you.

  • @moqusi24
    @moqusi24 2 года назад

    Thank you for the explanation

  • @bhuvandwarasila
    @bhuvandwarasila 21 день назад

    fire brother

  • @rutvijdoshi9664
    @rutvijdoshi9664 2 года назад +1

    Great video. Please create video series on React under the hood.

  • @nikhilmandaliya
    @nikhilmandaliya 9 месяцев назад

    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?

  • @eboum4273
    @eboum4273 Год назад

    Thanks

  • @dasuntheekshana3433
    @dasuntheekshana3433 11 месяцев назад

    nice work
    thank y0u

  • @MgelikaXevi
    @MgelikaXevi Год назад

    for algo, great series!

  • @ScriptRaccoon
    @ScriptRaccoon 2 года назад

    Shoutout to Github Copilot who always knew what Brad wanted to type next :-O

  • @sourandbitter3062
    @sourandbitter3062 2 года назад

    Love the new intro

  • @DanzzyTechWorld
    @DanzzyTechWorld 2 года назад

    This explains mutability well

  • @legalcoffee5315
    @legalcoffee5315 Год назад

    So helpful 🎉thanks!

  • @mirkafarkasova2425
    @mirkafarkasova2425 6 месяцев назад

    Great video! Had no idea it works like this. In what case would I use this tho?

  • @prudhvichinnam1488
    @prudhvichinnam1488 2 года назад +1

    Do series on react under the hood

  • @nithinraj342
    @nithinraj342 2 года назад

    U r a good teacher. Can u do video on how nestjs project architecture need to be.

  • @developersharif
    @developersharif 2 года назад

    Love from Bangladesh ♥

  • @tamboleo
    @tamboleo Год назад +1

    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 ?

  • @anandstephan6020
    @anandstephan6020 2 года назад

    please make more video of javascript core concept

  • @thewild123
    @thewild123 2 года назад

    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.

  • @najeemfasil5199
    @najeemfasil5199 Месяц назад

    great 😇

  • @G.Lomidze
    @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

  • @matchujk
    @matchujk 10 месяцев назад

    in the first example from 4:35 to 6:47 is the 'stack' the global execution context?

  • @mulualemtekle6094
    @mulualemtekle6094 2 года назад

    great content dude!!

  • @deathangel908
    @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?

  • @georgenonis5967
    @georgenonis5967 Год назад

    Not sure why but I cant find objects in the snapshot. Great video anyways and great explanation as always

  • @nicogarcia7302
    @nicogarcia7302 2 года назад

    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?

  • @k.ksharma4457
    @k.ksharma4457 2 года назад

    awesome👍👏

  • @sujaigorai7752
    @sujaigorai7752 2 года назад +1

    Everything in javascript is stored in heap memory

  • @mecreature
    @mecreature 2 года назад +1

    😍😍😍😍😍

  • @buddhaburrito
    @buddhaburrito 2 года назад

    11:10 I wonder how he auto complete those lines? Did he store it somewhere? What vscode extension was it?

  • @Red_Coder
    @Red_Coder Год назад

    Is there course Js under hood

  • @DmitriyMalayevProfile
    @DmitriyMalayevProfile 4 месяца назад

    Primitive Types: BeBUNSS