News for hackers. Stuff that matters.
Re:Show HN: BetterSlack – A Chrome extension to make Slack b... by brobdingnagians on Monday August 27, 2018 @09:32AM (#17851382)
Hmm, looks like Discord backend is built on C++/Elixir/Erlang[1], and Slack is built on a scripting language. I think people underestimate the difference in scalability and UX with something like this that handles lots of small packets.

[1] https://www.reddit.com/r/discordapp/comments/3q62hw/on_what_...

Re:Show HN: BetterSlack – A Chrome extension to make Slack b... by fb03 on Monday August 27, 2018 @11:13AM (#17851961)
I am sorry, I was actually talking about the Front UI, and both use JS (and Electron on the desktop) iirc.

Slack gets choppy (almost down to typing lag!) pretty quickly on a middle-tier Android phone and with Discord, it keeps snappy no matter what.

I'd say that Discord is the actual Slack killer today.

Re:Show HN: BetterSlack – A Chrome extension to make Slack b... by lwansbrough on Monday August 27, 2018 @12:26PM (#17852403)
Discord is bigger than Slack, so I’d say that may already be true.

The secret to their app’s speed is using native components inside their React Native app. The chat UI (messages and input) for instance (IIRC) is native.

Re:Show HN: BetterSlack – A Chrome extension to make Slack b... by semi-extrinsic on Monday August 27, 2018 @01:19PM (#17852818)
""" Now, local news:

In what's being hailed as "the Xzibit pattern", SV app devs seeking to lower UI latency towards the level of a late-90's IRC client have made a discovery that has the Valley buzzing. As one dev we talked to explained, "we started putting native in your native, bro, and it's awesome! I can type on my phone smooth, it's like the app's running on my 16-core workstation!" Other devs have been overheard in coffee shops explaining software written in C++ as "native all the way down".

More on this developing story when we return, right after this commercial break.

"""

Re:Show HN: BetterSlack – A Chrome extension to make Slack b... by notamy on Monday August 27, 2018 @02:49PM (#17853409)
iirc the Android app is actually native (not React Native), which may explain it. See https://blog.discordapp.com/why-discord-is-sticking-with-rea...
Re:Show HN: BetterSlack – A Chrome extension to make Slack b... by qmarchi on Monday August 27, 2018 @01:56PM (#17853047)
On the desktop (Windows, macOS, and Linux) they use Electron. For Android it's written in Java (Native), and for iOS it's written in React Native.
Re:Show HN: BetterSlack – A Chrome extension to make Slack b... by aidos on Monday August 27, 2018 @10:43AM (#17851775)
Many of the complaints regarding slack are about the interface, not the backend architecture.
Re:Show HN: BetterSlack – A Chrome extension to make Slack b... by robotmlg on Monday August 27, 2018 @12:28PM (#17852416)
Slack's messaging backend is Java (at least it was in 2014): https://twitter.com/SlackHQ/status/426469205005705217
Re:Show HN: BetterSlack – A Chrome extension to make Slack b... by sbilstein on Monday August 27, 2018 @02:28PM (#17853250)
The pubsub for live connections and socket events is Java but everything else is PHP. The Java mostly tries to federate stuff from PHP to clients and doesn't write or read directly to the primary store. I used to work at slack.