| ▲ | vlovich123 2 days ago |
| Hate to break it to you but windows gui programming, emblemified by VS6, is about as far away from a blocking threaded model as you get. You literally have a UI event loop and any compute intensive work is meant to be offloaded to other threads via messages/COM. This is why when they failed to do that correctly the entire UI would lock up - because they didn’t have good hygiene around how to offload compute intensive operations that also interacted with the GUI. You’ve literally argued against yourself without realizing. |
|
| ▲ | groundzeros2015 2 days ago | parent [-] |
| Wait which programming model are you arguing is the low latency one? I thought you said it was JS because non-blocking. |
| |
| ▲ | vlovich123 19 hours ago | parent [-] | | Event loops are also non blocking. That’s literally why JS is non blocking. But event loops and callbacks are extremely hard to scale and maintain and keep non blocking. That’s why async/await is a more powerful abstraction - you don’t pretend I/O is this blocking thing, you interleave other work while it’s being done, and you don’t get impossible to follow callback hell. VS6 suffered from non responsive hangs all the time because some developer forgot to offload something that turned out to be compute heavy under certain conditions. | | |
| ▲ | vlovich123 15 hours ago | parent [-] | | Also, the parts they couldn’t make non-blocking (eg file reads) were precisely where VS6 would shit the bed and hang the entire UI trying to open a large file. |
|
|