A
A
Alexander Vladimirovich2022-04-06 12:11:33
go
Alexander Vladimirovich, 2022-04-06 12:11:33

What interesting useful things can be written on GO for pumping as a developer?

Greetings!
What interesting useful things can be written on GO for pumping as a developer?
Already learned the basics. I have experience (3+ years) of writing simple microservices on GoKit, mainly CRUD, small logic and copy-paste.
The goal is to confidently pass social security to the middle.
Add. background C, PHP, Js

Answer the question

In order to leave comments, you need to log in

5 answer(s)
U
uvelichitel, 2022-04-06
@uvelichitel

For example https://courses.systeminterview.com/courses/system...

N
Nikolai Savelyev, 2022-04-07
@AgentSmith

The goal is to confidently pass social security to the middle

If the goal is to pass interviews, then you need to go through several dozen interviews.

Y
Yaroslav, 2022-04-07
@xenon

Go has a nice advantage - it's fast, relative to interpreted languages. I had an idea to make a fast computing service based on Go, where you can throw in different data from another program (in php / python), and call some operation that this service will do faster than native interpreted code.
Approximately how redis does for key-value data. After all, almost all the functions needed from radish can be implemented inside the python / php program, but redis will do everything much faster.
One of the tasks for the "evaluator" is safe eval (), I did this for python ( evalidate). eval() is almost always a very dangerous function to use in your code, but you want to. evalidate is python only and that's bad. It would be more convenient as a separate service (on the same host), where you can upload data, user code and execute it. Moreover, the service with the most limited rights, so that there are minimal security risks. I thought about making evalidate as a service, but it would be too slow on Python, but on Go it would be just right.
An example of a typical task: An online store, we have a list of products (maybe in mysql or redis, or directly loaded into our program as a list). Then the user sets some kind of complex search, like "Find all smartphones under 25,000 rubles, with a memory of 128, but not Huawei, and if Apple, then up to 50,000" and the slow web application forwards this request to our fast calculator and receives a response from it.
In general, some tasks that can be quite common and slow to execute in interpreted languages ​​can be loaded into this calculator, which will execute them faster.
If interested, you can discuss this idea.

A
alexeydolgov, 2022-04-16
@alexeydolgov

Well, if you pass the social security goal, then you should rather read a lot than write.
If for myself:
1) I personally wrote all sorts of bots, the domain logic is separate, and then you connect adapters for VK or a cart, or you do a web. Cool. You can still google dialogflow, it was possible before.
2) The idea for example is to create an Ouija board. Type you write a message and the answer comes from dialogflow and you visually show it. True, in such an idea there is more front than back. And this is not specifically about go, about the level of the developer.
3) Another idea is a certain taskmanager, for example, there are certain tasks with a priority, they must be performed in the pool of workers. here and multithreading and race condition. all in beauty.
4) some kind of mb games if this topic fascinates
5) can be docker stuff. For example, launching some containers for testing ala https://github.com/ory/dockertest
6) come up with your own protocol and implement it. Michalis Tsoukalos' book "Golang for the pros" to help
7) risky but still. your blockchain or at least your goethereum client. here and p2p and their protocols. There is where to dig
deeper There are millions of ideas, you just look for what is interesting to you and do it. But at social services I was personally asked to show the code almost never. More on the theory drove.

A
apelsinovi-sok, 2022-04-24
@apelsinovi-sok

Server for online game on web or udp sockets

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question