Aussie AI
Free PDFs of Generative AI and C++ Books
-
Books by Aussie AI founders
PDF Downloads of Full Book Text
- Generative AI in C++ (Spuler, March 2024), free PDF download (warning: 3.8MB file) — building LLM infrastructure kernels in C++.
- The Sweetest Lesson: Your Brain Versus AI, 2025, free PDF download (warning: 5.3 MB file)
- C++ AVX Optimization: CPU SIMD Vectorization, 2025, free PDF download (warning: 1.8 MB file)
- C++ Ultra-Low Latency: Multithreading and Low-Level Optimizations, 2025, free PDF download (warning: 3.7 MB file)
- Advanced C++ Memory Techniques: Efficiency and Safety, 2025, free PDF download (warning: 2.1 MB file)
- Efficient C++ Multithreading: Modern Concurrency Optimization, 2025, free PDF download (warning: 2.7 MB file)
- Efficient Modern C++ Data Structures: Container and Algorithm Optimizations, 2025, free PDF download (warning: 2.0 MB file)
- C++ Low Latency: Multithreading and Hotpath Optimizations, 2025, free PDF download (warning: 2.0 MB file)
- Safe C++: Fixing Memory Safety Issues, Oct 2024, free PDF download (warning: 1.2 MB file)
- CUDA C++ Optimization: Coding Faster GPU Kernels , July 2024, free PDF download (warning: 1.3 MB file)
- CUDA C++ Debugging: Safer GPU Kernel Programming, July 2024, free PDF download (warning: 1.3 MB file)
- RAG Optimization: Accurate and Efficient LLM Applications (PDF not yet available)
- Generative AI Applications: Planning, Design and Implementation (PDF not yet available)
Older C/C++ PDF Book Downloads
Various books on C and pre-modern C++ programming from the 1990s (out-of-date!):
- Comprehensive C (Spuler, 1992), Free PDF download (warning: 1.7M file) — early textbook on the pre-1999 ANSI standard C programming language (includes bonus chapter & instructor manual)
- C++ and C Debugging, Testing, and Reliability: The Prevention, Detection, and Correction of Program Errors, 1994, Free PDF download (warning: 1.3M file) — an outdated book on testing and debugging of C and C++ code.
- C++ and C Efficiency: How to Improve Program Speed and Memory Usage, 1992, Free PDF download (warning: 1.0M file) — early book on optimizing C and C++ code (outdated!).
- Enterprise Application Management with PATROL, 1999, Free PDF download (warning: 8.4M file) — an early book on application management.
- C++ and C Tools, Utilities, Libraries, and Resources: Free and Commercial Software Tools, 1995 (PDF not yet available)
Full Text Online: Generative AI in C++
Generative AI in C++: Coding Transformers and LLMs
Part I: AI Projects in C++
Chapter 1. Introduction to AI in C++
Chapter 2. Transformers & LLMs
Chapter 3. AI Phones
Chapter 4. AI on Your Desktop
Chapter 5. Design Choices & Architectures
Chapter 6. Training, Fine-Tuning & RAG
Chapter 7. Deployment Architecture
Part II: Basic C++ Optimizations
Chapter 8. Bitwise Operations
Chapter 9. Floating Point Arithmetic
Chapter 10. Arithmetic Optimizations
Chapter 11. Compile-Time Optimizations
Chapter 12. Pointer Arithmetic
Chapter 13. Algorithm Speedups
Chapter 14. Memory Optimizations
Part III: Parallel C++ Optimizations
Chapter 15. Loop Vectorization
Chapter 16. Hardware Acceleration
Chapter 17. AVX Intrinsics
Chapter 18. Parallel Data Structures
Part IV: Transformer Components in C++
Chapter 19. Encoders & Decoders
Chapter 20. Attention
Chapter 21. Activation Functions
Chapter 22. Vector Algorithms
Chapter 23. Tensors
Chapter 24. Normalization
Chapter 25. Softmax
Chapter 26. Decoding Algorithms
Chapter 27. Tokenizer and Vocabulary
Part V: Optimizing Transformers in C++
Chapter 28. Deslugging AI Engines
Chapter 29. Caching Optimizations
Chapter 30. Vectorization
Chapter 31. Kernel Fusion
Chapter 32. Quantization
Chapter 33. Pruning
Chapter 34. MatMul/GEMM
Chapter 35. Lookup Tables & Precomputation
Chapter 36. AI Memory Optimizations
Part VI: Enterprise AI in C++
Chapter 37. Tuning, Profiling & Benchmarking
Chapter 38. Platform Portability
Chapter 39. Quality
Chapter 40. Reliability
Chapter 41. Self-Testing Code
Chapter 42. Debugging
Part VII: Research on AI Optimization
Chapter 43. Overview of AI Research
Chapter 44. Advanced Quantization
Chapter 45. Knowledge Distillation
Chapter 46. Structured Pruning
Chapter 47. Early Exit and Layer Pruning
Chapter 48. Width Pruning
Chapter 49. Length Pruning
Chapter 50. Adaptive Inference
Chapter 51. Zero-Multiplication Models
Chapter 52. Logarithmic Models
Chapter 53. Arithmetic Optimization Research
Chapter 54. Ensemble Multi-Model Architectures
Chapter 55. Advanced Number Systems
Chapter 56. Neural Architecture Search
Appendices
Appendix 1: C++ Slug Catalog
Bonus Appendix: C++ Bug Catalog
Bonus Appendix: C++ Bug Symptom Diagnosis
Bonus Appendix: C++ Portability Bug Catalog
Full text online free: The full text of Generative AI in C++:
|
The new Generative AI programming book by Aussie AI co-founders:
Get your copy from Amazon: Generative AI in C++ |