|
you could but why would you want to?
go is a compiled language with a strong built-in concurrency model. google is using it mainly for high-performance back-end services--it's not user-facing; when you load up maps.google.com or whatever you're still hitting some kind of python/php/java/etc web server, which then talks to the go service to get the data it needs. Think about it like a replacement for C/C++ (which is basically why they created it in the first place)--you don't write your web server in C, you use C for certain pieces of your app which need to be high-performance and take full advantage of all of a machines resources. Same with go--it's basically just C with easier-to-use concurrency.
point is, its advantages don't mean anything for someone who just wants to learn to code and make websites. web servers don't need to be "high performance" in the way that go is; 99% of the request cycle is spent waiting on database calls.
if you want to learn to code, learn python.
|