From Source Code To Machine Code

Douban Goodreads
From Source Code To Machine Code

Accedi o registrati per recensire o aggiungere questo elemento alla tua collezione.

ISBN: 9798395129604
Autore: James Smith
formato del libro: Brossurato
titolo alternativo: From Source Code To Machine Code: Build Your Own Compiler From Scratch
Casa editrice: Independently published
data di pubblicazione: 2023 -5
Lingua: English
Formato: Paperback
Numero di pagine: 117

/ 10

0 valutazioni

Non ci sono abbastanza valutazioni
Prendi in prestito oppure Acquista

Build Your Own Compiler From Scratch

James Smith   

Sinossi

Ever wondered how computers turn source code into working software? You can learn the art by building your own mini-compiler.
A succinct book walks through a minimal yet complete compiler implementation. Compiles a static-typed language into x64 ELF executables.

contents

Contents
Part I: Interpreter
Introduction
A Simple Calculator
Interpreter: Variables and Scopes
Interpreter: Control Flows and Functions
Part II: Bytecode Compiler
How Computers Work
The Virtual Machine and Bytecode
Compiler: Variables and Expressions
Compiler: Control Flows
Compiler: Functions and Non-Local Variables
Part III: Machine Code
A Crash Course on x64 Assembly
The x64 Instruction Encoding
From Virtual Machine to Real Machine
Binary Executables
Pointers and Memory

Commenti
Recensioni
笔记