Viewing programming languages from Assembly

Source: Internet
Author: User
Tags garbage collection

In school, I do not know how the opportunity to meet the coincidence of assembly language, but to find a job but chose the VC + +. However, even now, I still have a difficult to give up the assembly of feelings. Although I am now in the C #, but the most profound impact on me is the assembly.

When I was a sophomore, I used to compile a game of airplane typing, but for my own reasons, I would not be able to compile anything except the assembly. Find a single chip microcomputer and embedded education is not enough. Hit the VC + +. In the work to do slowly from VC + + to the C #, but decided to learn C # process is not smooth. I do not want to give up the learning of C + +, want to use C + + Managed Extensions for programming. but found. C + + managed programming is not suitable for the company's rapid development project requirements, so began to learn. NET under the most flow type of language C #.

In the process of learning C #, there is no way to study IL assembly. Instead, it uses the x86 assembly to understand the C # language. What I understand is that. NET automates garbage collection for programs, and programmers do not have to worry about annoying memory recycling. All I see is the address, the allocation space, the recycling space, the calculation, and this is the C # language I see from the assembler, and the rest are all programming ideas and rapid development methods. (What metadata, type, are in the memory of the address.) )

So, if you understand the x86 of the assembly, you can learn other programming languages, it will not be so difficult, because the most difficult language has been understood. But not all programmers need to learn assembly language, the Assembly just tells you how the machine executes the program you wrote, and doesn't tell you how to solve the real problem quickly. We use advanced language, that is, to simplify and too close to the machine, in turn to make more time to solve the real problem. If you want a deeper understanding of the programming language, go to the Assembly (because the master always uses the assembly to say things). If you want to better solve the problem in reality, hehe, I do not know how to do! (Will know later)

A little bit is my airplane character game, interested friends can have a look.

Operation mode:

Space fired bullets, moving the plane around. The following figure:

Start screen

The process of playing airplanes.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.