An in-depth understanding of computer programming Fundamentals computer System 1

Source: Internet
Author: User

An in-depth understanding of computer programming Fundamentals computer System 1

Directory

    • Overview-"In-depth understanding of computer systems"
    • Computer system roaming
    • Representation and processing of information

Overview-"In-depth understanding of computer systems"

Computer Systems A Programmers Perspective English name

Computer system roaming

Introduction to this chapter

What happens to the system when the Hello program is executed on the system and why

Information is bit + context

The source program (or source file) hello.c, is actually a bit sequence of values 0 and 1, and 8 bits are organized into a set of bytes. Each byte represents a text character in the program, and most modern systems use the ASCII standard to represent text characters

Programs are translated into different formats by other programs

Compilation system (compilation Systems)

preprocessor, compiler, assembler, and linker

Four stages of the translation process

Preprocessing phase: HELLO.C (source program), HELLO.I (modified source program) PS: both are text

Compile stage: hello.i-Hello.s (assembler text)

Assembly stage: Hello.s-hello.o (relocatable target program binary)

Link stage: hello.o, hello (executable binary for Target program)

It's good to know how the compilation system works

Optimizing Program Performance

Understanding the error that occurs when linking

Avoid security breaches

The processor reads and interprets the instructions stored in the memory

Shell (Shell)

Shell is a command-line interpreter

Hardware composition of the system

Bus

A set of electronic pipelines throughout the system, usually the bus is designed to transmit fixed-length chunks of bytes, i.e. word. The number of bytes (that is, the word length) is a basic system parameter. There are 4 bytes (32 bits) and 8 bytes (64 bits)

I/O devices

Connected to the I/O bus via a controller or adapter. The controller is a chipset that is placed on the I/O device itself or on the system's main printed circuit board (usually called the motherboard), while the adapter is a card plugged into the motherboard slot

Memory

Processor

Load, store, manipulate, jump

Run the Hello program

Cache is critical

Storage Device Formation Hierarchy

Operating System Management Hardware

Process

Thread

Virtual memory

Program code and data

Heap

Shared libraries

Stack

Kernel virtual memory

File

Using network communication between systems

Important topics

Concurrency and parallelism

Thread-level concurrency

Instruction-level parallelism

Single instruction, multi-data parallelism

The importance of abstraction in computer systems

Representation and processing of information

An in-depth understanding of computer programming Fundamentals computer System 1

Related Article

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.