Do you want to write a compilation in Chinese? _ assembly bar _ Baidu post bar 63 floor. Hereby reprint, and to all brave to explore the predecessors salute!

Zhu Xian: The general programming language is English, what do you think about Chinese programming, what are the advantages and disadvantages of Chinese programming?

1) Argument: Should we establish a new Chinese programming language?

2) the reason:

2.1) Advantages (costs) of older programming languages.

2.2) Foothold of new programming language.

2.3) Old path: Bypass the above difficulties and use the old programming language directly.

Only “make the function name, procedure name and variable name available in Chinese characters”.

3).

2.1)

The old programming languages, still in use, are not obsolete.

And has a huge user base,

Years of historical precipitation, technical support,

Published introductory books, documentation, rich and detailed function manuals,

Comprehensive web help and code use cases,

And several series of testing tools (microsecond time analysis of the percentage of time consumed by each function,

Symbol level source level debugger, memory checker, SVN code upload…) .

Global multi-level, multi-occasion, multi-language product testing,

Perfect after-sales service,

Constantly updating software based on user feedback or hardware innovations,

Guarantee that the product will still exist after 20 years.

This is where the contrast between an individual’s work and that of a brand company is most obvious:

Individuals, small studios, and ordinary companies cannot compete with any of these offerings.

And even big companies that do it all, like Borland,

3.2 million users worldwide,21 years of history (1987-2008), countless testing tools…

Still ended up being bought by Eblon. So a new programming language has to be prepared to lose money from the start.

2.2)

Zhou Sibo said that if new technologies are used to solve some “problems that old technologies can solve”,

The new technology is condemned. Lao Zhou this words is to tease Microsoft originally, but change in programming language body, still fit.

D and C — for C, the problem is this.

Even newer languages, such as Ruby, have been compared to Lisp by Wang Yin, who has given it a bad rap.

So once the old programming language is abandoned, users will follow (2.1) to request a new Chinese programming language,

There is also a lot of bias against The Chinese language (Chinese programmers are known for being hostile to the Chinese market.

No matter specification, specification, function manual… Never use Chinese unless you can write Chinese characters.

The Han people learn to speak gibberish, but they scold the Han people at the head of the city. It is true today and today, no wonder. So the rise of new languages,

Even if it is not unique and outstanding, it has to solve some “problems that old technology cannot solve”.

Even automatic memory reclamation, network functions, reflection, functional programming… Wait a minute, they’re all in

It’s supposed to be, not a highlight.

This is not too much to ask, since it is a completely new programming language, one would expect the author to be one

In accordance with the tradition of “The Spring and Autumn Annals”, the master of the founding School criticized the sage’s works.

Of course, authors can throw the new programming language onto the web site and fly away.

Usually, the public will also assume that the author has handed in an assignment, completed a thesis defense of the tutor.

Fabrice Bellard’s Tiny CC, for example, is poorly maintained and has fallen out of favor

By the way, put his libtcc.c\LIBTCCAPI TCCState *tcc_new(void) inside

Inline preprocess_new() is modified to support Chinese identifiers.

Even if he changed his libtcc.dll by forty bytes without changing the source code or recompiling it,

Same effect).

But to take a step back, as stated in (2.1), the author has to endure twenty years of hard work in self-publishing various manuals,

Both inside and outside the wall are rented servers, providing multi-language technical support for people of all countries and ethnic groups, and fixing bugs at any time.

New versions keep coming out, and there’s a good chance they won’t make any money for 20 years. It’s too much of an imposition.

2.3) To sum up:

After starting all over again, the pressure is tremendous; The profit is so small that it is almost inverted. So most people fly with a steed tail, only let

“The old compiler can recognize Chinese identifiers when it eats Chinese programs, so that it can compile the connection normally without reporting errors”,

I was content.

If you search on the show or wanfang, you can see the traces of the past sages. Here are some of them:

Wang Qihong, PASCAL Compiler with Chinese Identifiers, journal of Changchun Institute of Posts and Telecommunications, Vol. 02, 1987,

Li Jing, “The Transformation of PASCAL Compiler”, published in Computer Engineering and Applications, 1987, 09,

Miao Qingbin, Design and Implementation of PASCAL Language sinicization, published in Computer Engineering and Design, vol. 03, 1990.

Zhang Jisan, “Chinese assembly Language Programming”, in Software World, 2006,

Huang zhiyong, “the sinicization method of Foxpro2.5”, published in computer, no.12, 1995,

Que Jianjun, using Chinese variable name and field name under FOXBASE, published in China Financial Computer, 1996, 05

Even new people follow this old path, such as aogo’s masmplus, ding long’s Chinese C++, zhu xian’s Chinese compiler.

By taking advantage of old programming languages, function names, procedure names, and variable names can all use Chinese characters (all can ≠ all must!) .

So old program documentation, programmers, code use cases… None of them moved.

Although this is suspected of stealing the tiger’s power, but in the end, it can be taken off the pressure of (2.1).

And then he threw a stone at me. Since then, Chinese programming can be. Finally, I can stop writing

“Render_hexagon (last_descending_point)” changed to “_ fill in 6 descends (_ recent descending_point)”.

And connect lib run lua virtual machine run Python properly… The effect was as it always was, and there was no harm in it.

One drawback: every time the compiler comes out with a new version, these workers have to cooperate with a version of the Chinese package, with the game released by the Chinese

There is no difference between Chinese packages. I’m not mocking the Chinese: compilers are programs, and games are programs;

Users of compilers (programmers) are people, and users of games (players) are people; And the latter is a bigger market.

Both chambers of the Chinese are working for free, are chasing after the version of the number behind and tired.

“Tired of running” is the original words of the sorcerer, but the Sinicizers ran more than seven times because of their hard work

This rule is intentionally ignored by the original compiler author. (The surface rule is that the compiler must support Unicode, but the hidden rule is not required by the European and American countries

Regarding the Chinese market, such as the previous go language group debate on exporting Chinese function names,

groups.google.com/forum/#! MSG…

The link is outside the wall, I wonder if it is invalid), because their labor is free and not worth mentioning.

So, someone is always tired of making their own Chinese compiler.

3) Here, hats off to all Chinese programmers who have broken through:

For example (the following is not complete and in no particular order): author of O language, BtAsm team of Standard Sky Software,

Wu Tao of Easy language, Zhou Python of Python, WinDev of France…

Regardless of their success or failure in business, they have made their own contributions to Chinese programming.

Quiet work may not reap. Only thanks to them, can also reflect the Chinese programming road, how tortuous, how long,

Although a pulse such as silk, is still continuously.

We still have a long way to go.

2017-11-27