Home > Back-end >  Compilation of inductive learning
Compilation of inductive learning

Time:11-13

Assembly language is very important,

High-level language as a primer, can reduce the threshold of the study, and make the learners to make things quickly, improve the confidence of the programming, if, as a senior programmer learn assembly is indispensable, I here say 8086 assembly is not just as simple assembly, should also include various platforms of assembly language,

The benefits of learning assembly language is to let you know how do you run a high-level language is,

For ordinary developers may think that I don't have to care about my code level is how to run the machine, as long as the correct code is ok, but in fact it is not reliable,

The reasons are:

1, the compiler is not reliable,

2, there is a lot of high-level language boundary (known as pit),

3, the hardware is not necessarily reliable,

Because the compiler is made of people, high-level languages is designed, hardware is also a person to do, these are completely right is impossible,

Compiler MSVC or GCC, buggy, if encounter a compiler bug to do? , of course, is to use assembly to confirm whether the compiler's questions, I once met a compiler error for some special complex macro expansion, the results is very strange, this kind of circumstance, can only assembly location problem,

Beginners it is difficult to encounter these problems, but if the code is much, met some compiler problem or hardware problem is very common,

As for all kinds of language "pit", also can only explain assembly,

Such as the famous:

Int I=3;
Int a;

A=i++ + i++ + i++;

The result is different, different compile platform but why different? Must be seen through the disassembly, if don't understand the assembly, so for this kind of problem can only know "I can't write," to understand "why can't write,"

Again, for example, __cdecl and __stdcall, what is the difference between the book to say mass participation rules, better tell me the specific is how different, but if we don't know assembly, do not take a look at the decompiled, it is hard to understand what is the specific,

A high-level language tell you what kind of computer world, assembly language tell you why the computer world,

CodePudding user response:

Do IT can be divided into superior and ordinary, not all is superior, not everyone is willing to do general, who just want to do, IT's called a turnip greens, ha, ha, ha
As I know, how should write, write so as to why, don't care about anything, ha, ha, ha
Learned assembly at school, but as snacks, gnome male -"

CodePudding user response:

All talk accusers ~ ~ ~
Light practice not silly fantasy ~ ~ ~

CodePudding user response:

refer to the second floor early play big play nuclear response:
all talk accusers ~ ~ ~
Light practice not silly fantasy ~ ~ ~


Look at this:
https://bbs.csdn.net/topics/392663641
  • Related