Zulip Chat Archive
Stream: Zulip meta
Topic: mac app much slower than linux app?
Kevin Buzzard (Mar 22 2025 at 23:56):
Is this a known issue? Ever since 2018 I have used the Zulip app on (many) Ubuntu linux machines and have had a really good experience. I have just bought a top-of-the-range mac laptop (my first ever apple machine) and the Zulip app is manifestly worse; it is really laggy. I have installed no other software on the mac other than VS Code, Lean (+git, curl) and the Zulip app and I have 48 gigs of ram. Is this a known issue or have I set things up wrong? Typing is laggy (typing is not a smooth experience with constant small pauses), switching between channels/topics is laggy (typically 5 seconds pause if I click on a new channel), everything is just more sluggish than my experience on ubuntu which was second to none. The system I'm having trouble with is:
"Macbook Pro 16 inch"
Processor Type: M4 Pro Chip
Hard Drive / Storage Size: 2TB
Display Size (inches): 16
Memory Size (GB): 48
Display Option: Standard glass
Colour: Space Black
processor: Apple M4 Pro Chip with 14-core CPU and 20-core GPU (1)
Kevin Buzzard (Mar 23 2025 at 00:14):
I'm now trying Zulip via a browser (safari) and my experience is back to being exactly what I would expect from Zulip: fast and responsive.
Julian Berman (Mar 23 2025 at 13:17):
I have never used the app -- but perhaps a first thing to check is to confirm you ran the native ARM app and not the Rosetta one? How did you install it Kevin?
Kevin Buzzard (Mar 23 2025 at 17:43):
I googled something like "install Zulip app", found myself at https://zulip.com/apps/mac , and clicked the big button saying "Download Zulip for MacOS" because I didn't understand the thing in small letters saying "or download Apple silicon native build" underneath, and all I know about my new computer is what I posted above and nothing there mentioned the word "silicon". I was then faced with some kind of weird sliding block puzzle where I had to drag a Z into a folder and then it seemed to be installed.
Kevin Buzzard (Mar 23 2025 at 17:45):
Other words I don't understand in this context are "Arm" and "Rosetta" (neither of which are in the description above of my laptop), I know absolutely nothing about the Mac ecosystem.
Shreyas Srinivas (Mar 23 2025 at 17:45):
A couple of things:
- I suggest trying out the apple silicon native build. It’s likely to work faster, though I don’t know why that isn’t the most prominently displayed option.
- The “drag a Z into a folder” step is basically how downloaded apps are “installed” in mac
Kevin Buzzard (Mar 23 2025 at 17:46):
Yeah I guess this would be a sensible attempt to fix this. I'll google for how to uninstall an app :-)
Shreyas Srinivas (Mar 23 2025 at 17:47):
Just delete it from the application folder
Kyle Miller (Mar 23 2025 at 17:48):
I had no idea that there was this other Zulip to install. This is a lot snappier.
Kevin Buzzard (Mar 23 2025 at 17:57):
Yeah thanks a lot, this has completely solved the problem. In fact to be honest this whole experience has been very weird. I bought this new mac, I installed Lean and Zulip, and then I tried using Zulip and it was terrible and I thought "oh my goodness, this was supposed to be an upgrade, what have I done with over £2000?". But in fact it looks like I just installed the wrong app. It only slowly started dawning on me that the problem was not with the mac when I realised that my VS Code experience was perfect.
To the Zulip devs, I don't know the first thing about macs but I just bought a new mac laptop, went to https://zulip.com/apps/mac , and clicked the big button to install the app on the basis that I knew exactly what the description and specs of my new machine were and none of the words used in the small print on the website were in the description of the machine. Turned out I made a terrible choice.
Kevin Buzzard (Mar 23 2025 at 18:01):
The only reason I knew that something was wrong was because I'd got extensive experience of the app on Ubuntu which is really snappy.
Julian Berman (Mar 23 2025 at 18:13):
Yes I definitely am not sure why the silicon build is in small letters it almost tricked me as well when I went to open the page.
Julian Berman (Mar 23 2025 at 18:14):
But also Kevin, the right way to install things is with a package manager :) -- so brew install zulip
probably would have given you the right thing as well.
Shreyas Srinivas (Mar 23 2025 at 18:34):
I wouldn’t recommend brew to anybody who doesn’t have some comfort and proficiency with CLI
Kevin Buzzard (Mar 23 2025 at 18:39):
I have 35 years of CLI experience -- is that enough? I have brew installed already, in fact I installed Lean following the instructions on the Lean website and it tells you to install brew first.
Jireh Loreaux (Mar 23 2025 at 18:39):
Julian Berman said:
with a package manager
In fairness, that's what the App Store is, but Zulip apparently doesn't register their app with it. Of course, brew
is fine too.
Kevin Buzzard (Mar 23 2025 at 18:39):
When I started using computers, there was only the command line ;-)
Julian Berman (Mar 23 2025 at 18:39):
My minimum is typically 34 so yes you squeaked over the line.
Shreyas Srinivas (Mar 23 2025 at 18:42):
@Kevin Buzzard : ofc you are a proficient CLI user. This is for just for the non trivial number of Mac users who are not.
Julian Berman (Mar 23 2025 at 18:43):
Jireh Loreaux said:
Julian Berman said:
with a package manager
In fairness, that's what the App Store is, but Zulip apparently doesn't register their app with it. Of course,
brew
is fine too.
(Yes I'm saying "don't click on buttons on websites and drag things from dmgs")
Kevin Buzzard (Mar 23 2025 at 18:45):
OK thanks, I will not play any more sliding block puzzle games.
Julian Berman (Mar 23 2025 at 18:49):
Since we're outside of Lean territory already, if you want to be nice and buttoned up about it, make a file like this: https://github.com/Julian/dotfiles/blob/main/Brewfile where each line says brew "something"
and is a thing you want to install, and then if you ever switch machines you get everything you want to install by running brew bundle install
and you're done.
Julian Berman (Mar 23 2025 at 18:49):
But now I'll stop evangelizing :)
Kevin Buzzard (Mar 23 2025 at 19:22):
I uninstalled, out of interest, and reinstalled via brew
. I still can't start up the app by typing zulip
, in contrast to my experience with Linux, but I seem to have the good version for my laptop with this approach.
Kevin Buzzard (Mar 23 2025 at 19:23):
I think the message on the Zulip website should say "Using a macbook pro? Click here! Using a [whatever version the big button works best for]? Click here instead!" or something.
Kyle Miller (Mar 23 2025 at 19:23):
I think you can type open -a Zulip
@Kevin Buzzard
Kyle Miller (Mar 23 2025 at 19:24):
(at least I can)
Kevin Buzzard (Mar 23 2025 at 19:24):
I think that having a big button and then a smaller link with some technical words will just mean that everyone who doesn't understand the technical words will press the big button and in my case that resulted in a highly degraded experience. But most people can be expected to know the basic facts about which device they're using (indeed earlier today I was using a Windows maching and had no idea if it was Windows 10 or Windows 11 but google easily told me how to find out).
Jireh Loreaux (Mar 23 2025 at 19:34):
Kevin Buzzard said:
I still can't start up the app by typing
zulip
, in contrast to my experience with Linux
Kevin, if you want a fun learning experience, find the Zulip app (or any app really) with the Finder, right-click (or Ctrl+click) and select "Show Package Contents". This gives you some idea how much Apple likes to obfuscate what the OS is doing. It's also why open -a Zulip
is necessary, as the binary for the app really does live inside (the folder disguised as an application) /Applications/Zulip
and there is no symlink at the location /somewhere/on/my/path/zulip
. I left Apple 15 years ago because of this proclivity to obfuscate and to prevent me from actually managing my machine (don't get me started about how the root user isn't really a superuser :mad:).
Alex Vandiver (Mar 24 2025 at 14:21):
We can apparently maybe get the host architecture using:
await navigator.userAgentData.getHighEntropyValues(['architecture'])
...but only on Chrome and Edge. Which is understandable, since it's kinda sketchy. But doing that guess when we can is certainly better than not using it.
Julian Berman (Mar 24 2025 at 15:35):
Even on FF (i.e. regardless of whether you can sniff it from the browser) I think showing the silicon build seems like the better default at this point, no? Intel macs haven't been around for quite awhile.
Alex Vandiver (Mar 24 2025 at 15:41):
I think we need to show it more prominently regardless, yes.
Alex Vandiver (Mar 24 2025 at 15:41):
There's a tension for if we should be feature a thing that runs slowly if it's the wrong version, or a thing which doesn't run at all.
Bryan Gin-ge Chen (Mar 24 2025 at 16:54):
I know nothing about macOS app development but I wonder if it's also possible for the Intel version to detect if it's being run in Rosetta and suggest downloading the other version if so.
Alex Vandiver (Mar 24 2025 at 19:51):
Yeah, we're discussing that here.
Last updated: May 02 2025 at 03:31 UTC