1
1
12rbah2020-08-12 11:59:15
go
12rbah, 2020-08-12 11:59:15

Is go used to build complete websites?

Most of the information that I found suggests writing microservices in Go or gives examples of simple sites. As a result, the question arose whether Go is used in practice to create full-fledged sites (like Wiki, habr) or not (if possible, give examples)?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
E
Egor Zhivagin, 2020-08-12
@Krasnodar_etc

Yes, they use it, just like python, for example. Usually microservices are written on them, which, as a result of interaction with each other, are the full backend of the site.
Although, it is not entirely clear what "building ready-made sites" is.

R
Roman Mirilaczvili, 2020-08-12
@2ord

You can write a monolith in Go, but you will have to google a lot of different solutions, because there is not much ready-made out of the box.
It's easier to take a developed web framework (RoR, etc.), in which everything you need is already there. So the development will go faster.

S
Stanislav Bodrov, 2020-08-14
@jenki

Is go used to build complete websites?
Yes, but not often. Also infrequently like java, like ruby, like perl. The world of web development is ruled by frameworks and CMS for the most part. There are ready-made libs with plug-ins and ORMs and carboxes (c).
Most of the information I found suggests writing microservices in Go.
Microservices is a methodology abstracted from PL. And for its work it is necessary to fulfill certain requirements from the side of management and development. Only in the ordinary mass it turns into thrusting into the CMS container along with the web server (there are a lot of examples). With subsequent pride that he mastered microservices. I'm not kidding at all. People at meetups talk about this with full confidence in their rightness.
As a result, the question arose whether go is used in practice to create full-fledged sites
This is a full-fledged, high-quality, well-thought-out PL (one of its creators has already successfully participated in the creation of a successful PL and a pair of operating systems) of general use. Extremely well suited for writing websites too. That's just there multithreading, still static typing, there is no "try" construct, so you have to think, calculate the behavior of the program, learn the basics. And this is categorically bad for the skills of network or console games.
(if possible, give examples)?
Hold

A
Anton R., 2020-08-12
@anton_reut

In fact, you can do anything in any language. The point is not to learn any one universal Super-Language, but to understand the general principles. Experienced programmers easily switch from one language to another, it’s enough just to learn the syntax, because in fact everything is the same everywhere: variables, functions, objects, loops, etc.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question