Strings, Bytes and Runes | Golang | intermediate level

  Рет қаралды 5,718

Sreekanth

Sreekanth

Күн бұрын

Covers memory layout of string data type, its relationship with rune slices and byte slices in Golang. We also discuss the conversion between these types, the compiler optimizations on these conversions and the strings.Builder object.
Ascii, unicode and UTF-8 : • ASCII, Unicode, UTF-32...
0:00 Raw vs Interpreted string literals
1:40 String header & Memory Layout
2:37 Rune data type
4:45 Strings are Immutable
5:03 Slicing
5:22 Range Loop
6:50 Unicode replacement character
7:37 String - Bytes - Runes conversions
9:57 Compiler optimizations
11:02 String concatenation
12:33 strings.Builder
12:44 strings.Builder vs bytes.Buffer

Пікірлер: 11
@fresonn
@fresonn Ай бұрын
the best explanation on KZbin
@maksymilianbiruk6877
@maksymilianbiruk6877 Жыл бұрын
Thanks for this video. Can't wait to see more golang related videos ;)
@OpenDeepLearning
@OpenDeepLearning Жыл бұрын
Your channel is gold!
@yuxiang4218
@yuxiang4218 4 ай бұрын
great content!
@shiro836_
@shiro836_ Жыл бұрын
Thanks
@jen24499
@jen24499 Жыл бұрын
That would be cool to see the same vid for Python!
@kalyan8601
@kalyan8601 Жыл бұрын
What tools do you use to make your animations ? And how do you combine that with a text to speech program you seem to use ?
@sreekanthpr
@sreekanthpr Жыл бұрын
Video is generated using github.com/ManimCommunity/manim . Images with draw.io. Audio with microsoft word >> view >> immersive reader and recorded with Audacity. Audio and video is then combined using Davinci resolve.
@kalyan8601
@kalyan8601 Жыл бұрын
@@sreekanthpr That's impressive. Is there any reason you use system generated audio instead of speaking yourself? Also how long does it take for you on an average to make a video this way? It would also be great if you make any tutorial on the way you make videos. Thanks
@maksymilianbiruk6877
@maksymilianbiruk6877 Жыл бұрын
I would be so glad if you could create a video that covers memory allocation in depth with garbage collection in golang. As far as i know golang uses mark and sweep algorithm but nice visualization would be awesome.
@sreekanthpr
@sreekanthpr Жыл бұрын
I don't have enough knowledge on that at this point. I'm hoping to do something like that towards the end of this Golang series. In the next video on maps, I will try to cover some of the internal implementation details.
Maps in Golang | Intermediate level
9:46
Sreekanth
Рет қаралды 1,4 М.
Visualizing memory layout of Rust's data types
39:39
Sreekanth
Рет қаралды 11 М.
CHOCKY MILK.. 🤣 #shorts
00:20
Savage Vlogs
Рет қаралды 13 МЛН
WORLD'S SHORTEST WOMAN
00:58
Stokes Twins
Рет қаралды 126 МЛН
I'm Excited To see If Kelly Can Meet This Challenge!
00:16
Mini Katana
Рет қаралды 29 МЛН
UNO!
00:18
БРУНО
Рет қаралды 2,8 МЛН
The Clever Way to Count Tanks - Numberphile
16:45
Numberphile
Рет қаралды 692 М.
Beginners Should Think Differently When Writing Golang
11:35
Anthony GG
Рет қаралды 101 М.
Golang Rune - Fully Understanding Runes in Go
10:52
Golang Dojo
Рет қаралды 21 М.
Faster than Rust and C++: the PERFECT hash table
33:52
strager
Рет қаралды 532 М.
Антон Сергеев, «Go под капотом»
36:37
Kolesa Group
Рет қаралды 94 М.
Understanding B-Trees: The Data Structure Behind Modern Databases
12:39
Premature Optimization
12:39
CodeAesthetic
Рет қаралды 779 М.
How variables works in Python | Explained with Animations
18:39
Golang String, Golang StringBuilder, Strings Library
22:44
Golang Dojo
Рет қаралды 11 М.
WHY IS THE STACK SO FAST?
13:46
Core Dumped
Рет қаралды 144 М.
CHOCKY MILK.. 🤣 #shorts
00:20
Savage Vlogs
Рет қаралды 13 МЛН