If Slack's desktop client was written in efficient C++ using platform specific UI framworks it would likely be one to two orders of magnitude more efficient across all important metrics. Unfortunately the desktop app is basically an entire web browser instance running JavaScript code.
I can see the appeal, however. Write once run anywhere is a hell of a drug.