muratori-performance-aware

Optimize C++ code using profiling, data-oriented design, and assembly inspection.

Updated Jan 24, 2026
One-click install
npx skills add https://github.com/copyleftdev/sk1llz --skill muratori-performance-aware
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: muratori-performance-aware
Source: https://github.com/copyleftdev/sk1llz/tree/main/paradigms/systems/muratori
Command: npx skills add https://github.com/copyleftdev/sk1llz --skill muratori-performance-aware

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers write code that is performant by focusing on hardware realities, avoiding unnecessary abstractions, and emphasizing measurement. It's for situations where performance is critical or understanding low-level behavior is key.

Core Features & Use Cases

  • Hardware Sympathy: Understand and leverage CPU caches, SIMD instructions, and memory layout.
  • Measurement-Driven Optimization: Profile code to identify bottlenecks before optimizing.
  • Data-Oriented Design: Structure data for efficient access patterns.
  • Use Case: Optimizing a game engine's rendering loop, a high-frequency trading system, or any application where every CPU cycle counts.

Quick Start

Apply Casey Muratori's principles to optimize the provided C++ code for better cache performance.

Frequently Asked Questions about muratori-performance-aware

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I optimize C++ code for better hardware performance and cache utilization?

To optimize C++ code for hardware performance, apply data-oriented design principles to structure data for efficient CPU cache access, and profile code to identify bottlenecks before optimizing.

What is data-oriented design and when do I need it for systems programming?

Data-oriented design is a performance optimization approach that structures data for efficient memory access patterns. It is needed for systems programming when hardware sympathy and low-level CPU cycle efficiency are critical.

How do I profile a rendering loop to identify performance bottlenecks?

Profile a rendering loop by using measurement-driven optimization techniques to identify bottlenecks before making changes, requiring direct code analysis and benchmarking to validate any performance improvements.

Can I use this approach for high-frequency trading systems and game development?

Yes, this hardware-aware optimization approach suits high-frequency trading systems and game development, emphasizing CPU caches, SIMD instructions, and memory layout to maximize performance in critical applications.

What's the best way to avoid unnecessary abstractions in performance-critical applications?

The best way to avoid unnecessary abstractions in performance-critical applications is to focus on hardware realities and measurement, using benchmarking and assembly inspection to validate optimizations rather than relying on assumptions.