Golang pointers explained, once and for all

  Рет қаралды 7,911

JamieGo

JamieGo

Күн бұрын

Пікірлер: 47
@santiagosaavedra3724
@santiagosaavedra3724 20 күн бұрын
It was easy to understand because of the graphical content. Having stack and heap graphs along with the code helped me associate those two. Thank you for the video.
@bachdx2812
@bachdx2812 Ай бұрын
awesome video ! we need more of this kind of content on youtube !!! great work !
@ansidhe
@ansidhe Ай бұрын
The key thing to grok is: & = „address of” * = „value at” (of course apart from the * when used to declare a pointer variable 😉) Great animations BTW! 👍🏼🤩
@fagnersales532
@fagnersales532 2 ай бұрын
Just started learning Go and I'm amazed that I could learn about Pointers in just 13 minutes. Amazing, never could really understand the idea of it in other languages, but did with easy with your explanation.
@mxmlkzdh
@mxmlkzdh Ай бұрын
Jamie these videos are fantastic! Please don't stop making them. Thank you.
@raypamber
@raypamber Ай бұрын
That's such a useful information in 13 minutes thank you so much for the content
@juanjoivars3254
@juanjoivars3254 3 ай бұрын
Outstanding explanation, thank you for taking your time. I love the graphics shown, it helps a lot of 👍
@gerinsz
@gerinsz 2 ай бұрын
Thank you for re-uploading this video. I thought it was going to be gone forever after your previous channel.
@thmater-x9786
@thmater-x9786 2 ай бұрын
bless the youtube algorithm for this video just perfect
@ll931217
@ll931217 2 ай бұрын
Just started learning golang after programming in python and javascript for over 6 years. I didn't study CS only IT, so all of this deep level stuff are very new to me, your explanation is super clear, I would recommend this video to people that are also starting out in golang
@emmm_4465
@emmm_4465 Ай бұрын
Right? This is a totally new paradigm for me also with JS background so super interesting. Think I wanna learn go
@hendrywilliam
@hendrywilliam Ай бұрын
@@emmm_4465 same thing for me, coming from typescript and learn go, and find out go is interesting to play with, also solved some leetcodes using go, it was fun experience.
@KyleHarrington
@KyleHarrington Ай бұрын
Diagrams on point (get it??). Seriously this channel is a goldmine
@rkalpeshk
@rkalpeshk 3 ай бұрын
Very good and clear explanation. Thank you for sharing the knowledge.
@dab500
@dab500 Ай бұрын
Thanks for this video! You explained it very well. I tried a couple videos and I still couldn't get it till this video. Subscribed!
@keen2461
@keen2461 2 ай бұрын
Excellent explanation! Thanks.
@hameldesai4756
@hameldesai4756 2 ай бұрын
Bless this video
@pache5702
@pache5702 Ай бұрын
Great video, I just have a bit of experience with C and this was easy to follow:)
@mujibulhaquetanim
@mujibulhaquetanim 2 ай бұрын
Your explanation was spot-on, clarifying all the confusing parts, especially the puzzling matter of returning addresses versus copies. And your voice? It's soothing to the mind! Many thanks!
@kmilorestre5223
@kmilorestre5223 2 ай бұрын
Just the day after I start learning Go, thanks!!
@ayato7429
@ayato7429 2 ай бұрын
Hey, your explanation was really really good! I will look into more videos of yours :)
@viththagan3547
@viththagan3547 2 ай бұрын
Great Explanation.
@romarioteixeira9567
@romarioteixeira9567 2 ай бұрын
I recently started learning Go and will definitely keep an eye on this channel! Such a nice explanation
@haroonalbar2725
@haroonalbar2725 2 ай бұрын
Thanks. really good explanation.👏
@JigangLi-x3z
@JigangLi-x3z 2 ай бұрын
Nice Explanation. I know there were a long history of debate about "Passing as reference" and "Passing as value". The immunity is a another good angle to think this problem. Thanks so much. The animation is super clear.
@larenlarry5773
@larenlarry5773 2 ай бұрын
This channel deserves more subs, gj Jamie
@yogendra591
@yogendra591 2 ай бұрын
Really helpful explanation! Thanks
@bbcoolg100
@bbcoolg100 2 ай бұрын
Really well explained! Amazing job!!! Thank you!!!
@tz8904
@tz8904 2 ай бұрын
great video, great animation. thanks
@AdiKSingh19xx
@AdiKSingh19xx 3 ай бұрын
Extremely helpful 😊
@jigarn
@jigarn 3 ай бұрын
Nice and easy explanation, Thank you
@davisbento
@davisbento 3 ай бұрын
Awesome explanation. Thanks!!
@adardev-po2rg
@adardev-po2rg Ай бұрын
Hi Jamie, Please create a video on Garbage Collector algorithms.
@Cyandog
@Cyandog 3 ай бұрын
Hi! Really great job in the concise explanation! Got a like and new sub! One quick question though: Is the heap used when returning normal values as well or just for pointers? Does that heap allocation process happen everytime a function returns? Thank you in advance!
@vaeris
@vaeris 3 ай бұрын
Normally a copy of your returned variable will be returned to the calling frame on the stack.
@muhamadasif2802
@muhamadasif2802 2 ай бұрын
Nice
@ProgrammingRainbow
@ProgrammingRainbow 2 ай бұрын
In Go *int is 2 tokens as in * int. The space is optional. I was also wondering if this subject is better suited to C instead of Go or, better yet, Forth or Assembly. Also, variable names get stripped when compiling normally. It's just address and type.
@uipath234
@uipath234 2 ай бұрын
Please make videos on concurrency
@925082
@925082 2 ай бұрын
Excellent explanation. May i know how did you make animation and show variable in box and lines what software or things?
@erenyeager655
@erenyeager655 2 ай бұрын
canva
@imranaalam
@imranaalam Ай бұрын
interface, context, structs and functions plz
@codelinx
@codelinx 2 ай бұрын
This isn’t the original channel…
@darlymettmicheli2204
@darlymettmicheli2204 2 ай бұрын
what is the original?
@nguyen_tim
@nguyen_tim Ай бұрын
I think she got rid of it or renamed it. She has a channel dedicated to game dev though, youtube.com/@jamie_dev?si=VKI6v-HnKCFXY9Eo
@ntkidding
@ntkidding 2 ай бұрын
I been working with Go for so many years and, even knowing this stuff, is always good to refresh the mind. I have a question that might be due to not being a native, but I guess you said that we should use pointers for better usage of memory but this video proves different: kzbin.info/www/bejne/f4Sym3aspbOcj6M . Any opinion?
@whiteingale
@whiteingale 2 ай бұрын
I am going tos leep. Goodbye. see you
Creating custom struct tags in Golang is awesome!
24:42
Flo Woelki
Рет қаралды 8 М.
Data Structures in Golang - Hash Tables
31:41
JamieGo
Рет қаралды 1,1 М.
1 сквиш тебе или 2 другому? 😌 #шортс #виола
00:36
Mom had to stand up for the whole family!❤️😍😁
00:39
Хасанның өзі эфирге шықты! “Қылмыстық топқа қатысым жоқ” дейді. Талғарда не болды? Халық сене ме?
09:25
Демократиялы Қазақстан / Демократический Казахстан
Рет қаралды 354 М.
Every Developer Should Know This
15:38
ArjanCodes
Рет қаралды 28 М.
Level Up Your Golang: 5 Concepts You Need to know
19:22
Flo Woelki
Рет қаралды 11 М.
30 Programming Truths I know at 30 that I Wish I Knew at 20
17:41
Zig for Impatient Devs
9:48
Isaac Harris-Holt
Рет қаралды 98 М.
If you are a beginner in Go, avoid this Slice pitfall!
9:26
Flo Woelki
Рет қаралды 4,4 М.
Use Arc Instead of Vec
15:21
Logan Smith
Рет қаралды 150 М.
WHY IS THE HEAP SO SLOW?
17:53
Core Dumped
Рет қаралды 256 М.
A Practical Guide to Pointers in Go
10:05
TomDoesTech
Рет қаралды 3,5 М.
ARRAYLIST VS LINKEDLIST
21:20
Core Dumped
Рет қаралды 70 М.
you will never ask about pointers again after watching this video
8:03
1 сквиш тебе или 2 другому? 😌 #шортс #виола
00:36