Go in 100 Seconds

  Рет қаралды 1,689,095

Fireship

Fireship

Күн бұрын

Learn the basics of the Go Programming Language. Go (not Golang) was developed at Google as a modern version of C for high-performance server-side applications. fireship.io/le...
#programming #go #100SecondsOfCode
🔗 Resources
Go in 100 Lines fireship.io/le...
Go Docs golang.org/doc/
🔥 Get More Content - Upgrade to PRO
Upgrade to Fireship PRO at fireship.io/pro
Use code lORhwXd2 for 25% off your first payment.
🎨 My Editor Settings
- Atom One Dark
- vscode-icons
- Fira Code Font
🔖 Topics Covered
- History of Go Development
- Programming Languages Invented by Ken Thompson
- Statically-typed Complied Languages
- Go Modules

Пікірлер: 1 100
@Fuzkin
@Fuzkin 3 жыл бұрын
You are the reason all employers think full stack is literally every language and framework.
@MagnusBorregaard
@MagnusBorregaard 3 жыл бұрын
The reason for my impostor syndrome, but also the cure
@akshy471
@akshy471 3 жыл бұрын
What?! Full stack is not all languages?
@Fuzkin
@Fuzkin 3 жыл бұрын
@@akshy471 all langs + assembler
@ipodtouch470
@ipodtouch470 3 жыл бұрын
@@Fuzkin if you can't get a website running in assembly language can you really call yourself a web dev?
@Wanok8000
@Wanok8000 3 жыл бұрын
@@ipodtouch470 big true right here
@U.Inferno
@U.Inferno 2 жыл бұрын
Go was the language of choice for my distributed class and the way it carried me through the hardest assignments I ever tackled in my degree has sowed a deep seed of appreciation in me. My professor called it a fusion of C and Python, and it takes a lot of the better elements of both.
@zhamed9587
@zhamed9587 11 ай бұрын
Except that neither of those languages are what you would consider well designed.
@jermainneespinoza2266
@jermainneespinoza2266 11 ай бұрын
​@@zhamed9587what would you consider I well designed language?
@zhamed9587
@zhamed9587 11 ай бұрын
@@jermainneespinoza2266 There is no perfect language. I would personally take Java for most use cases. It has come a very long way. It now has records, pattern matching, switch expressions, virtual threads, and string templates. Not to mention an excellent runtime that is the JVM, and an excellent ecosystem. C# is nice, but it seems to have a everything-including-the-kitchen-sink approach to design, and it has too many features.
@austenmoore7326
@austenmoore7326 10 ай бұрын
@@zhamed9587poorly designed ,and well liked by its users and widely used? Sounds fairly well designed to me
@aegoni6176
@aegoni6176 8 ай бұрын
​@@jermainneespinoza2266Go, Rust.
@killermonkey1392
@killermonkey1392 3 жыл бұрын
As much as I admire Ken Thompson, C was largely Dennis Ritchie's achievement.
@uknow0052
@uknow0052 3 жыл бұрын
Was looking for that comment
@PrimalCoder
@PrimalCoder 3 жыл бұрын
Indeed. Ken Thomson initiated Unix.
@ioneocla6577
@ioneocla6577 2 жыл бұрын
But ken Thompson created the B language which is the C's grandfather
@张飞飞-s6v
@张飞飞-s6v 2 жыл бұрын
They are all great
@peterst6906
@peterst6906 2 жыл бұрын
@@ioneocla6577 Sure, but that is already acknowledged in the video. It didn't have to take the step of saying that Ken also created C. He did have a lot to do with it, but the bulk of the work (and where the credit generally lies) was Dennis Ritchie.
@FabulousFadz
@FabulousFadz Жыл бұрын
I came back to say "Thanks!" I first came across this video at the end of May 2022. I've been working with C# since 2003. I had been thinking of picking up a new language and the weekend that I decided to start learning Rust I came across this video and saw golang for the first time. And I loved it. I started playing around with it on weekends but since November 2022, aside from about 50 lines of C# code, all my code until now has been in Go. This video format was enough to highlight all the important bits and get me hooked on the language. I did take a look at rust just in case, but it's not for me. I have now added Golang to the languages I'm comfortable working with going forward.
@raianmr2843
@raianmr2843 Жыл бұрын
Great to hear that Go's doing great for you but it's unfortunate that you're missing out on Rust. Did you try following the Rust book?
@vishalvivekm
@vishalvivekm Жыл бұрын
@@raianmr2843 i wanna learn rust any advice on how to get started?
@unknownguywholovespizza
@unknownguywholovespizza Жыл бұрын
​@@vishalvivekm the official book is just amazing
@vishalvivekm
@vishalvivekm Жыл бұрын
@@unknownguywholovespizza can you name it please
@thelegendofzelda187
@thelegendofzelda187 5 ай бұрын
Did you ever find the name of it? I think I know which one it is by NoStarchPress but I'm not sure if that's what @thecoolnewsguy meant ​@@vishalvivekm
@ShadowVipers
@ShadowVipers 3 жыл бұрын
Ok I'm officially convinced that Fireship is a psychic... I seriously just started learning Go yesterday.
@melvar1309
@melvar1309 3 жыл бұрын
Same! I literally have another tab with getting started wiki when this video dropped
@MrHjacky
@MrHjacky 3 жыл бұрын
Numerous people start doing something everyday
@GamingMad101
@GamingMad101 3 жыл бұрын
it depends, if the next video is about authentication that it'll start getting weird
@OggerFN
@OggerFN 3 жыл бұрын
stop now
@KheraShanu
@KheraShanu 3 жыл бұрын
He has like a Million subs, and he picks up very famous technologies ... may learn probability before coding, might help!
@umerfarooq8618
@umerfarooq8618 3 жыл бұрын
Whatever I think this guy does that. Incredibleee
@TheShubham67
@TheShubham67 3 жыл бұрын
Same here
@tobias3581
@tobias3581 3 жыл бұрын
EXACTLY what I was thinking 😅
@ErmandDurro
@ErmandDurro 3 жыл бұрын
Haha same thing here. I was thinking yesterday that maybe it's about time that I should check Go as well and here it's a 100 sec video 😁
@multiarray2320
@multiarray2320 3 жыл бұрын
tell me what you are thinking right now so i know what he uploads next :)
@Jhrickgamer
@Jhrickgamer 3 жыл бұрын
I was watching some GO videos yesterday. This dude for real cam read my mind
@fgsaldanha
@fgsaldanha 3 жыл бұрын
2:20 Nice touch with the double ampersand: if you like, you are required to subscribe!
@nicolaus8622
@nicolaus8622 3 жыл бұрын
It is starting to become genuinely frightening that no matter what technology I discover or would like get into, it takes about 2-3 days until I receive a KZbin recommendation of a new Fireship video about that specific topic. Seriously, no matter how often I think "that's it. fireship can't do even better." he simply does and that's why you are the #1 learning platform when it comes to software engineering to me!
@IncomingLegend
@IncomingLegend 2 жыл бұрын
cringe...
@mhmd_old7
@mhmd_old7 2 жыл бұрын
@@IncomingLegend not really...
@ouo5634
@ouo5634 2 жыл бұрын
Try Godot/Unreal Engine, He made one for Unity but not these two.
@Dev-Siri
@Dev-Siri Жыл бұрын
@@ouo5634 after 11 months, and he covered these 2 as well.
@albertsun3393
@albertsun3393 3 жыл бұрын
One of my favorite parts of using Go was the ease of concurrency - channels and waitgroups (kinda semaphores?) are built-into the language, and concurrency is as simple as appending "go" before a function call. No need to wrangle with threads (plus memory managment as well) or async/await or anything like that!
@elderofzion
@elderofzion 3 жыл бұрын
but since it's so easy people use it so much in complex patterns and you end up in a nightmare again
@ThaJay
@ThaJay 2 жыл бұрын
@@elderofzion That level of nightmare only became possible because another layer of complexity got abstracted. This new nightmare layer will get abstracted away in the future after it matures.
@robbybobbyhobbies
@robbybobbyhobbies 3 ай бұрын
late to this thread, but take a look at Elixir (or Erlang if you have time on your hands).
@socketbyte5348
@socketbyte5348 3 жыл бұрын
The best thing about Go is that you keep the performance of native executables, but with GC and great package ecosystem.
@phat80
@phat80 3 жыл бұрын
What? ))) Go can’t offer you performance of C or Rust. Go isn’t about performance. It’s about simplicity, concurrency and compilation speed.
@socketbyte5348
@socketbyte5348 3 жыл бұрын
@@phat80 Did I even mention Rust or C? It is still much faster than any interpreted language out there. I didn't say it is the fastest.
@cloudfox1908
@cloudfox1908 3 жыл бұрын
@@phat80 Go can definitely offer you performance with more ease than other compiled languages, especially when coming from interpreted languages
@MrChickenpoulet
@MrChickenpoulet 3 жыл бұрын
@@phat80 huh your comment is weirdly worded, of course go cant be as fast as C. but you like it or not, it is fast, isnt it :D ?
@ipalf95
@ipalf95 3 жыл бұрын
People be like: bUt aSsEmBlY iS fAsTeR
@_____case
@_____case 3 жыл бұрын
Goroutines are based on the 1978 "Communicating Sequential Processes" paper by Tony Hoare. We stand on the shoulders of giants.
@raianmr2843
@raianmr2843 Жыл бұрын
He should've spent more time talking about this. After all, Go is first and foremost a concurrent language.
@Ollinho12
@Ollinho12 3 жыл бұрын
Go is great. I mainly use it for automating tasks, and I'm starting to use it as a replacement for node for my web servers.
@codeyverse2047
@codeyverse2047 2 жыл бұрын
Great.... That you did not use python for automation but golang.... It is awesome... 😀
@Christopher-ew7jw
@Christopher-ew7jw 3 жыл бұрын
You should make an API in Rust and in Go and compare your experience between the two. Also, you should make a video about deploying a fullstack application and specifically what point of the deployment process you would need to implement horizontal or vertical scaling. Deployment is still a black box to me since I mostly use tools like Netlify, Firebase, Supabase, etc.
@Christopher-ew7jw
@Christopher-ew7jw 3 жыл бұрын
Also you should make a video about building an app with Next and Supabase. Those tools fit really nicely into your catalog of videos. That being said, I'm already pretty confident with the stack so I'd rather see content about things I'm not confident in😂
@BekBrace
@BekBrace 4 ай бұрын
Ken Thompson has only created the B programming language, which was a stripped-down version of BCPL. Dennis Ritchie then developed the C programming language, which evolved from B. Later, Brian Kernighan and Dennis Ritchie together wrote the book "The C Programming Language," which set the K&R standard for C.
@thegittubaba
@thegittubaba 3 жыл бұрын
Should've focused more on goroutines and its excellent scheduler. "You can simply put 'go' in front of a function to make it a goroutine and spawn hundreds or thousands of goroutines and let go's excellent scheduler handle it efficiently without any sweat".
@deefdragon
@deefdragon 3 жыл бұрын
Indeed. While the type inference is cool, I would have preferred he go more in depth to the go-routines, channels, and interface system as that is where go shines IMO. but he was already at 150 seconds so I get what he picked.
@nivaldolemos5280
@nivaldolemos5280 3 жыл бұрын
He doesn't know Go as he doesn't know most shit he talks about. He made a quick research for this video and the animations took the most time.
@thegittubaba
@thegittubaba 3 жыл бұрын
I mean without few lines said about goroutine, channels etc.. how would people understand what's different in go than c/c++ etc..? What makes it unique? Why rob pike and ken thompson gang set out to make a new language? Talking about those unique go things should've been given more priority than showing how to declare a variable. Come on, everyone already knows how to type "var".
@raianmr2843
@raianmr2843 Жыл бұрын
bhai ki deshi manush naki
@thegittubaba
@thegittubaba Жыл бұрын
@@raianmr2843 yes
@mag_sg4011
@mag_sg4011 3 жыл бұрын
Rust in 100 seconds * borrow checker holding your family hostage *
@alexveeuk
@alexveeuk 3 жыл бұрын
It’s literally my favourite coding language. Don’t get me wrong python is my second but it’s fast, it’s easy and you can compile to an executable! I don’t need a VM and I don’t need a browser. Also I don’t need to put my stuff in the main folder anymore I can just use go mod init and run the files from Anywhere
@NathanielBabalola
@NathanielBabalola 3 жыл бұрын
Hi, can you point me to a resource to learn Go
@nickchan484
@nickchan484 3 жыл бұрын
@@NathanielBabalola official tutorial Go Tour is a great way to start
@BakrAli10
@BakrAli10 3 жыл бұрын
Does compiling to executable mean it is primarily used for Windows applications? I'm relatively new to programming and trying to find the best language to learn to make apps for different operating systems.
@alexveeuk
@alexveeuk 3 жыл бұрын
@@NathanielBabalola I’d say travers media has a good short video that I started with. There are tons leading in all sorts of directions depends on whether you want to learn fundamentals are if you have an objective?
@alexveeuk
@alexveeuk 3 жыл бұрын
@@BakrAli10 the compile to an executable doesn’t mean it’s for windows it compiles to an execute able for windows/Mac/Linux It’s relatively OS agnostic. I’d say in terms of apps it’s not got any native GUI libraries to my knowledge. This is why a package manager built into it is so useful the community has a few options. Honestly go satisfies my use case for replacing python when I need speed and multiple threads. My advice is when your learning set a goal of what you want to achieve and then if you want to learn a language try to build it with the language of choice
@neoTriny
@neoTriny 3 жыл бұрын
The quality is getting better day by day thank you!!!
@atlasdev
@atlasdev 3 жыл бұрын
Interesting timing with Twitch's code being leaked... XD
@lqx7
@lqx7 3 жыл бұрын
Most of it was in go too
@atlasdev
@atlasdev 3 жыл бұрын
@@lqx7 Exactly xD
@stijndcl
@stijndcl 3 жыл бұрын
@@lqx7 it's almost like that's what he meant with his comment
@lqx7
@lqx7 3 жыл бұрын
@@stijndcl I failed to get notion earlier yeah
@robhartle1849
@robhartle1849 3 жыл бұрын
This channel is my GO to channel for all things tech.
@kevinxin1545
@kevinxin1545 3 жыл бұрын
I don't know if you'll see this comment but thank you for making such amazing and concise videos. You are very inspiring. There are two people that I really look up to on youtube, one is Grant from 3Blue1Brown, and you sir. Your video creation process video helped me a lot in assembling my own ideas and creating new things. Thank you again!
@fredrickdenga7552
@fredrickdenga7552 3 жыл бұрын
This is an extremely helpful overview for future gophers
@josy7
@josy7 3 жыл бұрын
I'm absolutely in love with Go. I find its syntax very elegant. Thanks for the share !
@cappuccinopapi3038
@cappuccinopapi3038 3 жыл бұрын
Go is amazing 🤩
@AdonysM
@AdonysM 3 жыл бұрын
Now u can create a video about gRPC vs REST vs Graphql APIS, that could be cool
@marflage
@marflage 3 жыл бұрын
I so need this
@shauryaverma8780
@shauryaverma8780 3 жыл бұрын
Just commenting to let people know that this guys is great ❤️❤️❤️❤️
@ancientstraits9288
@ancientstraits9288 3 жыл бұрын
As a C programmer, I like Go because you can do things procedurally like in C, and it gets in your way much less, do you do not even realize the difference (except that 'int x' in c would be 'x int' in go). Somehow, I get this feeling much more with Go than with C++.
@raianmr2843
@raianmr2843 2 жыл бұрын
C++ is a weird case. Basically 9 out of 10 times these new languages were created + are as good as they are because C++ tried to do something that didn't age well. It's like C++ is contributing to programming language design, by being poorly designed.
@andresramos7965
@andresramos7965 3 жыл бұрын
You note that a KZbinr listen to his community, when every video he makes is a video about something you wanted to hear about
@EchoVids2u
@EchoVids2u 3 жыл бұрын
Compiled vs Interpreted Languages 100 seconds would be awesome!
@aldi_nh
@aldi_nh 3 жыл бұрын
Wasn't that obvious enough already?
@EchoVids2u
@EchoVids2u 3 жыл бұрын
@@aldi_nh Uh No, there is a lot more to be said about the compilation or the interpretation process. linking, bytecode, machine code, lexing, parcing, object files, class files, pyc files / __pychache__, depending on what language, virtual machines, run time vs compile time.
@dpm-07
@dpm-07 3 жыл бұрын
The most awaited video so Far Thank you, @Fireship Also, Please Upload Video on the GoLang in the Field of Web or Server (more than 100s).
@danielzaiser
@danielzaiser 3 жыл бұрын
nice, just wrote my first go program, something to add to my resume ;)
@benfrost5317
@benfrost5317 3 жыл бұрын
I love these 100 seconds videos! No crap, just information
@Skazio
@Skazio 3 жыл бұрын
Rust is at the top of your graph @ 0:08 now you need to do Rust in 100 seconds 🙈
@russ2001master
@russ2001master 3 жыл бұрын
Your timing is insane, I started learning Go after applying to Hashicorp as an intern right after seeing your Terraform video. Would love to see a haskell video next!
@DannyBPlays
@DannyBPlays 3 жыл бұрын
I think it'd be cool of you had a series of "classic" coding languages "in 60/90/100 seconds" like fortran, pascal, and other much older languages that are either not used anymore or less often but to explain their purpose and the areas that they were helpful in
@htspencer9084
@htspencer9084 Жыл бұрын
COBOL too!
@HazemTamimi
@HazemTamimi 3 жыл бұрын
You are one of the main reasons I open KZbin multiple times a day.
@hououinkyouma5372
@hououinkyouma5372 3 жыл бұрын
Finally a 100 seconds on my favorite language! Great content as usual :)
@shady4tv
@shady4tv 3 жыл бұрын
Ken Thompson didn't create C - Dennis Ritchie did. Ken Thompson was developing Multics in an early project for Bell Labs and some other companies using the BCPL language which he used to design the B programming language. The Project ended up being a flop so he worked with Dennis Ritchie to write a slimmed down version of Multics called Unics (Later changed to Unix). Using the C programming Language at it's core; Unix was a system designed to write C more effectively. In turn, C was very portable so Unix made it's way into the hands of some large organizations and the rest is history.
@MrQarel
@MrQarel 4 ай бұрын
Thanks for the video! I really like Go for its low barrier to entry. At the same time, if you dive into, you will be surprised by the elegance of its internal structure. I would like to hear more about goroutines, this is still what makes this language so popular today.
@wlgrd7052
@wlgrd7052 3 жыл бұрын
Please expand on this video! Amazing how you compress such informative content into just 100 seconds 💪
@jonathanliang4275
@jonathanliang4275 3 жыл бұрын
I get inspired whenever you make new videos from something different each time
@Jono997
@Jono997 3 жыл бұрын
I think this is the 100s video that has piqued my interest the most out of everything you've done. I'm much more focussed on and familiar with desktop development and Go sounds like it could be an awesome alternative to the languages I usually use... Or would if there was native gui library support, but maybe one day. In the meantime I'm sure a third party library will get the job done.
@michael_loc009
@michael_loc009 Жыл бұрын
Your amazing video has successfully summarized the basic things we should know about Go.
@lucavenir5308
@lucavenir5308 3 жыл бұрын
This is great, but "concurrency" and "parallelism" (as you've described in the last sentence) are NOT the same thing.
@loureddd
@loureddd 3 жыл бұрын
Hi, do you have a link to a video or a website which explains that ?
@MichaelHV
@MichaelHV 3 жыл бұрын
@@loureddd Concurrency means multiple tasks which start, run, and complete in overlapping time periods, in no specific order. Parallelism is when multiple tasks OR several parts of a unique task literally run at the same time, e.g. on a multi-core processor. Remember that concurrency and parallelism are NOT the same things.
@Andrew4d
@Andrew4d 3 жыл бұрын
@@MichaelHV so you could say the event loop in nodeJs is an example of concurrency but not parallelism?
@seerlite5256
@seerlite5256 3 жыл бұрын
@@Andrew4d Not really (I think). There is a well defined loop there. When concurrency is talked about it's mostly meant when the language itself decides to stop at certain parts and switch to others to save time. Or maybe I'm confusing concurrency with asynchronous programming... Always viewed them as the same thing
@cyril7104
@cyril7104 3 жыл бұрын
This should be an official presentation of GO :) Wanna try
@jsonkody
@jsonkody 2 жыл бұрын
Yep, Ken Thompson -> B language the predecessor of C, Unix, Plan 9, ed (Ed Is The Standard Text Editor :) ), UTF-8, Go (lang)
@amrelmohamady
@amrelmohamady 3 жыл бұрын
Waiting to see algorithms and data structure courses taught in Go
@marcello4258
@marcello4258 3 жыл бұрын
you learn algorithms and data structures in general, not in a particular language.
@amrelmohamady
@amrelmohamady 3 жыл бұрын
@@marcello4258 True, but the course is being taught by a language afterall
@desihaxor5690
@desihaxor5690 3 жыл бұрын
@@amrelmohamady you can teach DS, Algo with only english as well
@marcello4258
@marcello4258 3 жыл бұрын
@@amrelmohamady ah I see.. I missunderstood your post.. Enjoy pal!
@dixztube
@dixztube 4 ай бұрын
Short assignment is such an amazing little feature.
@SanchitSnehashish
@SanchitSnehashish 3 жыл бұрын
Go beyond 100 seconds. That's a video I wanna see Also for Rust. Heard a lot about it.
@shravanasati9631
@shravanasati9631 3 жыл бұрын
Yeah maybe building a rest api with the go stdlib?
@gregou9885
@gregou9885 2 жыл бұрын
What a video, again, and again. Amazing man. Thanks and I wish you will keep doing more.
@funkykong9001
@funkykong9001 3 жыл бұрын
Do Kotlin and Kotlin Native next please!
@mohanaggarwal4058
@mohanaggarwal4058 3 жыл бұрын
Exactly!!
@karaoudriadh7419
@karaoudriadh7419 3 жыл бұрын
I really don't understand why ppl dislike these vids
@flaximoman
@flaximoman 2 жыл бұрын
Go is such a beautiful language!
@legoenforcer7734
@legoenforcer7734 2 жыл бұрын
Great video as always mate, def seems a language to learn especially for the corposphere in the coming decades. Seems intriguing to me for the speedy compile, and server side usages, thanks for the information! Your videos are always a great place for me to start finding out a topic!
@pss_crs
@pss_crs 3 жыл бұрын
Fireship Go 🔥 please keep it
@osmantas369
@osmantas369 3 жыл бұрын
Amazing, you disrupting my learning path with such 🎯 videos. Keep doing what you do great!
@alooooooola
@alooooooola 3 жыл бұрын
"ultilize cpu cores" is not concurrency =(
@sb-jo2ch
@sb-jo2ch 3 жыл бұрын
Why not?
@jessenutt7891
@jessenutt7891 3 жыл бұрын
@@sb-jo2ch Concurrency != Parallelism. Goroutines follow a M:N pattern where M is the amount of threads (CPU cores), and N is the amount of processes running on each thread. So quan is correct in saying that it's not concurrency, it's parallelism, because multiple threads are involved, but go does both at the same time at the direction of the Go runtime.
@julesdocx6205
@julesdocx6205 3 жыл бұрын
Right on time, my nephew just started with go
@laurencetrippen6804
@laurencetrippen6804 3 жыл бұрын
Great video! A Rust video would be awesome!
@shateq
@shateq 3 жыл бұрын
I was waiting for this for loong. Worth it!
@hidayathidayat4469
@hidayathidayat4469 3 жыл бұрын
rust in 100 minutes
@watchocho2660
@watchocho2660 3 жыл бұрын
aaah!! finally. THANKS....... We need a full course on this one Jeff.... Please. I'll buy lifetime subscription of FireShip just for this.
@usmanmir5663
@usmanmir5663 3 жыл бұрын
Rust in 100 seconds!
@adamjamiu6764
@adamjamiu6764 3 жыл бұрын
Thanks 👍. I have been waiting for this long time ago.
@ahmadmuwaffaq9957
@ahmadmuwaffaq9957 3 жыл бұрын
can't wait for rust
@vanish7744
@vanish7744 Жыл бұрын
I tried Go to build backend service, and it actually is easy to learn
@al-afiqyeong4342
@al-afiqyeong4342 3 жыл бұрын
Running on multiple cores != concurrency. That's parallelism.
@____-gy5mq
@____-gy5mq 3 жыл бұрын
running on multiple threads = running on multiple threads != parallelism running on multiple threads is different from concurrency concurrency is different from parallelism parallelism is different from running on multiple threads all of them are different from asynchronous execution asynchronous execution is different non blocking execution non blocking execution is different from all the above
@Megalcristo2
@Megalcristo2 3 жыл бұрын
I would say concurrency is a superset of parallelism, but is true that that statement is misleading
@George-W-Jenson
@George-W-Jenson 3 ай бұрын
Oh, I like the concurrency aspect OF GO !
@_modiX
@_modiX 3 жыл бұрын
Would be nice to include that GO has a GC, instead of C, C++ or Rust.
@raianmr2843
@raianmr2843 2 жыл бұрын
you mean "unlike C, C++ or Rust."
@_modiX
@_modiX 2 жыл бұрын
@@raianmr2843 you're right, English is not my primary language, so mistakes can happen. :)
@raianmr2843
@raianmr2843 2 жыл бұрын
@@_modiX it's not mine either, that why i replied
@valizeth4073
@valizeth4073 Жыл бұрын
Cause C++ and Rust doesn't need a GC, and C still haven't figured out how to deal with resource management... despite being roughly 50 years old.
@scratchx7909
@scratchx7909 3 жыл бұрын
Please rust next!
@briansunbury
@briansunbury 2 жыл бұрын
I'd like to see something like the pros/cons/main uses of the most popular/most used languages today.
@dariusduesentrieb
@dariusduesentrieb 2 жыл бұрын
Please do a 100 Seconds Nim Video! Nim is really an awesome language to write code in.
@parthg199
@parthg199 3 жыл бұрын
Simply wow, this guy creates interest in learning about technology more than anyone else
@actuallyasriel
@actuallyasriel 2 жыл бұрын
You mean it's C without everything I hated about C? I'm fucking *sold.*
@marconjo2004
@marconjo2004 2 жыл бұрын
It is worth to mention how Go is DIFFERENT to OOP. It avoids over-engineering and guide developer to write clean code.
@MohamedAhmed-ii4mr
@MohamedAhmed-ii4mr 2 жыл бұрын
I am not just hitting the like button, I am smashing it!
@code4life332
@code4life332 Жыл бұрын
I’ve been using go for 2 years. And though it sounds like you’ve never used it, you did a bang up job explaining it in 100 seconds. Cheers xD
@gerrymarshall4784
@gerrymarshall4784 Ай бұрын
C, computer programming language developed in the early 1970s by American computer scientist Dennis M. Ritchie at Bell Laboratories (formerly AT&T Bell Laboratories).19 Jun 2024
@rimaichi6090
@rimaichi6090 2 жыл бұрын
I legit chose to learn go over rust just because the mascot is cute, I can't be the only one
@energyman100
@energyman100 3 жыл бұрын
I think it should be mentioned that Discord recently switched from Go to Rust because of issues with the garbage collector :) and also they said their codebase got way smaller because Go is very verbose and needs some workarounds to get around the fact that it doesn't support generics
@AbyssEtc
@AbyssEtc 3 жыл бұрын
unprecedented coding vids; best on yt
@dirremoire
@dirremoire 2 жыл бұрын
I was blown away at how fast GO compiled your program.
@MrAbrazildo
@MrAbrazildo 2 жыл бұрын
0:03, coming from Ken Thompson (0:17), it's surprising why he didn't just chose C++. It has 3x the C# speed, coroutines (C++20), concurrency, and not a bad syntax (Go should be 3x sweeter to use): 0:45, auto x2 = 42; 1:19: #include //1:53. int main () { printf ("Hi Mom! "); //Or , if the system has carriage return. std::string name = "Jeff"; //No pointer. Or auto for 'const char' pointer. auto age = 75; auto likesGo = true; return EXIT_SUCCESS; } 1:58: #include std::string myArray[] = { "emoji1", "emoji2", "emoji3" }; #include std::map myMap = { { "robot", "robot_draw" }, { "pixel", "pixel_draw" }, { "clow", "clow_draw" } }; for (auto x = 0; x < 10; x++) printf ("emoji "); //Or: #include for (auto x = 0; x < 10; x++) std::cout
@hasankhaddam540
@hasankhaddam540 Жыл бұрын
That feeling you get when you realise that these 100 seconds videos aren't actually 100 seconds long :(
@ecs1611
@ecs1611 3 жыл бұрын
Go is also really well documented :)
@keinezeit99
@keinezeit99 3 жыл бұрын
I hate the Go programming language. At best, it's a trash language written by a bunch of ivory tower Googlers trying to solve the most Google problems like build times and onboarding new-grad developers that learned something other than the Stanford CS curriculum (god help them if they went to Brown and learned Scheme and might try to write a map or a reduce, better make that not allowed!). But the real thing that makes Go terrible is that it purposely encourages the developer to write more code than they need to and relishes in its lack of convenience. It's like a language written by someone who believes every corner bodega should really be a brutalist 7-story concrete shopping mall. And then everyone who writes Go embodies this philosophy, probably because of some Stockholm Syndrome of being trapped in their oppressive codebases, and they decide that every problem they have should be solved with more code. So they try and try. They write redundant for-loop after for-loop. But it's slow. To get anything done they have to write a fucking novel (in fact, I can't help but suspect this was a conscious decision to gum up ICs trying to make it to Google L5). And at some point the authors realize they're fighting some speed of light constant in how fast they can type and that the only way for them to move forward is to write less code. But less code is not the Go way. So to elevate their coding without violating their sacred ideals they settle on the horrific practice of using code generation. Historically, lots of languages are code that write code. C becomes assembly. Lisp is a whole language dedicated to the idea. Hell, even Pythonists accept that horror show that is source code of collections.namedtuple. But, in all those cases, the reader is spared the horror of actually experiencing that generated code. In Go it's right there in front of you because Go code generators just generate Go code. Or, sometimes even worse, it's not in front of you because you forgot to install some "generate my code" package that no one put in the fucking README. And, as the language has evolved to finally do something other than ship Protobufs over channels, it's been the go-to solution for everything. Generics? Nah, that sounds complicated, let's just generate a bunch of structs! Mocking for tests? Sure, instead of metaprogramming let's just meta-generate-some-crap! Write some SQL? Fuck that, "No SQL" is the future! We'll write Go that generates the SQL! Never will my fingers be cursed by having to write such a practical declarative language, I declare it be in Go! If you locked every Go developer in the world in a haunted castle they'd write a Go code generator that generates brute force loops to search over every square inch of every floor looking for a key. At the end they'd pat themselves on the back for how elegant their code generator was and how decorous the generated Go is. And they'd die in there waiting for it to finish instead of just asking the etherial floating butler standing next to the front door. If it's not writing more Go or writing Go that writes more Go, a Go developer just doesn't do it. It's a god damn monstrosity of a language and a culture.
@amongus.impostor
@amongus.impostor 3 жыл бұрын
absolutely based
@eric000
@eric000 3 жыл бұрын
Thanks for 49 seconds of bonus content 😜
@shindracodersha2567
@shindracodersha2567 3 жыл бұрын
Wow, u made my day again @fireship
@kalekold
@kalekold 3 жыл бұрын
You're going to have to explain the graph at 0:08 because it looks like complete bollocks. Also Ken Thompson did not invent C, Dennis Ritchie did! Is this whole video bullshit?!?!?
@nemis123
@nemis123 3 жыл бұрын
one of my favourite languages
@mohanmark1970
@mohanmark1970 3 жыл бұрын
man your video editing is next level
@devhunt9054
@devhunt9054 3 жыл бұрын
My experience with go is very good Even though its statically typed its very easy to switch
@dr.elvis.h.christ
@dr.elvis.h.christ Жыл бұрын
About the only language to come around since the 80s that I don't hate.
@trentfeda6507
@trentfeda6507 2 жыл бұрын
This is a crazy well done video.
@GeneraluStelaru
@GeneraluStelaru 3 жыл бұрын
So much good stuff to learn.
@Arominit
@Arominit 3 жыл бұрын
By the time you're done there's more!
@GaryJohnWalker1
@GaryJohnWalker1 3 жыл бұрын
I must have written 'hello world' in Go three or four times over the years, maybe this vid has given me the will to try again and "go" at least a little further this time ...
@mrbassocam
@mrbassocam 2 жыл бұрын
Concurrency is not the same as paralelism, you can run thousand of goroutines in a single thread. Concurrency is more resource efficient. Nice videos, junior programmers shoud see more content like this to expand is knowlogment.
@mewforest
@mewforest 3 жыл бұрын
You should say here about error catching on go. It's the most important part of the Go.
@MrJellekeulemans
@MrJellekeulemans 2 жыл бұрын
Awesome explanation again. I love the fast pace. A quick question tho: is there a joke behind the video's being 149 seconds? Is the joke that it'll be rounded to 100 secs when rounding with 100 precision? I feel like I am missing out on the fun :(
@mrbaeman39lolman60
@mrbaeman39lolman60 2 жыл бұрын
No. The "In 100 seconds" just indicates that this video is a fast-paced overview of a topic.
@igustibagusananda7706
@igustibagusananda7706 3 жыл бұрын
Damn I was just getting interested in this language and you post a video about it! Fireship, did you write some kind of machine learning code to read the mind of your audience? 😶
@dharunkanna10
@dharunkanna10 3 жыл бұрын
Really Go is awesome , needed 100 sec video on concurrency in general terms
Rust in 100 Seconds
2:29
Fireship
Рет қаралды 1,8 МЛН
Learn GO Fast: Full Tutorial
1:07:53
Alex Mux
Рет қаралды 421 М.
Which One Is The Best - From Small To Giant #katebrush #shorts
00:17
БЕЛКА СЬЕЛА КОТЕНКА?#cat
00:13
Лайки Like
Рет қаралды 2 МЛН
Will A Guitar Boat Hold My Weight?
00:20
MrBeast
Рет қаралды 240 МЛН
Is TypeScript (NodeJS) Faster than Go?? |  A server comparison
9:54
ThePrimeagen
Рет қаралды 221 М.
How To Make AWS Not Suck
6:38
Fireship
Рет қаралды 542 М.
Learn Go in 12 Minutes
13:34
Jake Wright
Рет қаралды 947 М.
Should you learn Go in 2023?
4:33
Dreams of Code
Рет қаралды 176 М.
Rust: When C Code Isn't Enough
8:26
CodeAhead
Рет қаралды 165 М.
Why I Use Golang In 2024
9:21
ThePrimeTime
Рет қаралды 316 М.
Why Rust is NOT a Passing Fad...
8:54
Travis Media
Рет қаралды 37 М.
Why I Quit Netflix
7:11
ThePrimeagen
Рет қаралды 508 М.
Why I’m Switching To Go in 2024
8:10
Awesome
Рет қаралды 63 М.
I built 10 web apps... with 10 different languages
14:23
Fireship
Рет қаралды 1,6 МЛН