C++ Data-Oriented Design (Paperback)
Lingua: inglese
Editore: Independently Published, 2026
- Brossura
- Nuovo

Da: Grand Eagle Retail, Bensenville, IL, U.S.A.Grand Eagle Retail
Venditore AbeBooks dal 12 ottobre 2005
Condizione: Nuovo
EUR 33,10
Quantità: 1 disponibile
Aggiungi al carrelloDescrizione dell’articolo da parte del venditore
Paperback. Stop Fighting the CPU. Ditch Object-Oriented Bottlenecks and Architect for Pure Hardware Throughput. Modern CPUs are insanely fast, but memory is slow. If you are writing traditional Object-Oriented C++ relying on arrays of pointers, virtual dispatch, and deeply nested objects, you are starving the processor. A single L3 cache miss costs hundreds of clock cycles. C++ Data-Oriented Design is the definitive engineering manual for breaking the OOP habit and structuring your data to perfectly align with the physical realities of the silicon. Whether you are building a custom game engine, a high-frequency trading order book, or a massive particle simulation, this book teaches you how to transform pathological memory access patterns into cache-coherent, vectorized data pipelines. You will learn to measure the true cost of a cache miss using perf and Intel VTune, and then completely re-architect your data layouts for maximum throughput.Inside, you will discover: The Hardware Reality: Understand cache line mechanics, TLB pressure, and why OOP memory layouts betray the CPU's prefetcher.Layout Fundamentals: Master structure packing, hot/cold data separation, and alignment to maximize useful bytes per cache fetch.Structure of Arrays (SoA) vs. Array of Structures (AoS): Learn exactly when to transition your data models to SoA to unlock massive SIMD throughput and AVX-512 auto-vectorization.Entity Component Systems (ECS): Build a production-grade ECS from scratch, comparing Archetypal storage versus Sparse Sets for data-driven architectures.Pointer Elimination: Eradicate pointer-based trees and linked lists. Implement Flat Arrays, Slot Maps, and Generational Indices for O(1) lookups without heap fragmentation.Concurrent DOD: Defeat false sharing at the cache-line level and design lock-free, per-thread data partitions that scale linearly across 64+ cores.Real-World Application: Step-by-step refactoring guides for transforming Game Engine Scene Graphs and HFT Order Books to data-oriented layouts.THE PERFORMANCE VAULT (Appendix) Built for the systems architect who needs immediate answers, the Appendix provides drop-in reference material: The Cache Line Size Reference: Architecture comparison table for x86-64, ARM, RISC-V, and Embedded targets.The AoS vs. SoA Decision Matrix: Instantly determine the optimal layout for your specific workload characteristics.The Data Layout Audit Checklist: 12 mandatory questions to evaluate the cache efficiency of any production data structure before it ships.Don't let memory latency throttle your application. Align your data with the hardware, master Data-Oriented Design, and squeeze every drop of performance from the silicon. This item is printed on demand. Shipping may be from multiple locations in the US or from the UK, depending on stock availability.…
Codice articolo 9798195672515
- Titolo
- C++ Data-Oriented Design (Paperback)
- Autore
- Billie S. Lightner
- Editore
- Independently Published
- Anno di pubblicazione
- 2026
- Condizione
- new
- Rilegatura
- Paperback
- Lingua
- inglese
- ISBN 13
- 9798195672515
- Serie
- Libro 9 di 11: High-Performance C++ Engineering
Modern CPUs are insanely fast, but memory is slow. If you are writing traditional Object-Oriented C++ relying on arrays of pointers, virtual dispatch, and deeply nested objects, you are starving the processor. A single L3 cache miss costs hundreds of clock cycles. C++ Data-Oriented Design is the definitive engineering manual for breaking the OOP habit and structuring your data to perfectly align with the physical realities of the silicon.
Whether you are building a custom game engine, a high-frequency trading order book, or a massive particle simulation, this book teaches you how to transform pathological memory access patterns into cache-coherent, vectorized data pipelines. You will learn to measure the true cost of a cache miss using perf and Intel VTune, and then completely re-architect your data layouts for maximum throughput.
Inside, you will discover:
- The Hardware Reality: Understand cache line mechanics, TLB pressure, and why OOP memory layouts betray the CPU's prefetcher.
- Layout Fundamentals: Master structure packing, hot/cold data separation, and alignment to maximize useful bytes per cache fetch.
- Structure of Arrays (SoA) vs. Array of Structures (AoS): Learn exactly when to transition your data models to SoA to unlock massive SIMD throughput and AVX-512 auto-vectorization.
- Entity Component Systems (ECS): Build a production-grade ECS from scratch, comparing Archetypal storage versus Sparse Sets for data-driven architectures.
- Pointer Elimination: Eradicate pointer-based trees and linked lists. Implement Flat Arrays, Slot Maps, and Generational Indices for O(1) lookups without heap fragmentation.
- Concurrent DOD: Defeat false sharing at the cache-line level and design lock-free, per-thread data partitions that scale linearly across 64+ cores.
- Real-World Application: Step-by-step refactoring guides for transforming Game Engine Scene Graphs and HFT Order Books to data-oriented layouts.
Built for the systems architect who needs immediate answers, the Appendix provides drop-in reference material:
- The Cache Line Size Reference: Architecture comparison table for x86-64, ARM, RISC-V, and Embedded targets.
- The AoS vs. SoA Decision Matrix: Instantly determine the optimal layout for your specific workload characteristics.
- The Data Layout Audit Checklist: 12 mandatory questions to evaluate the cache efficiency of any production data structure before it ships.
"Riassunto" può appartenere a un’altra edizione di questo titolo.
Grand Eagle Retail
Bensenville, IL, U.S.A.
Venditore AbeBooks dal 12 ottobre 2005
Tariffe di spedizione nazionale per U.S.A.
| Articolo | Da 6 a 14 giorni lavorativi | Da 6 a 16 giorni lavorativi |
|---|---|---|
| Primo articolo | EUR 0,00 | EUR 0,00 |
Metodi di pagamento
Informazioni sull’azienda del venditore
APOLLO ONLINE CORP.
605 Geddes Street
Wilmington, DE U.S.A. 19805
Condizioni di vendita
We guarantee the condition of every book as it¿s described on the Abebooks web sites. If you¿ve changed
your mind about a book that you¿ve ordered, please use the Ask bookseller a question link to contact us
and we¿ll respond within 2 business days.
Books ship from California and Michigan.
Diritto di recesso
Se sei un consumatore puoi recedere dal contratto in conformità con quanto segue. Per Consumatore si intende qualsiasi persona fisica che agisce per scopi estranei alla propria attività commerciale, imprenditoriale, artigianale o professionale.
Informazioni sul diritto di recesso
Diritto legale di recesso
Hai il diritto di recedere dal presente contratto entro 14 giorni senza fornire alcuna motivazione.
Il periodo di recesso scade dopo 14 giorni dal giorno in cui tu o una terza parte, diversa dal vettore e da te indicata, acquisisce il possesso fisico dell'ultimo bene o dell'ultimo lotto o pezzo.
Per esercitare il diritto di recesso, compila e invia elettronicamente una dichiarazione esplicita sul nostro sito Web, alla voce “I miei acquisti” nella sezione “Mio account”. Ti comunicheremo senza indugio una conferma di ricezione di tale recesso su un supporto durevole (ad es. via e-mail).
Per rispettare il termine di recesso, è sufficiente inviare la comunicazione relativa all'esercizio del diritto di recesso prima della scadenza del periodo di recesso stesso.
Effetti del recesso
In caso di recesso dal presente contratto, ti rimborseremo tutti i pagamenti ricevuti, compresi i costi di spedizione (ad eccezione dei costi supplementari derivanti dalla tua eventuale scelta di un tipo di spedizione diverso dal tipo meno costoso di consegna standard da noi offerto).
Potremo effettuare una detrazione dal rimborso per la perdita di valore dei beni forniti, qualora tale perdita sia il risultato di una manipolazione non necessaria da parte tua.
Eseguiremo il rimborso senza indebito ritardo e non oltre 14 giorni dal giorno in cui saremo informati della tua decisione di recedere dal presente contratto.
Il rimborso sarà effettuato utilizzando lo stesso mezzo di pagamento da te usato per la transazione iniziale, salvo che tu non abbia espressamente concordato altrimenti; in ogni caso, non dovrai sostenere alcun costo quale conseguenza di tale rimborso.
Possiamo trattenere il rimborso finché non avremo ricevuto i beni oppure finché non avrai fornito la prova di averli rispediti, a seconda di quale condizione si verifichi per prima.
Dovrai rispedire i beni o consegnarli a Grand Eagle Retail, Bensenville, Illinois, U.S.A., senza indebito ritardo e, in ogni caso, entro 14 giorni dal giorno in cui ci hai comunicato la tua volontà di recedere dal presente contratto. Il termine è rispettato se rispedisci i beni prima della scadenza del periodo di 14 giorni. I costi diretti della restituzione dei beni saranno a tuo carico. Sei responsabile solo della diminuzione del valore dei beni risultante da una manipolazione diversa da quella necessaria per stabilire la natura, le caratteristiche e il funzionamento dei beni stessi.
Eccezioni al diritto di recesso
Il diritto di recesso non si applica a:
- La fornitura di giornali, periodici o riviste ad eccezione dei contratti di abbonamento; e
- La fornitura di contenuto digitale non fornito su un supporto materiale (ad es. su un CD o DVD), se al momento dell'invio dell'ordine hai accettato l'inizio dell'esecuzione e hai riconosciuto che non avresti potuto recedere una volta iniziata l'esecuzione.
Condizioni di spedizione
Orders usually ship within 2 business days. All books within the US ship free of charge. Delivery is 4-14 business days anywhere in the United States.
Books ship from California and Michigan.
If your book order is heavy or oversized, we may contact you to let you know extra shipping is required.