RISC проти CISC
Два підходи до архітектури набору команд.
🌐 Терміни іншими мовами:
RISC (Reduced Instruction Set Computer) focuses on a small, highly optimized set of instructions that can be executed quickly (usually in one clock cycle). CISC (Complex Instruction Set Computer) focuses on a wider set of more complex instructions, some of which may perform multiple operations in a single instruction.
graph LR
Center["RISC проти CISC"]:::main
Rel_x86_architecture["x86-architecture"]:::related -.-> Center
click Rel_x86_architecture "/terms/x86-architecture"
Rel_microservices["microservices"]:::related -.-> Center
click Rel_microservices "/terms/microservices"
Rel_pipelining["pipelining"]:::related -.-> Center
click Rel_pipelining "/terms/pipelining"
classDef main fill:#7c3aed,stroke:#8b5cf6,stroke-width:2px,color:white,font-weight:bold,rx:5,ry:5;
classDef pre fill:#0f172a,stroke:#3b82f6,color:#94a3b8,rx:5,ry:5;
classDef child fill:#0f172a,stroke:#10b981,color:#94a3b8,rx:5,ry:5;
classDef related fill:#0f172a,stroke:#8b5cf6,stroke-dasharray: 5 5,color:#94a3b8,rx:5,ry:5;
linkStyle default stroke:#4b5563,stroke-width:2px;
🧠 Перевірка знань
1 / 1
🧒 Простими словами
RISC — це як кухар з кількома простими інструментами, якими він користується дуже швидко. CISC — це кухар з 500 гаджетами для кожної справи.
🤓 Expert Deep Dive
Архітектури RISC (як ARM) покладаються на компілятори для оптимізації. x86 (CISC) використовує мікрокод для перекладу складних команд у прості мікрооперації.