News for hackers. Stuff that matters.
Re:Creating a Slack app that uses fewer resources by masklinn on Sunday October 11, 2020 @07:00AM (#24744947)
> In this screenshot, this app is using 286MB of memory and the official Slack app is using 200MB, how is this better?

Yes not sure where they got the 1.2x ratio in their favor, although if we're only rounding to the nearest unit the official slack uses 220MB, not 200.

TBF the machine has plenty of memory available, so trading some memory for less CPU time, less GPU time, better idling and faster startup seems… a pretty good tradeoff.

The one thing I'm doubtful of is whether the official slack application really does nothing but wrap the webapp with no additional functions?

Re:Creating a Slack app that uses fewer resources by sriku on Sunday October 11, 2020 @08:49AM (#24745427)
> the machine has plenty of memory available

On my MacBookAir with 4GB of RAM, Gmail+GCalendar+Slack+GChat+Trello+Docs is enough to put memory pressure on the system. Gmail+Calendar alone end up taking up 1.5-2GB after a while. No respect for memory.

Re:Creating a Slack app that uses fewer resources by devwastaken on Sunday October 11, 2020 @11:27AM (#24746426)
No one should subscribe to building software for a purposefully underpowered and outrageously overpriced computer. You have the responsibility to have better hardware than a 2005 pc.
Re:Creating a Slack app that uses fewer resources by nemothekid on Sunday October 11, 2020 @10:05PM (#24750800)
You think 4GB was anywhere near common for a 2005 PC?
Re:Creating a Slack app that uses fewer resources by anaisbetts on Sunday October 11, 2020 @08:13AM (#24745255)
It does not - the Slack app injects extra APIs into the DOM, and the Slack webapp recognizes it's being loaded in the Desktop app and adds additional functionality (the Downloads pane for example)