Speaking of HUAWEI pig raising, I have a pity about the development of China's computer.
2021-02-17 16:41:18 【itread01】
The last day of the festival , Nothing , I want to talk about my regret about the development of computer technology in China , Why didn't we develop our own programming language
1. Huawei push “ Intelligent pig raising ”, Maybe it suggests a change of direction
In recent days, , Huawei's president of machine vision revealed in micro headlines that , HUAWEI machine vision unveiled smart pig raising program . The development direction of breeding industry is digitization 、 Intelligent and unmanned . Prior to Ren Zhengfei's interview with the media, he also mentioned raising pigs. , He said ：“ If I don't get into college , Raising pigs is probably the champion of raising pigs. ”.
For well-known reasons , Because the U.S. sanctions Huawei for not having a chip available , As a result, Huawei has no mobile phones to sell , In this case , Enterprises can't keep people by their feelings , The main thing is to survive .
HUAWEI pig can be said to be HUAWEI's survival of the helpless. , Time for space . You can say that HUAWEI's wisdom pig has adopted a completely new kind. 5G,AI And other advanced technologies , But it's not technically demanding after all .
It's like autonomous driving , Although some people say that autonomous driving should be used in agricultural land first , When it is mature, it will be extended to urban roads , But there's no doubt , The demand for driverless in agriculture is much lower than that in cities . There is not much reference .
2. The ark is dim , The future of China's own programming language is slim
Ark compiler is the first compiler platform developed by Huawei , On 2019 year 8 Online . He includes compilers 、 Tool chain 、 Key components such as execution time .
Before releasing the ark , Fang Zhou said he compiled it App Than Google Fast .
Maybe it's a bit of a publicity stunt , This led to a lot of discussions on ark compiler in Zhihu .
Praise the supporters , There are cynics
All in all , The ark compiler was a hit .
In my opinion , Ark compiler is no less important than Hongmeng operating system .
There's a compiler , If Huawei wants to launch its own programming language , It's going to happen .
Shoot the horse first , Catch the king first . If you don't have your own compiler , Trying to do your own operating system is like the moon in the water , Flowers in the mirror .
however , With Huawei selling glory mobile phone , HUAWEI pushes wisdom to raise pigs ...
All of these make the future of ark compiler bleak , Let China push its own programming language .
3. On the importance of compiler
compiler , In a nutshell , It is the bridge between high-level language and hardware chip . Here is a quotation from Zhihu “ Husky with cat ” To illustrate the compiler .
Compilers are very basic software , But it's been many years since a new compiler came out , The technology is also very mature , Why does Huawei want an ark Compiler ？ Of course, in order to compile the program to make it run better . Most people know that JAVA Is a cross platform programming language , Why? JAVA Cross platform ？ This is JAVA Virtual machines （JVM） Thanks to ,JAVA Language is actually through JVM To execute ,JVM It adapts to each platform , In fact, cross platform JVM,Android Of ART Virtual machine is a special tool JVM.
In the computer field, there is no problem that can't be solved by adding an indirect middle layer ,JVM That's the middle layer . A lot of people will ask Android Of APP Need cross platform execution ？ Now it's not necessary , that Google Why choose JAVA As a development language ？ There may be many factors to consider , But no one thought of it SUN Actually by the famous patent hooligan ORACLE Bought , Even if Google hold JVM I've rewritten it several times, but I still can't avoid the patent lawsuit ,
A real big company still needs to have its own programming language that can be completely controlled .
That's why , Microsoft push NET/TypeScript Language , Gu getui Go/Kotin Language , Apple Push Object-C/Swift Language is in love .
A word ： How can others snore on the side of the couch , The most important core technology must be mastered by oneself
4. Comparison of modern popular programming languages
We have excerpts runoob Several programming languages listed on the website , Make a comparison . It's in the table below , Lists the most popular 14 A development language .
Be careful ： image VB Basically eliminated, so no longer join , And like Django It's too small , So I also ignored .
It can be found that , These development languages , The United States 10 Share , Japan 1 Share , New Zealand 1 Share , Canada 1 branch , The Netherlands 1 branch .
In fact ,Ruby It's not very popular ,R Language is mainly used in teaching , Small audience . And get rid of them 2 One .
The final conclusion is that ： The popular 12 A development language , The U.S 10 Share , New Zealand 1 Share , Canada 1 branch , What's the problem in China 0.
|Language||Country of invention and author||Time of invention||Simply explain|
|C Language||Bell Labs, USA||1972 year||
C Language is basically the originator of the whole computer system ,Windows,Linux And other cores are basically used C Language . Between high level language and combinatorial language ,
It can be said that ,C Language is the only irreplaceable language in computer system .
|C++||Bell Labs, USA||1983 year||
C++ yes C The inheritance of language , It can be carried out C Procedural programming of language , It also supports object-oriented design , But his biggest problem is ： It's too hard .
Especially multi inheritance , Multi interface and other issues are really a headache .
|Java||America Sun||1995 year||
Java By Sun Advanced programming language .Java Can run on multiple platforms , Such as Windows, Mac OS And many others UNIX Version of the system . At the same time, we can draw lessons from it C++ The advantages of , Removed C++ The shortcomings of .
|C#||Microsoft||2000 year||Microsoft's programming language , I learned from it Java It's a little bit , Added their own highlights . （ There is no increase here VB, Because VB The less entertainment you use ）|
|R Language||New Zealand Ross Ihaka||1993 year||R Language , A free software programming language and operating environment , It is mainly used for statistical analysis 、 Drawing 、 Data exploration .|
|PHP||Canada Rasmus Lerdorf||2005 About years ago||Used to make Web The language of （ The core compiler uses C Language ）|
|Python||The Netherlands Guido van Rossum||1990 About years ago||Python It is a widely used interpretive type 、 High level and general programming language . The author said “ After school ” In order to pass the time, I want to write a literal interpreter , And then Phthon Just came out （ It's a little similar Linux）. But he's just born and he's not hot , With the development of Internet , It was only gradually that he became angry .|
|Perl||America Larry Wall||2000 About years ago||Perl It's a high order 、 Universal 、 Interpretive 、 Dynamic programming language family .|
|Ruby||Japan まつもとゆきひろ||2000 About years ago||Ruby It's an object-oriented approach 、 imperative 、 Function 、 Dynamic general programming language .|
|Rust||America Mozilla||2014||Rust Language is a kind of efficient language 、 Reliable general high level language .|
|Go||Google of America||2007 year||Go The language is designed to be used to carry Web Server , System programming language for storing clusters or similar large central servers .|
|Swift||Apple of America||2015 year||Swift It is an open source programming language that supports multi programming normalization and compilation , Apple in 2014 year WWDC（ Apple Developer Conference ） waive , To develop iOS,OS X and watchOS Applications .|
|Kotin||Google of America||2017 year||Kotlin It's a kind of in Java Static type programming language running on a virtual machine , It's called Android World Swift, from JetBrains Design, develop and open source|
5. Open source , Do you still need to launch your own programming language ？
A common problem is that ： Now programming languages and even compilers are open source , Do you still need to develop your own development language ？
For example, today's Go Language ,Swfit,Kotin, And Microsoft's .NET, They have already disclosed their source code , Is it necessary to care whether the language is your own or someone else's ？
We often say ： First class enterprises sell standard , Second rate companies sell brands , Third rate companies sell products , Fourth rate companies sell coolies ; Open source is still needed （ It's like TikTok,TikTok The information is kept in the United States , The user is the United States , The people they employ are also Americans , But the United States is not at ease , Ask to sell him ）
1） Open source is the means , Is not the goal
We think , Now open source is a means, not an end . That is, open source is to occupy the market rate , Attract more developers , Not really open source for the sake of open source .
If it's more straightforward , I don't think Microsoft really wants open source NET, Google wants to open source Kotin, Apple wants to open source Kotin.
After all, the code was painstakingly written by our own engineers , Why selfless dedication ？ Businesses are not charities .
Not willing in the heart but honest in the body , Not open source will make users worry that there is no back door behind the code , Do you have any BUG wait ,
And open source , It can also attract talents from all over the world for our use , If there are loopholes, they can be solved in time , Why not for .
2） Some of the most core technologies may not really be open source
A lot of open source is really for sharing , But sometimes the core may not be open . For example, visual image processing open source software OpenCV, A lot of code is exposed , But for some of the most core
Code for , He doesn't open source .
3） Free is not necessarily the cheapest
We all like free , A common marketing is mobile phones , to want to 0 You can get XX Cell phones , Are you excited ？ Let's go there , But when you buy it, you find out ,0 The premise of Metaphone is to spend at least one month 200 element ,
And at least sign it 24 Months . therefore , Sometimes behind the free is more consumption .
4） Limited open source agreement
Open source, free , Does not mean unlimited use . The most direct example is the chip RISC-V Is a reduced instruction set based （RISC）, Using the ,RISC-V The foundation does not charge high licensing fees . Open source uses loose BSD Agreement ,
Enterprises are free to use , At the same time, it also allows enterprises to expand their own instruction set without opening up and sharing to achieve differentiated development .
however , When the US sanctions Huawei , You'll find out , At this point, even if it is open source, you may not have the right to use it .
6. Why can't China produce its own development language ？
1. The Chinese market is big enough
The rainy season every year , African grassland plants are flourishing , Herbivores multiply , There was plenty of food . Because there's too much food , The lion is no longer interested in the antelope passing by .
This can simply explain why China can't produce its own development language .
The Chinese market is too big , Do the bottom development （ For example, developing language compilers , Designing a programming language ） Too hard , It's hard to please , Or do App Make money fast .
Is pinduoduo or meituan hungry , Even Alibaba Tencent , Don't worry too much about money .
For example, China 14 Hundreds of millions of people , One yuan for each person , It doesn't look like much , But all in all 14 Billion .
Such a big market can make Chinese giants live well .
however , America is different , American talent 3 More than 100 million people , And American giants are much bigger than Chinese ones , It can't support so many giants there ,
Therefore, on the one hand, we should expand globally , On the one hand, they attack each other's territory internally .
2. Political purpose and language factors
China's Internet has indeed blocked many excellent foreign technology websites , It makes it difficult to promote the new technology released in China .
It is difficult to attract the attention of foreign developers .
Maybe language is one , After all, English is the global language . In the popular language above , Except for the Japanese , Basically speaking English .
attach ： Some worries about population
2020 year , The number of births in China is 1003 Ten thousand , And 2019 year 1465 Compared with the birth population of 10000 , Cliff slide .
and , In the long run , China's population decline is inevitable .
The past , The success of China's Internet , The most fundamental reason is the large population , Wide market .
When the population goes down , Shrinking market , There may be fierce competition .
This may force some domestic manufacturers to develop their own programming languages .
- 使用SQL Server分析2020全国大学生数学竞赛河南赛区结果
- JVM 字节码指令手册
- JVM 字节码指令
- struct 模块的简单使用
- WCNSS_qcom_cfg.ini WIFI配置文件参数详细解析
- Excel 文件格式解析
- PHP + xdebug 分析代码性能瓶颈
- JVM 指令集
- Do you really know how to write markdown with typora
- Tyvj 1305 maximal suborder sum (monotone queue)