Swift - Stack vs Heap

Ғылым және технология

In this video we look at:
- What the Swift stack and heap are
- How they are difference
- How they help us write better programs
0:00 Intro
0:47 What is a stack
1:27 What is a heap
1:50 How are they different
3:18 A working example
🤖 Source code
github.com/jrasmusson/ios-pro...
🕹 Level up further with these courses
Professional iOS Development
www.udemy.com/course/the-swif...
Data Structures & Algorithms
www.udemy.com/course/the-swif...
Level Up in AutoLayout
www.udemy.com/course/level-up...
Level Up in Swift
www.udemy.com/course/level-up...

Пікірлер: 21

  • @matveyshishov
    @matveyshishov2 ай бұрын

    That sound from Mario should play in all IDEs when there is an error, by default.

  • @roshanthapa25
    @roshanthapa25 Жыл бұрын

    This was a very nice video. Thanks a lot!

  • @maazsurti
    @maazsurti Жыл бұрын

    Thanks you very much. Very informative video!

  • @luiszambon5082
    @luiszambon50822 жыл бұрын

    Very good content as usual! Thanks for sharing!!

  • @swiftarcade7632

    @swiftarcade7632

    2 жыл бұрын

    Thank you Luis. All the best.

  • @radu300599
    @radu3005992 жыл бұрын

    Nice videos, really something that stands out from the other swift / iOS videos. Subscribed

  • @swiftarcade7632

    @swiftarcade7632

    2 жыл бұрын

    Thank you Radu. So glad you found us. Welcome to the channel :)

  • @NiclasJeppsson

    @NiclasJeppsson

    2 жыл бұрын

    Totally agree with this comment. Great job :)

  • @eyupcimen
    @eyupcimen5 ай бұрын

    this is very helpfull thanks for this video.

  • @user-gz8gg2pl7r
    @user-gz8gg2pl7r2 жыл бұрын

    Hi from Cyprus! I was looking for what is different class vs struct and i found you video. It's amazing!

  • @swiftarcade7632

    @swiftarcade7632

    2 жыл бұрын

    Hello Cyprus! So glad you are here. Welcome to the channel.

  • @ariyaman90
    @ariyaman902 жыл бұрын

    👌👌👌👌Very nice and clear!!! Thank you :)

  • @swiftarcade7632

    @swiftarcade7632

    2 жыл бұрын

    Thank you Amir. This was a fun one to make. Cheers.

  • @mattdamon2532
    @mattdamon25322 жыл бұрын

    Thank you very much sir!

  • @swiftarcade7632

    @swiftarcade7632

    2 жыл бұрын

    Hey you most welcome Matt. Thanks for stopping by. Love your movies! :)

  • @nirajmehta3102
    @nirajmehta3102 Жыл бұрын

    Nice videos,

  • @tokero5199
    @tokero51992 жыл бұрын

    Not sure how I ended up here, but I liked the video. This seems to be more about reference types vs value types and not really about the difference between the stack and the heap though...

  • @swiftarcade7632

    @swiftarcade7632

    2 жыл бұрын

    Hi John. Fair point. I focused on the reference vs value because to me, this is where stack vs heap affects the way you code.

  • @pandalanhukuk804
    @pandalanhukuk8048 ай бұрын

    What about closures in structs?

  • @JonatanEdOrtiz
    @JonatanEdOrtiz2 жыл бұрын

    Great!

  • @swiftarcade7632

    @swiftarcade7632

    2 жыл бұрын

    Thank you !

Келесі