News for hackers. Stuff that matters.
Re:When a rewrite isn’t: rebuilding Slack on the desktop by msbarnett on Monday July 22, 2019 @03:22PM (#20501387)
Too high compared to similarly featured (or even more full featured) programs built on other technologies.

3% on an Electron chat app here, 5% on an Electron text editor there, and pretty soon you’ve managed to replace what could’ve been several apps with small memory footprints plus several gigs of efficient file caching in a users’ RAM with just a few bloated programs crowding out the cache, and made their entire machine considerably less responsive.

Re:When a rewrite isn’t: rebuilding Slack on the desktop by harryh on Monday July 22, 2019 @03:33PM (#20501492)
If someone is running so much stuff that an app (or a few apps) using ~250MB of ram instead of ~100MB (or whatever) of ram is a huge problem they can easily spend $200 or so for an extra 8GB of ram.

Ram is cheap. Usage at this scale just doesn't matter to the vast majority of users.

Re:When a rewrite isn’t: rebuilding Slack on the desktop by msbarnett on Monday July 22, 2019 @04:12PM (#20501871)
Aside from the obvious issue that a ton of devices don’t have user upgradable RAM, are we really this comfortable with feeding constant consumerist abandonment of old devices through our own sheer laziness as developers?

“It only uses 8% of 8GB of RAM. If that’s an issue consumers can buy more RAM or throw away their devices and buy new ones” is soon phrased as “It only uses 8% of 16GB of RAM. If that’s an issue consumers can buy more RAM or throw away their devices and buy new ones” and soon after etc, etc

At some point, preferably before we start saying “it’s just half a terabyte of RAM to run a chat app”, we may want to step back and question this circular justification for ever increasing bloat and ask ourselves when enough is enough. There’s been no real gain in functionality in the past 10-20 years of chat app churn, just an enormous explosion in RAM and CPU requirements.

Re:When a rewrite isn’t: rebuilding Slack on the desktop by harryh on Monday July 22, 2019 @05:13PM (#20502379)
If there has been no real gain in functionality, then why is Slack hugely popular while IRC is used by almost no one?

Perhaps you aren't giving credit to functionality that is important to people other than yourself?

Re:When a rewrite isn’t: rebuilding Slack on the desktop by msbarnett on Monday July 22, 2019 @09:52PM (#20503824)
> If there has been no real gain in functionality, then why is Slack hugely popular while IRC is used by almost no one?

The main, really only, features that Slack has that IRC doesn’t is easy account onboarding and (crucially, for business) offboarding, and persistent messaging. This has been discussed to death, publicly, by organizations like Mozilla. They were also smart enough to offer themselves for free to startups, which largely undermined hipchat, which had the same basic value proposition over IRC, and allowed them to build a hip reputation and network effects in the startup crowd.

Are we really going to pretend that those features are why the Slack client consumes tons of RAM and a fuckload of CPU cycles? They’re entirely server side, for christ’s sake.

ICQ could do all of the above on a 32 Meg Mac 20 years ago. The bloat isn’t related to the reasons it “won”, or why it continues to be popular. Network effects, the fact that if your company mandates it you have no alternative, simply insulates them from suffering many ill-effects of their bloated, laggy client software.

Re:When a rewrite isn’t: rebuilding Slack on the desktop by harryh on Monday July 22, 2019 @09:56PM (#20503836)
Lots of different chat software had easy onboarding & offboarding as well as persistent messaging before Slack and none of it was successful in the same way.
Re:When a rewrite isn’t: rebuilding Slack on the desktop by msbarnett on Monday July 22, 2019 @10:07PM (#20503883)
Like I said, networking effects and currying a hip reputation are a huge part of why I think they got big. In large part nothing about what makes them big strikes me as technical in nature.

But sure, ok, so let’s hear your theory on why they got big and how it requires all of this client side RAM usage. So what is it?

Re:When a rewrite isn’t: rebuilding Slack on the desktop by skolsuper on Tuesday July 23, 2019 @12:00AM (#20504305)
IME Slack at big companies has mostly been a ground-up initiative by engineers that were sick of important discussions happening in long email chains. It's strange to read that network effects or entrenchment made Slack so huge when 5 or 6 years ago they didn't exist :/
Re:When a rewrite isn’t: rebuilding Slack on the desktop by msbarnett on Tuesday July 23, 2019 @12:12AM (#20504334)
IME as an engineer who’s been around the block, before Slack we were using Hipchat, and before that Jabber or IRC. I have not noticed a significant change in features (gifs, bots, integrations were all there through all of those), just changing fads, but by god if the performance and responsiveness of the chat client de jour hasn’t been steadily declining over time.

Mostly what drove orgs I’ve been with from one to another has been pricing (Slack having a free tier ate Hipchat’s lunch, like I said), and “buzz”. Slack was the hip thing to get on in 2013.

Re:When a rewrite isn’t: rebuilding Slack on the desktop by snazz on Monday July 22, 2019 @05:58PM (#20502694)
Extra features aren't the reason why Slack is so huge.
Re:When a rewrite isn’t: rebuilding Slack on the desktop by harryh on Monday July 22, 2019 @06:03PM (#20502725)
What is the reason?
Re:When a rewrite isn’t: rebuilding Slack on the desktop by illuminati1911 on Monday July 22, 2019 @09:19PM (#20503716)
You could make a pile of shit popular if you had similar access to Silicon Valley funding and marketing machines.
Re:When a rewrite isn’t: rebuilding Slack on the desktop by ben509 on Monday July 22, 2019 @03:52PM (#20501670)
Of course, if Slack thought this were true, they wouldn't have bothered with this rewrite.

Obviously no PM is going to tell customers, "just spend $200 for another 8GB of RAM to run our chat software."

> Usage at this scale just doesn't matter to the vast majority of users.

The usage model is that it's on all the time. So if it's draining batteries, causing paging or otherwise slowing things down, people are going to quit Slack, thus defeating the immediacy of communication, thus defeating the point of running Slack.

And Slack becomes powerful when it can be required by a workplace, which is their business model. This means the "vast majority" isn't enough at any given company.

Re:When a rewrite isn’t: rebuilding Slack on the desktop by tjoff on Monday July 22, 2019 @05:53PM (#20502658)
Yeah, yeesh. So I'm in the market for an ultrabook and eventhough I had 8 GB of ram in my desktop over a frigging decade ago there still exist laptops with less than 16 GB today. Not only that, the cheapest 16 GB model is over a $1000 more expensive because now I must have an i7 and everything else.

And no, not even with 16GB will I tolerate what slack uses even with their new version.

Yes, I do consider upgrading the ram myself by replacing the soldered ram-chips. And do not for a second imagine I'm doing that so that I can send text messages@!

Re:When a rewrite isn’t: rebuilding Slack on the desktop by harryh on Monday July 22, 2019 @06:12PM (#20502779)
The difference between an 8GB macbook air and a 16GB maxbook air is $200, not $1000.

Lot's more options in PCs obviously, but 2 minutes of googling found a 16GB XPS13 $580 more than the 8GB version. Again, not $1000. I'm sure with slightly more searching there are cheaper options as well.

Re:When a rewrite isn’t: rebuilding Slack on the desktop by tjoff on Monday July 22, 2019 @06:28PM (#20502885)
Yeah, as said the problem isn't just the ram price it's whatever else you might need to buy to get it. But 580 is also pretty darn depressing for 8GB.

For reference I bought 64GB for my workstation for less than $400 a few years ago. And that's with 25% sales tax.

Re:When a rewrite isn’t: rebuilding Slack on the desktop by dijit on Tuesday July 23, 2019 @02:41AM (#20504903)
This isn’t a fair comparison.

Desktop memory is cheaper, laptop manufacturers are rent seeking with upgrades normally, and with soldered memory they have free reign.

It’s true that often the upgrades are bundled, ie; can’t get 16GiB without an i7. But I think that’s fairly rare at least.

As for 16GiB, there’s a hard limit there for LPDDR3, and intel CPUs do not support LPDDR4 yet.

Oh, and another thing regarding cost, there were some issues a long time ago with the factories producing them, which is why the price is still high, maybe artificially.

https://www.vice.com/en_us/article/wnxb35/the-year-that-the-...

Re:When a rewrite isn’t: rebuilding Slack on the desktop by tjoff on Tuesday July 23, 2019 @03:49AM (#20505149)
Wasn't meant to be an apple to apple comparison. Just a reference. But it does kind of illustrate just how bad of a fit electron apps are.

Well, the biggest point of soldered ram has always been to be able to recoup costs by denying people to buy ram from someone else.

Even in the old days it was much cheaper to buy 2 GB of ram and then upgrade to 4 GB than buying it with 4 GB in the first place.

Re:When a rewrite isn’t: rebuilding Slack on the desktop by ebg13 on Monday July 22, 2019 @04:03PM (#20501771)
> Ram is cheap

RAM is cheap...and not upgradeable on the majority of devices in the world.

Re:When a rewrite isn’t: rebuilding Slack on the desktop by SkyMarshal on Monday July 22, 2019 @03:51PM (#20501654)
Agree in principle, but available Ram real estate (slots) is limited, esp in mobile.
Re:When a rewrite isn’t: rebuilding Slack on the desktop by thecopy on Monday July 22, 2019 @03:51PM (#20501652)
My RAM is soldered on.
Re:When a rewrite isn’t: rebuilding Slack on the desktop by thenewwazoo on Monday July 22, 2019 @03:58PM (#20501724)
RAM is cheap but slow, and CPU cache is precious.