I personally haven't really encountered performance issues running discord
I've been in the Go community for a while and they had to write a bot to get access to it (as Slack works invite only) and iirc had to work with Slack engineers to work with the scale they had. Meanwhile Discord's success is down to it being open, anyone can create a new channel and get instant access to things like voice chat.
Of course, this has its downside, and I'm sure Slack deals with a lot of abuse, ranging from porn to doxxing to it being used as a C&C server.
Windows isn't beating out Linux in the desktop space because Linux is awful. Network effects are much more significant.
I hate the Discord UI/UX as well (e.g.: sluggish add hell; need to press a few specific pixels on mobile to show the mute button and other controls that automatically fade out if you don't touch them for 2 seconds) but apparently what they do well is filtering out super loud eating noises, or that's what a friend said when I asked them to mute when they were eating crisps with the mic pointed directly at it as well as blowing on the mic with every breath. Apparently they never got complaints doing that on Discord
I feel like an old person when muttering something about mute button etiquette to myself while writing this comment. If machine learning can fix that (if it doesn't require proprietary datasets from storing millions of peoples' conversations), I should let it ^^'