Home >Backend Development >Golang >Didi driver suggest that we change the system to go language?
I ordered a Didi ride with my colleagues. A colleague complained in the car that the new PHP programmer was not good enough and the program performance could not keep up. After only a few visits, the program crashed.
Suddenly, Didi's driver said, "Are you still using PHP? PHP development speed may be really fast, but its performance is indeed a bit weak... Go language development is very popular now! I suggest you change the system to go Bar".
Suddenly, my colleagues and I were shocked. I asked the driver, "Master, do you still know PHP and Go?"
The driver smiled and said, "PHP is interpreted, Go is compiled, and it inherently supports concurrency...so the performance is higher ".
We were confused after hearing this, and suspected that he was bragging. Programmers' income is so high, it's impossible to work on Didi. I asked him, "What do you mean by the explanation type and the weaving type you mentioned?"
The driver explained calmly, "For example, I want to navigate to your destination now. Before departure, , I find all the navigation routes from the starting point to the destination in advance, which is like compilation. If I search for navigation routes while driving, or search every time I reach an intersection, and find the route while driving, this is the explanation. ”
We still don’t quite understand, but it does sound like compiled driving will be faster.
This driver looks like an expert!
It turns out that this driver was a programmer more than half a year ago. I am 49 years old this year. Unfortunately, I was laid off from my company. I have been looking for a job for more than half a year, but to no avail. But we still have to eat. So, he simply started working as a Didi taxi driver.
He doesn’t feel that there is any difference between work and work. Whether you are a programmer or Didi, it is a job, a way to make a living, and a way to make money to support your family. They are all legally relying on their own hard-earned money to support their families.
Finally, he also said that he now likes driving Didi because he can meet many passengers and appreciate the lives of people from different industries and social classes.
Before we finished talking, we arrived at our destination.
I hope I can meet Didi next time.
Recommended study: "go video tutorial"
The above is the detailed content of Didi driver suggest that we change the system to go language?. For more information, please follow other related articles on the PHP Chinese website!