2 ms·
IT-related opinion: if you gratuitously perform blocking operations (disk IO, network calls, taking locks blocked on the same) on the UI thread, in a commercial
by sershe 5y ago
IT-related opinion: if you gratuitously perform blocking operations (disk IO, network calls, taking locks blocked on the same) on the UI thread, in a commercial product that has a close button (i.e. not an ATM UI or a nuclear reactor control), you should be forever barred from doing software development for money.
If I could redesign popular OSes in god mode, blocking the UI thread for more than a few 100s of ms would crash the app with no workarounds.
I have to admit GC is a grey area...