3 ms·
> So correct UI applications cannot call any blocking function from their main threads. Author is redefining "correct" to mean "has the property I care about,
by tantalor 3y ago
> So correct UI applications cannot call any blocking function from their main threads.
Author is redefining "correct" to mean "has the property I care about, which in this case is performance".
There are many desirable distinct properties of a computer system: correctness, performance, security, etc.
"Correct" usually means something like "gives the right answer". It has nothing to do with performance.
- cobbal 3y agoIn my experience, "Correct" means "satisfies a specification". The specification is often about the final result, but it's not limited to it.
- anonymoushn 3y agoFor a game like Street Fighter, you can present to someone the time at which the first frame begins and all of the input events within the game and they can calculate the unique game outcome that results. It's a bit embarrassing that we cannot have the same property in applications that we interact with using our keyboards all day, and we must constantly look at them to see if they are behaving as if we have sent the inputs we have sent.