Y
Hacker News
new
|
ask
|
show
|
jobs
by
cautionarytale
2931 days ago
Put the computationally expensive task in its own process, and have the UI monitor it as needed as part of its event loop.
(That won't work in every case, but it should be thoroughly considered first.)