First of all, I want to introduce myself. I am a coder. At present, I mainly develop and work from the B/S program. I understand PHP, ASP, JSP, JS, VB, and C; delphi; Java; I also know that there are several data records, but they are not long enough. Why should I choose to learn go! Next, I will explain to this author.
First, let me introduce the missing points of the C/S program and B/S program:
The C/S program is mainly run on the client's computer. Generally, it is installed in the form of security, taking Windows operating system as an example, the upload will be converted to binary, and then stored on the client's computer in the form of EXE or DLL. The production efficiency is very high, of course, unless the programmers make the replacement program very bad, in addition, the C/S program almost does not need to take into account security issues and critical issues, in addition, the C/S program almost never starts the source, the user can only be manually accepted. the user cannot change the feature of the upload. (If you attempt to renew the subscription, you should not change the feature ). there are many languages that can develop C/S programs, such as C, VB, Delphi, C ++, and so on!
The B/S program is mainly run on the server. The caller attempts to access the website using the browser as the media to access the website, A website is often used by hundreds of people at the same time. In addition, the statement for developing a B/S program is often written in plain text, in this statement, the development speed is fast, and the subsequent billing statement is as follows, however, compared with C/S, it is certainly necessary to reduce the efficiency of making a binary system and then making a row. in addition, many people use it at the same time, which makes it even worse, that is, the B/S program is almost all open source (except for a few encrypted items), users can change the component function if the level is sufficient. there are also a lot of comments that can be used to develop B/S, such as PHP and ASP ;. net, JSP, etc.
In addition to the programming languages I mentioned above, some other languages are quite special, just like VB, after learning his subset, you can develop ASP. There are many similar acronyms, such as C #; Java; Python; Ruby; go, and so on. Here we will not list them one by one, in addition to developing C/S programs, these statements can also be used to develop B/S programs. So what we want to discuss today is go statement, why don't I choose Java or C # instead of today's forum. since B/S has been used for development in such a large volume, the efficiency must be greatly reduced, so is there an alternative way to not only compile the service end program into a binary system, but also to develop B/S programs? Of course, it is go statement. of course, some companies have also made a lot of attention in this regard, such as Facebook. They use C to repeat the core of PHP, the new core is hiphop and the source is activated. If you are interested, you can check whether the PHP performance after re-indexing has greatly improved, it is a pity that many PHP features have been lost. In addition, it is a little bit difficult to get started. It gives a sense of being indecisive, render manager Facebook has benefited from this change. The speed of website opening is indeed faster!
The reason why I chose the Alibaba go statement is that:
1. Its efficiency is very high, so it is the same as the efficiency of C.
2. he and node. similar to Javascript, the website itself is a web server and does not need to be reused with Apache; nginx; server components such as IIS, which is very good, it can reduce the efficiency and loss.
3. It is very simple to learn how to get started with work in a short time.
4. The structure of the statement itself is very complex, saving some unnecessary things.
5. Its large support back-shield, and its innate support for UTF-8 makes me very happy.
6. He is an origin engineer. At least he doesn't have to die like Delphi in the middle.
7. Good Version compatibility. A program developed using a lower version of Go statement can run well in a later version of Go statement.
8. Multi-programming, I always expect PHP to have such a function, but so far, it can only be implemented by third parties.
9. I don't need to talk about this in cross-platform programming. The go statement won't make it useless if you port the firmware you developed in Windows to Linux, this is a nonsense thing, but there are still some rumors on the market, after using their statement to develop things, you must first upgrade the server's operating system copyright, and then upload the digital license copyright, after that, I will upload the firmware version. Isn't this a discount !!
10. I will not explain some other points.
The above is why I chose and learned the go statement. of course, there are also many shortcomings in the go statement, so I will not make it clear here. Some interesting friends can search for them by themselves, so from the very beginning of the next article, we started to explain the go statement from the very beginning.
In addition, I hope that my friend can leave an article out, http://see7di.cnblogs.com is grateful here!