Randall Hyde | The Art of 64-Bit Assembly. Volume 2. Machine-Level OOP, Exceptions, and Concurrency (2026) [PDF, EPUB, MOBI]
Автор: Randall Hyde
Издательство: No Starch Press, Inc.
ISBN: 978-1718504356, 978-1718504349
Жанр: Assembly Language Programming, API & Operating Environments, Microprocessor & System Design
Язык: Английский
Формат: PDF, EPUB, MOBI
Качество: Изначально электронное (ebook)
Иллюстрации: Черно-белые
Описание:No magic. No shortcuts. No runtime to blame.
You can ask an AI to explain how vtables work in x86. It will give you something that sounds right. What it won’t give you is what Windows actually expects the vtable to look like, why method dispatch behaves the way it does at the instruction level, or what breaks when you deviate from convention. This volume of The Art of 64-Bit Assembly closes the gap between a plausible explanation and genuine understanding.
Every chapter takes a construct you’ve used in C++, Python, or Rust, strips away the runtime, and rebuilds it from scratch in MASM, running under Windows. Objects, exceptions, closures, coroutines, concurrency: Each is dissected at the instruction level, with every decision made visible and explicit.
What you’ll build:
Object-oriented programs in MASM: vtables, method dispatch, and inheritance, from scratch by hand
Windows structured exception handling (SEH) installed and managed at the instruction level
Thunks, closures, and iterators that behave like higher-order functions
Coroutines, generators, and fibers without resorting to HLL code
Concurrent programs with real synchronization primitives, directly from assembly
Unicode string handling done correctly, at the level where most code gets it wrong
Domain-specific macro languages inside MASM, built from first principles
If you already know assembly and want to stop taking the hard parts on faith, this is the book.
Acknowledgments xvii
Introduction xix
Chapter 1: Advanced Macros 1
Chapter 2: Unicode Strings 75
Chapter 3: Transcendental Functions 139
Chapter 4: Advanced Procedures 203
Chapter 5: Concurrent Programming 295
Chapter 6: Object-Oriented Programming with MASM 397
Chapter 7: Exception Handling 481
Chapter 8: Thunks and Closures 581
Chapter 9: Advanced Parameter Implementation 609
Chapter 10: Iterators 651
Chapter 11: Coroutines, Generators, and Fibers 675
Appendix A: ASCII Character Set 731
Appendix B: Glossary 737
Appendix C: Installing and Using Visual Studio 743
Index 751
Скриншоты:
Время раздачи: с 10 до 20 (минимум до появления первых 3-5 скачавших)