TGViewer
C++ - Reddit C++ - Reddit @r_cpp · 229 subscribers
Post #24719 25
Cache Explorer: a visual and interactive profiler that shows you exactly which lines of code cause cache misses

Built a visual cache profiler that uses LLVM instrumentation + simulation to show you exactly which lines cause L1/L2/L3 misses in your C and C++ code (Rust support in active development).

* Hardware-validated accuracy (±4.6% L1, ±9.3% L2 vs Intel perf)
* Source-level attribution (not just assembly)
* False sharing detection for multi-threaded code
* 14 hardware presets (Intel/AMD/ARM/Apple Silicon)
* MESI cache coherence simulation

It's like Compiler Explorer but for cache behavior, providing instant visual feedback on memory access patterns. MIT licensed, looking for feedback on what would make it more useful or even just things you like about it.

[**GitHub**](https://github.com/AveryClapp/Cache-Explorer)

https://redd.it/1qqgf5u
@r_cpp
GitHub GitHub - AveryClapp/Cache-Explorer Contribute to AveryClapp/Cache-Explorer development by creating an account on GitHub.
More from @r_cpp
  1. Oct 8, 2026Henrik Fransson: From Prompt to Probe - Closing the Agentic AI Loop on Bare Metal https://…
  2. Oct 7, 2026(Imperfect) Emulation of Rust's borrow checker in C++23 with Clang Extensions https://comp…
  3. Oct 7, 2026Escaping `CreateProcess()` arguments on Windows https://holyblackcat.github.io/blog/2026/0…
  4. Oct 7, 2026flat_map internals https://quantdev.blog/posts/flat-map-internals/index.html https://redd.…
  5. Oct 7, 2026New C++ Conference Videos Released This Month - September 2026 C++Now 2026-08-31 - 2026-09…
  6. Oct 7, 2026Jean Frantz René: C++ Memory safety for safety-critical and non-safety critical applicatio…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →