Ask HN: Why does Slack App on macOS drain 3GB of memory?
41–50 of 64 posts
Re: Ask HN: Why does Slack App on macOS drain 3GB of memory?
#42Electron is cancer
Re: Ask HN: Why does Slack App on macOS drain 3GB of memory?
#43Earlier quoted context omitted.
We've been making the rounds over all the options over and over again for planning a new app, and we always reluctantly come back to Electron. Qt? No mobile, slower development. Java? No mobile, deployment nightmare, Oracle cooties, and often just as heavy as Electron. Native UI? Out of the question. We don't have anywhere near the resources to develop our app four to five times, implement every new feature four to f…
https://www.qt.io/mobile-app-development/
Also C++ is not really the best option. I code systems software in C++ but for UI dev it's not quite productive enough. I've worked with large Qt code bases before and no thanks. I suppose if they've modernized it and incorporated C++11 features it might be more bearable, but in the past it was a pretty awful mess of raw pointers and ownership semantics bugs and very very long compile times.
Re: Ask HN: Why does Slack App on macOS drain 3GB of memory?
#44to be fair, this is not an electron issue as vscode runs fine on all platforms. I don't really want to bash the devs but... Maybe they should take a look at it.
Re: Ask HN: Why does Slack App on macOS drain 3GB of memory?
#45104 MB at the moment. For me at least, Slack really got their shit together sometime last year and improved the issue significantly. I still remember having to restart Slack twice a day, but it ain't issue anymore.
Re: Ask HN: Why does Slack App on macOS drain 3GB of memory?
#46This is what you get when you use a full-blown web browser for a simple messaging app.
Re: Ask HN: Why does Slack App on macOS drain 3GB of memory?
#47to be fair, this is not an electron issue as vscode runs fine on all platforms. I don't really want to bash the devs but... Maybe they should take a look at it.
It, and every JS/Desktop hybrid has so much promise, but my Lord, as a proficient JavaScript junkie that has a deep abiding love for the language, it's not performant.
I just can't use either Atom or VS Code for day to day work.
PS, Sublime, please support some form of JS plugins, even if that means limiting the API for JS plugins.
Re: Ask HN: Why does Slack App on macOS drain 3GB of memory?
#48I quickly abandoned the slack "App", but even dedicating a chromium tab to Slack ended up being absurdly heavy. So I've finally migrated to weechat+weechat slack plugin. For a moment I thought I was too late, as slack is killing the xmpp and irc bridges - but the dedicated slack plugin for weechat uses the slack api. As an added bonus, there are no more animated emojis in my peripheral vision that can be mistaken for…
I don't have a horse in the slack/xmpp race (although I do hope open standards win out) but if they have a public API which lets you do all that, would it be easy enough to build an XMPP gateway?
Re: Ask HN: Why does Slack App on macOS drain 3GB of memory?
#49Electron is cancer
We've been making the rounds over all the options over and over again for planning a new app, and we always reluctantly come back to Electron. Qt? No mobile, slower development. Java? No mobile, deployment nightmare, Oracle cooties, and often just as heavy as Electron. Native UI? Out of the question. We don't have anywhere near the resources to develop our app four to five times, implement every new feature four to f…
Re: Ask HN: Why does Slack App on macOS drain 3GB of memory?
#50Sounds like Slack doesn't have any type of performance testing as part of their release cycles.