Third, the benefit of the people and self-interest
Any commercial product, of course, is in the interests of the first, self-interest and benefit people. If it is the creation of art, then just the opposite, only can ignore their own benefits, drain blood and soul to explore, pious enthusiasm to dedicate, will burst out the brilliance of humanity, create immortal masterpiece.
The greatness of the artist lies in this, the preciousness of human nature.
For the combination programming language, some people regard as the commodity, the writing skill treats as the patent, the light does not have the person. I believe that this is not yet a decent reference to the root causes of books, I bought a lot of this kind of books, but in addition to the book Instructions and programming, debugging procedures, there is no technical instructions, as if to understand the instructions can be written in general program. When I have done a lot of work, get some experience, and then look back at those reference books, only to find that even the author himself cited examples, are straightforward, no skills to speak.
(correction, I mentioned in the preamble that there is a "Zen-combination Language", the only exception, which I hope readers will not miss.) )
Over the years, I have been trying to write a book on the composition of language writing skills, but unfortunately none of the opportunities. This time, in order to achieve the "integrated system" of the revolutionary plan, all recruit engineers, all trained from scratch. Because there is no available textbooks, have to do their own, so the initial handouts, and then modified, then become the book.
I think that since the combination of language is a kind of art, we should not only hide from the private Jen, but also to explore and exchange with each other in order to carry forward.
However, technology itself and the use of the technology created by the products can not be confused, the product is a means of livelihood, can survive, we have the opportunity to research and development, but also to contribute to the community. If people do not respect the rights of others ' products, just plagiarism with each other, or can benefit from a moment, but the impact of all, everyone covet ready-made, do not develop, then the concept of a standstill, technology outdated, the consequences of unimaginable.
Section III Efficiency Law
I. Definition of efficiency
In the universe, large to the evolution of species, changes, small to individual work, sports, etc., are strictly abide by the law of efficiency.
The definition of efficiency is:
┌─────────────────────────┐
│f=e/t, that is, the "work" of a particular energy in a particular time and space. │
└─────────────────────────┘
By the upper-type F = e/t, the "work" of a particular "energy" in a particular "space-time" is a constant value, a constant value, indicating that there can be no waste. When the energy is constant, the extension of time and space will lead to the shortage of "power", from another point of view, it can be said that the energy is not enough, low efficiency.
For a computer, if the "power" of a writing program is close to this "constant value" and has a long-term use value, we can assume that the program is the most efficient.
By the evolution of human civilization, it can be seen that, because of the increasingly professional technology, the difficulty of work not only has not been reduced, but more complex. This method of saving the valuable time of the general application by the input of professional experts can be said to be the pursuit of efficiency in fact.
Because the human life only exists in the limited time, therefore its value is extremely high. Each computer program, its ultimate goal is to serve the majority of users, the programmer is only a few people, the length of their production time, can never be compared with most users in the operation of the time spent.
In addition, there must be a considerable amount of programming for a person who has a career in writing programs. If you can reuse a written program, it will shorten your writing time. In any case, the combination of languages should be the only choice to pursue efficiency.
As a computer practitioners, in the professional conscience, should be the service of humanity, the pursuit of efficiency as the highest standards.
Second, the efficiency of the computer
The invention of computer is the most representative achievement of human being's pursuit of efficiency.
At present, computer functions are limited to data processing and automatic control, people use computers, the expected efficiency of the following six points.
1, save working time and work cost.
2, to replace the cumbersome, high or dangerous operations.
3, the pursuit of accurate and accurate information, messages.
4, storage or operation of a large number of data or information.
5, long distance communication or remote control operation.
6, automatic industrial production or General Service.
However, the computer development in the ascendant, the above points are difficult to express in case. Therefore, it is necessary for us to classify the efficiency of human expectation as the basis of analysis and judgment.
Three or four law of great efficiency
In the human society, the related work process, the production cost and the application value and so on three aspects, respectively assumes the law as follows:
Law One:
In the operation process, the least steps to generate maximum power, the most efficient.
Law II:
In the production cost, time, space and raw materials are the most economical, its efficiency is highest.
Law Three:
In the application value, the function and the result can accumulate repeatedly, its efficiency is highest.
Law four:
The best efficiency is the maximum marginal effect that best meets the actual demand.
Computer applications, purely for the pursuit of efficiency, according to hardware, software design, should strictly abide by the law of efficiency. But the fact is not, because the computer development so far, has been a "seller's Market", the United States and its name is "High-tech", inside the pedestrian high, highly paid, the layman is afraid of posterity, follow suit.
In order to gain near-profit, the computer industry often uses the most inefficient high order language in the process of software design. But because higher-order languages are easy to produce, production costs are low, but the "ignorant" buyers, the pursuit of efficiency often costs more to buy more expensive, newer hardware to meet the needs of efficiency.
Some people say that higher-order language programming has the advantage of a combination of languages that can easily be "transferred" to other machines. In fact, the current micro-computer market only two kinds of models: one for the IBM PC series and its compatible machine, and the other for Macintach, and both of the software, regardless of the use of any language, can not easily "transfer"!
In general, any new micro-computer listing, its implementation speed and memory capacity increased by one times, the price is proportional to increase. Is it necessary not to improve the hardware to achieve efficiency requirements? If we can understand the nature of programming language, we will clearly recognize how to talented the maximum marginal benefit.
This is also one of the basic laws of evolution, when the computer technology matures, the real efficiency will be taken seriously. Similarly, when the computer application efficiency reaches the highest point, that is the time when the computer technology matures. If we can master this principle, it is not difficult to see the long-term development trend, the hole candle machine first.
Iv. efficiency of Combinatorial language
According to law one, the efficiency of the combinatorial language is undeniable, because the combination language is equivalent to the computer running "Machine command", can directly produce "power".
Production costs have a variety of meanings, here we only discuss two points: first, the production process of the time required, first, the direct cost of products.
The combination language can play the maximum function with the smallest space. Obviously, under the equivalent function, its finished product occupies the smallest space, the cost is lowest. But the combination language is in a rather disadvantageous position for the time required for the production process. Unless there is a way to improve the efficiency of combinatorial language production.
This is the main purpose of this book: to introduce a method to improve the production efficiency of combinatorial languages.