Why choose Go ( golang ) for web development?
A free video tutorial from Todd McLeod
Top-Rated Instructor, Tenured College Professor
26 courses
595,305 students
Lecture description
server-side?
#1 Go
#3 Node.js
#3 Python
#4 Ruby
#5 PHP
2006 first intel dual-core processor
2007 Google begins development of Go
Rob Pike, Ken Thompson, Robert Griesemer
language features
take advantage of multiple cores
easy concurrency based upon Tony Hoare’s CSP
compiled, static type, GC
goals
efficient compilation
efficient execution
ease of programming
clean syntax
distributed teams
Why go for web dev?
Go was built to do what google does
Google is rewriting Google with Go
2009 open-sourced
- 2012 version 1
Learn more from the full course
Web Development w/ Google’s Go (golang) Programming Language
Learn Web Programming from a University Professor in Computer Science with over 20 years of teaching experience.
19:12:11 of on-demand video • Updated March 2025
Construct server-side applications using today's best practices
Acquire an outstanding foundation in the fundamentals of web programming
Learn from a University Professor in Computer Science with over 20 years of experience teaching individuals of all ability levels
Achieve mastery in the understanding and application of web development
Understand servers, routing, restful applications, JSON, templates, and file servers
Understand cookies, state, UUIDs, HTTP methods, HTTP response codes, and sessions
Create web applications using only the Go programming language's standard library
Create web applications without using third-party frameworks
Build performant distributed applications that dynamically scale
Apply cutting-edge web development practices
English
Why choose the go programing language
for web development? Hmm. So in 2013 I was getting back into the web programing game
and I was looking around which language do I want to use for server
side programing. And, you know,
the marketplace was kind of like the old school. And I called up piled high poop
because it's not very performant. So you could do old school PHP,
which would have been a great choice in 2002 This was 20, 13. And then the newer choices were like Ruby
and Ruby would have been a great choice. And like 2007 or 2008
when it first came out, like kind of very interesting,
quick, quick development. So maybe Ruby was on my horizon. And then there is also Python and Node.js So Python created by Guido, named after Monty Python. Kind of a whimsical language. I like the way Python code. Right. And and then there's also Node.js,
which like the big selling point
that I hear people pitch about Node.js is you get to do JavaScript
on the front end and the back end. And to me, I'm like, and you're saying
that like, that's a benefit So, you know, between those three,
I kind of listed them as like, Node would probably be my first choice
just because a lot of metrics showed the most performant
and then Python would be behind that. But I was really kind of up in the air
between Node and Python because Python is just like
a much nicer language to write in. And then I heard about Go. And so this is 2013. And the first thing
that made me super interesting and go where it's credentials and so go was created at Google, which you probably already know. And they started creating it in 2007. So in 2006, Intel
released the first dual core processor. And then in 2007 go started create it. Google started creating the go
programing language. And they started to create it
because they wanted to take advantage of multiple cores. And so it's no coincidence 2006
first dual core release 2007. Google starts creating a new language
to take advantage of multiple cores. And prior to that every other language in the marketplace that had any viability or had any sort of user base. And all of those languages are written
to take advantage of a single core. And so go is the first viable like language written to easily
take advantage of multiple cores to run and distributed environments on multiple machines with multiple cores
and easily take advantage of that. It's statically
typed. It's garbage compiled. It has fast build times, fast,
super fast executions, super fast. And it and it has ease of programing. And so if you look at the AC, AQ Golang
talk about why is Google creating a new language,
they were really gone for those three things. They didn't want two of the three,
they wanted all three. They wanted fast builds, fast
execution and ease of programing, something that programed
like Python and dynamic language. But it had the benefits
of being a compiled language with static type checking And so,
you know, that all sounded great. And the fact that it was created
by Google, again, the credentials were
what sold me on go is created by Google. At Google in 2007. They started and they enlisted
the help of Rob Pike, Ken Thompson or Robert Gresham or these are the people
who led the project and are leading it. And these are some of the same these are
heavy hitters in computer science. These are some of the same people
who helped helped create the C programing language Unix and UTF8. And so that's like the bedrock of computer
science, the C programing language. Are you kidding me? Unix, that operating system. Yeah, I've heard that. And UTSA, the world's most popular
encoding scheme. Huge. And so the credentials of Go Girl
created at Google by Google to do what Google does,
which is like massive at scale super performant web stuff. Right. Whoa. Why would I use that language for server
side for web development? That is like the no brainer perfect
ultimate choice. You know, I mean, it's the language
built to do the web. Google is rewriting Google and go. YouTube is like,
all right, rewritten and go. And and so learning all that is like,
I totally want to get into this language. And so, yeah, those are the reasons
I chose go for web development. I'm just looking my notes over here to see if there's anything else
I want to say about that. That's it. Last thing I want to say is, in 2009,
it was open sourced. And in 2012, it was made version one and 20. 13. I started learning it
And when I started learning it, it was still there weren't
a lot of resources out there on go. Just even learning the language. I read a book originally written
in Chinese and translated to English because God is really popular in Chinese. Because when you build web apps in China,
right? It goes really popular in China. Because when you build web apps in China, you're building it
for like 1.3 billion people and you need something that can handle
that. So go is quickly picked up over in China because they're like,
hey, this is the solution. This is doing what
no other languages can do. All right. So those are my reasons. For Go
and why you should choose it for web dev. You're absolutely in the right place. And this is the best choice
for doing web dev today. And we're still on the very new side
of this language being introduced,
but it's captured huge market momentum. And my friend Bill Kennedy at Art and Labs is the world's leading corporate trainer
for the go programing language. And so Bill and I talk
and I hear every week. Are you kidding? Me?
You're at that corporation. And and so it's
just really picked up a ton of momentum and which is why I'm sure you're here,
because you're interested in it. And you've heard about it. And so I've taught go at the college and university level to undergraduates
and graduates of computer science. I've been through the course seven times. And so I really refined this code base
in this code base. Was originally Caleb Doxy
helping create this code base? And so you have a really good code
pathway here to learn the go programing language
for doing web development. And yeah, you're in good company. So I'm
excited to share this material with you. And I got up at 1 a.m. this morning, right? Because it's like I got two kids,
I got family, and there's only just rambling
and there's only so much time. And it's like,
I need to get this out there because I have a lot of people are like,
when are you going to release the course? Here it is. It's on its way. We made the first video. All right, so welcome. And that's why you should choose
go for server side web development.