Memory Management in Python | Stack vs Dynamic Memory | Advanced Python Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ธ.ค. 2024

ความคิดเห็น •

  • @Codeyug
    @Codeyug  2 หลายเดือนก่อน

    Correction :- Both stack memory and heap memory allocated at runtime by interpreter. First stack memory is allocated and then heap memory. Just ignore when I say stack memory is allocated by compiler. I was telling the wroking of other language...it's not true for python. Everything is correct in abkve video except when is say stack memory is allocated by compiler.Please let me know if any questions...

  • @muhammadishaque4818
    @muhammadishaque4818 9 หลายเดือนก่อน +1

    hey bro, i just wanna say that you are awesome, the way you explain in very simple words as much as you could is also wonderful, thank you for and its totally appreciable.

  • @mehedihossain2573
    @mehedihossain2573 2 ปีที่แล้ว +2

    thank you so much...we are wating for this...

    • @Codeyug
      @Codeyug  2 ปีที่แล้ว +1

      Thank you.. Keep watching

  • @dark_legions2227
    @dark_legions2227 2 ปีที่แล้ว +1

    Great... Eagerly waiting for your video..plz send me python notes..

  • @Akshyakumarsingh
    @Akshyakumarsingh 6 หลายเดือนก่อน

    Good brother nice explanation

  • @empowercode
    @empowercode 2 ปีที่แล้ว +3

    Hey, great video! Particularly, I like how clear and detailed your explanations are as well as the depth of knowledge you have surrounding Python. Since I run a tech education channel as well, I love to see fellow content creators sharing, educating, and inspiring a large global audience. Keep up the great work!

    • @Codeyug
      @Codeyug  2 ปีที่แล้ว

      Thank you so much.. All the best for your channel.

    • @nothingmuch67
      @nothingmuch67 ปีที่แล้ว

      @@Codeyug Hey bro where did you learn this from? Do you recommend any books or anything?

  • @TutorPointJ-P
    @TutorPointJ-P ปีที่แล้ว

    Nicely explained!

  • @VeeruVarse
    @VeeruVarse 4 หลายเดือนก่อน +1

    Bro you are wrong both memory created at run time because python is dynamic semantic type language so during run time both memory created to store the variable name and it's data reference in heap and inside interpreter environment there is no compiler its an compiling process that's is part of interpreter that is referred to bytecode generator dude

  • @spawar2443
    @spawar2443 ปีที่แล้ว +1

    grt explanation

    • @Codeyug
      @Codeyug  ปีที่แล้ว

      Thanks..

  • @kittureddy9297
    @kittureddy9297 2 ปีที่แล้ว +2

    Hey you explained programming very well ,but definition is also important right say that too (example shallow copy and deep copy) we want definition also please you do.

    • @Codeyug
      @Codeyug  2 ปีที่แล้ว +1

      Okay.. So I think learners will note down what I say. But, I will include definitions on ppt from next time.

    • @kittureddy9297
      @kittureddy9297 2 ปีที่แล้ว +2

      I want the definition bro ,I am your subscriber ever and forever.

    • @Codeyug
      @Codeyug  2 ปีที่แล้ว +1

      @@kittureddy9297 okay and thanks. .. Next time i will take care of that.

    • @kittureddy9297
      @kittureddy9297 2 ปีที่แล้ว +1

      You should not be thanking you,we should be thanking you.

  • @technicalshaktimann1156
    @technicalshaktimann1156 2 ปีที่แล้ว +1

    Isn’t Stack data structure follows FILO? In your example while storing references seems like it follows FIFO. I think it should be FILO num1-> num2-> add(x,y)
    Could you pls help?

  • @dilipinamdar5523
    @dilipinamdar5523 2 ปีที่แล้ว +1

    thank you so much..

    • @Codeyug
      @Codeyug  2 ปีที่แล้ว

      Keep watching videos on my channel..

  • @salikak3213
    @salikak3213 ปีที่แล้ว +1

    thank you bro

    • @Codeyug
      @Codeyug  ปีที่แล้ว +1

      Welcome

  • @gunamrit
    @gunamrit ปีที่แล้ว +1

    Chhota correction, garbage collection works at run time, not at compile time. 6.39 mei

    • @Codeyug
      @Codeyug  ปีที่แล้ว

      Thanks for correction

  • @vidhansharma9167
    @vidhansharma9167 ปีที่แล้ว +1

    Bhai part 3 kaha hai iska

  • @LifeDude
    @LifeDude 10 หลายเดือนก่อน

    Correction is size of stack is calculated at compile time and assignment happen in interpretation.
    Correct me if i am wrong.

  • @Onlinetraining-h7x
    @Onlinetraining-h7x 8 หลายเดือนก่อน +1

    all variables are objects in python .What the hell are u saying here

    • @Codeyug
      @Codeyug  8 หลายเดือนก่อน

      Two things here, variables are references for objects or values that you create in python. Second thing is, variables are names and internally memory is allocated for variable names. It means variables names are also values. Hence, I said that statement

    • @Onlinetraining-h7x
      @Onlinetraining-h7x 8 หลายเดือนก่อน

      @@Codeyug ok buddy but i heard people say that references/alias have the same memory address as the objects imean (&reference variable) will be same as (&object) right so how come object is in heap and reference variable is in stack .could u comment on that

  • @donfeto7636
    @donfeto7636 ปีที่แล้ว +1

    Why you make english title and speak indian ?

    • @Codeyug
      @Codeyug  ปีที่แล้ว

      I don't know why this is happening with my videos. Learning Hindi and then python will take lot of efforts..