It creates a compound literal [1] of type array of int, and initializes the specified array positions using designated initializers [2] with the results of calls to puts().
Using designated initializers without the = symbol is an obsolete extension.
When rewriting apps, people have a tendency to say: "well, Oldversion provides X. We could make a Newversion that provides X better, but that's hard so maybe X is actually bad? We should provide Y instead." Then they're confused when nobody with X needs wants to use Newversion.
It's OK to use X until Wayland has support for the missing features. I don't really care what I'm running. But it's clear that X is not in shape to see significant development (e.g. to support new needs) in the coming decades.
The number of registers available to the program is fixed in the instruction set. The program cannot address more registers without recompiling it to an extended instruction set.
Key word here being "might". What actually gets displayed is highly dependent on the performance of the program itself and will manifest as wild stuttering depending on small variations in the scene.
I've seen no game consoles that allow you to turn vsync off, because it would be awful. No idea why this placebo persists in PC gaming.
Realistically no modern consumer OS is ever at idle for long.
It's constantly monitoring WiFi signals, battery level, checking for background processes to run, and a hundred other things.
Whether CPU usage is being reported as 0% or 1% averaged over the course of a second doesn't have anything to do with poor design. It's just being rounded from values like 0.3% or 0.8% anyways.
Monitoring Wi-Fi signals is, afaik, something that happens on the Wi-Fi chip itself, not the CPU.
While you’re correct that nothing stays truly idle, the modern design is that the main CPU really does stay largely idle because of the power costs involved and instead dedicated microprocessors absorb the load when possible.
Using designated initializers without the = symbol is an obsolete extension.
[1] https://gcc.gnu.org/onlinedocs/gcc/Compound-Literals.html [2] https://gcc.gnu.org/onlinedocs/gcc/Designated-Inits.html
reply