Programming in D / Перевод
→$(P
An interpreter is a tool (a program) that reads the instructions from source code and executes them.
An interpreter is a tool (a program) that reads the instructions from source code and executes them.
0 $(P Интерпретатор - это инструмент (программа), который читает инструкции из исходного кода и выполняет их.
→$(H5 $(IX interpreter) Interpreter)
0 $(H5 $(IX interpreter) Интерпретатор)
→$(P
However, programming languages adhere to much more strict and formal rules than any spoken language.
)
However, programming languages adhere to much more strict and formal rules than any spoken language.
)
0 $(P
Однако языки программирования придерживаются гораздо более строгих и формальных правил, чем любой разговорный язык.
)
Однако языки программирования придерживаются гораздо более строгих и формальных правил, чем любой разговорный язык.
)
0 $(MONO
if (a_card_has_been_played()) { // если (карта_была_сыграна())
display_the_card(); // отобразить_карту();
}
)
if (a_card_has_been_played()) { // если (карта_была_сыграна())
display_the_card(); // отобразить_карту();
}
)
→Programming languages are easier for humans to understand, closer to natural languages:
)
)
0 Языки программирования более понятны людям, так как более близки к настоящим языкам:
)
)
→Programming languages do not have to deal with hardware constraints; their main purposes are ease of use and expressiveness.
0 Языки программирования не должны иметь дело с аппаратными ограничениями; их основными целями являются простота использования и выразительность.
→$(P
Programming languages are designed as efficient ways of programming a CPU, capable of representing higher-level concepts.
Programming languages are designed as efficient ways of programming a CPU, capable of representing higher-level concepts.
0 $(P Языки программирования разработаны как эффективные способы программирования ЦПУ, способные представлять концепции более высокого уровня.
→$(H5 $(IX programming language) Programming language)
0 $(H5 $(IX programming language) Язык программирования)
→$(P
Being so close to hardware, machine code is not suitable for representing higher level concepts like $(I a playing card) or $(I a student record).
)
Being so close to hardware, machine code is not suitable for representing higher level concepts like $(I a playing card) or $(I a student record).
)
0 $(P Будучи настолько близким к оборудованию, машинный код не подходит для представления концепций более высокого уровня, таких как $(I игральная карта) или $(I запись о студенте).
)
)
→$(MONO
$(B
Operation Value Meaning)
100 11110 LOAD 11110
101 10100 STORE 10100
110 10100 INCREMENT 10100
000 00000 PAUSE
)
$(B
Operation Value Meaning)
100 11110 LOAD 11110
101 10100 STORE 10100
110 10100 INCREMENT 10100
000 00000 PAUSE
)
0 $(MONO
$(B
Operation Value Meaning)
100 11110 LOAD 11110
101 10100 STORE 10100
110 10100 INCREMENT 10100
000 00000 PAUSE
)
$(B
Operation Value Meaning)
100 11110 LOAD 11110
101 10100 STORE 10100
110 10100 INCREMENT 10100
000 00000 PAUSE
)
→Assuming that the leftmost 3 bits are the operation number and the rightmost 5 bits are the value that is used in that operation, a sample program in machine code for this CPU might look like the following:
)
)
0 Предполагая, что самые левые 3 бита - это номер операции, а самые правые 5 бит - это значение, которое используется в этой операции, образец программы в машинных кодах для этого ЦПУ может выглядеть следующим образом:
)
)
→For example, for an imaginary 8-bit CPU, the number 4 might represent the operation of loading, the number 5 might represent the operation of storing, and the number 6 might represent the operation of incrementing.
0 Например, для воображаемого 8-битного ЦПУ число 4 может представлять собой операцию загрузки (loading), число 5 может представлять операцию сохранения (storing), а число 6 может представлять операцию приращения (incrementing).
→$(P
These machine code instructions are special numbers, which represent various operations supported by the CPU.
These machine code instructions are special numbers, which represent various operations supported by the CPU.
0 $(P
Эти инструкции машинного кода являются специальными номерами, которые представляют собой различные операции, поддерживаемые ЦПУ.
Эти инструкции машинного кода являются специальными номерами, которые представляют собой различные операции, поддерживаемые ЦПУ.
→Because the ease of coding is not a primary consideration at this level, writing programs directly in the form of the machine code of the CPU is a very difficult task.
)
)
0 Поскольку простота кодирования не является первоочередной задачей на этом уровне, писать программы непосредственно в виде машинного кода ЦПУ - очень сложная задача.
)
)
→At the lowest level these machine code instructions are implemented as electrical signals.
0 На самом низком уровне эти инструкции машинного кода реализованы как электрические сигналы.
→These machine code instructions are determined under hardware constraints during the design stage of the architecture.
0 Инструкции машинного кода определяются аппаратными ограничениями на этапе разработки архитектуры.
→$(P
Most CPU architectures use machine code specific to that particular architecture.
Most CPU architectures use machine code specific to that particular architecture.
0 $(P
Большинство процессорных архитектур используют специфичный для этой архитектуры машинный код.
Большинство процессорных архитектур используют специфичный для этой архитектуры машинный код.
→Telling the CPU what to do is called $(I coding), and the instructions that are used when doing so are called $(I machine code).
)
)
0 Указание дейсвтий процессору называется $(I кодированием), а инструкции, которые для этого используются называются $(I машинным кодом).
)
)
→$(P
In addition to the above, the keyword $(C void) represents $(I having no type).
In addition to the above, the keyword $(C void) represents $(I having no type).
0 Дополняя вышеизложенное - ключевое слово $(C void) означает $(I нет типа).
→$(P
$(IX CPU) $(IX microprocessor) The brain of the computer is the microprocessor (or the CPU, short for $(I central processing unit)).
$(IX CPU) $(IX microprocessor) The brain of the computer is the microprocessor (or the CPU, short for $(I central processing unit)).
0 $(P
$(IX CPU) $(IX микропроцессор) Мозгом компьютера является микропроцессор (или ЦПУ, сокращение для $(I центральное процессорное устройство)).
$(IX CPU) $(IX микропроцессор) Мозгом компьютера является микропроцессор (или ЦПУ, сокращение для $(I центральное процессорное устройство)).
Резюме
- Пол:
- существо
- Родной язык:
- русский
- С нами:
- с 31 января 2016 г. (3914 дней) по приглашению opennota
- Деятельность:
-
243208 версий перевода
с общим рейтингом 2586
9140 комментариев
Карма: 7 (оценок: 53)

