89 points · by ingve · 4y ago · 141 comments
I am sort of starting to maybe substitute Scrivener for it. Which is a super-amazing native app designed for writers that sets a pretty high bar for anyone who wants to "continue to improve writers’ workflows in the coming decade and innovate in that space".
Most of the apps I've installed on my Mac lately are to change the way the OS behaves, to be honest. Like, Bartender is useful and makes dealing with all the little utilities that want to live in the menu bar a lot easier. I'm an artist and Illustrator is my main medium; Time Sink's tracking tells me that I've spent about 3.3 days in Illustrator so far this year, and 9.5 days in Safari, and everything else is measured in hours and kinda looks like a rounding error compared to those two apps.
The pdf reader scenario is just one of many cases the desktop on other OS's became a vector to spread ads while the linux has only improved over time. Considering the popularity of android, it has the same problems as windows in terms of apps being just a way to spreads ads; fortunately f-droid saves me from these.
So, I hope things will continue to improve on the FLOSS desktop. Hope it brings more users too.
With regard to the electron apps... With 4 cores and 8GB of RAM, I really don't care that much about the performance loss. It feels a bit inconsistent sometimes, but I like to know that I'm using the same app as my colleagues on other OS's.
What’s shocking to me is how bad first party software is getting. Acrobat DC kills the battery on my MBP doing, among other things, constantly running some cloud updater thing. It’s worse at browsing PDFs than a decade ago. Same thing for Outlook. They’ve started integrating a bunch of web technologies into it. It actually has less features now than before (tasks and notes redirect you to the website).
And I don’t just mean that the latest version is slower on older hardware. It’s vastly slower on current hardware than the old versions were on the hardware that was contemporary at the time. My work machine is a ThinkPad i7 that boosts to 4.2 GHz. Just hitting Win-Right to snap Outlook to one half of the screen causes it to visibly spasm.
Native Mac dev on the other hand is another matter. The situation has improved some since then, but it's not too different from when I picked up Objective-C + Cocoa/AppKit back in the early-mid 00s, where nearly all instructional material came in the form of print or random tidbits scattered across various developer blogs.
It's not like people are developing using their mobile device. I'm sure the online docs are assumed to be read by people on a non-mobile device. I can't imagine trying to read docs on mobile while banging out code on a laptop. Seems pointless, especially if the docs have links for downloading something or what not.
https://skim-app.sourceforge.io/
(For Windows there is SumatraPDF: https://www.sumatrapdfreader.org/free-pdf-reader)
It's good.
So the endgame is probably resigning to having lousy non-native software until/unless there once more comes a time with a single dominant/monopoly platform where people just make a single native app for everyone.
Call it 2factorpass or soemthing.
Also at WWDC 2021 there were a few Objective-C talks.
> The Web is far more stable than native UX widgets, breaks less often nowadays
I got a good laugh on those fibs.
Objective-C isn't going anywhere, and AppKit has been mostly unchanged for longer than nearly any front-end framework you can name has existed.
• rcmd for faster app switching (https://lowtechguys.com/rcmd)
• Lunar for adaptive brightness on monitors so I can stop fussing with monitor buttons (https://lunar.fyi)
• Soulver for converting between units/currencies and testing math formulas
• Cleanshot for annotating screenshots (because showing people what button to press to solve their issue is faster than explaining it in words)
• TextSniper for copying uncopyable text
• HyperKey for turning that useless caps lock key into some kind of global modifier
• NotePlan for writing stuff down while still being able to back reference it by day
• MateTranslate for super fast menubar language translation
I guess I have a bit of compulsion to always make my every day work more efficient, while in fact I spend quite a lot of time testing these new apps and readjusting my workflow for them.
Now I feel that they’re an essential part of my workflow, and I feel like everyone’s life would be better if they’d use them.
But actually I have mostly met people who, like the article author, rarely get out of their work routine and don’t need more apps because they don’t encounter new annoyances.
Slack, for example, can be absolutely ridiculous.
Unfortunately the companies behind these apps have elected to not allow users to make this choice, so once Universal Control is released these apps will be permanently moving to my iPad.
To clarify the situation for any unaware readers, you can indeed run iOS/iPad apps on M1 Apple Silicon devices however not all. From memory, the policy was actually that everything was allowed to be installed by default with developers having to opt out of allowing users to install their iOS/iPad apps on macOS devices.
There used to be workaround that may still work, but I haven't tried it in some time. You can use https://imazing.com (you'll just have to look past the marketing site for a minute...) to download apps you own as IPA files. Once you've got those, you can use the built-in macOS IPA installer to install those apps, even if developers have marketed them as not installable via the App Store.
https://www.theverge.com/2020/11/18/21574207/how-to-install-... for a bit more info on the process
VSCode is slower than Emacs/Vim at e.g. syntax highlighting a large file by a factor of three. It’s slower on a search and replace by a factor of seven. It’s slower than those editors by about the same ratio as Atom is slower than VSCode.
I can't say search and replace has ever taken a noticeable amount of time for me, on all my projects and devices it's perceptually instsnt, unless I'm doing a project wide search and forgot to exclude node_modules or something, a performance problem vim avoids by... not having project wide search.
I sped up the RegEx in my application earlier by an astounding 99.92% on average. I run several dozen various RegEx on a string once every few seconds - sometimes even slower. Execution for the end users already _appeared_ near instant and after the improvements it... doesn't feel any faster for the end users. Because the efficiency of my RegEx doesn't really matter at the rate strings are being parsed and for the small size of the strings (<150 characters often in the 30-50 range).
Electron as a UI layer is hands-down excellent.
But that doesn't mean I want to be running performance critical code in JS. Electron supports native addons just fine (and can call out to c/c++ fairly easily), but most companies don't take advantage of it.
Hell - Slack goes from like 40% of my CPU to less than 1% if I just disable emoticon images (seriously - preferring the plain text over the rendered GIF make an INSANE difference in how crappy it is).
You might have the best developers around but using electron will always make your app worse. It bundles all of chromium which is an outrageous waste of space. Chromium in itself is really ram intensive and the new contributions of Microsoft edge to chromium aren’t even added there anyway.
If you need a web front end make a progressive web app and use web assembly technology. Or use a lighter framework like neutralino or tauri JS. You do not need to bundle chromium in every single application.
We have a cross platform GUI app at work which is just a library that wraps the native GUI (Win32/X11 calls). The core interface is basically maintained by one person, but these tech companies seem to struggle with teams and teams of people working on their (say) Slack desktop apps.
I'd rather use one of the flock of old Scintilla editors.
What did they get right that everyone else fails to?
Most Electron apps are cost cutting measures and this is reflected in the quality of their teams and the priorities of the company. They’re made to check a box, not to be good.
As long as you never quit VSCode it’s pretty snappy.
So why is Microsoft Teams so terrible?
They moved it from Electron to Edge WebView2 on Windows, and said doing so would cut memory usage in half.
https://blog.thoughtstuff.co.uk/2021/06/electron-to-webview2...
You can run that old software in an emulato if that's all you want. And abandonware is free.
Sure, the average developer will target the bigger slice of the pie. But as a user, I don't give a damn about the average developer, I only care about the very best software I can get. And the few developers that targeted MacOS benefitted from having very loyal customers that appreciated high quality software.
You could write a combination of Photoshop, Microsoft Office, and AutoCAD, and put it on the iOS app store for $2.99 and people would complain about the price.
Native Mac apps tend to require recompile and updates for every minor os upgrade. Electron is slow, wastes battery time, and is usually unsafe, but it'll shield the developer from Apple's aggressive api deprecation.
In my experience this varies a lot depending on the type of app. Your typical CRUD app (which the vast majority of apps are) will probably work fine for many releases in a row without needing significant changes to source or even a recompile, but if you're doing anything fancy with hardware or lower-level APIs you're more vulnerable.
Rate of change in AppKit/Cocoa is glacial relative to just about any front end or even back end web framework. Not too long ago I got an early-2000s open source Mac app compiling and running on current macOS over the course of a weekend… there were deprecation warnings all over the place but it worked fine. Meanwhile when I unearthed an early-2010s RoR project, resurrecting it was an exercise in futility.
To be completely clear: this isn’t just a “web apps being limited by the browser” issue, because the same problems exist in electron apps.
The core problem I think for new Mac apps is the market for apps that charge enough to cover dev costs has shrunk considerably.
The App Store model encourages software that is priced far too low to be cover costs unless you sell in sufficient quantities, but at the same time it’s created the idea that apps should be less than $10 even on non-mobile platforms. The result is that if you’re not a triple-A game with marketing to match you’re unlikely to be able to charge $60.
That means an indie dev needs to serve as many people as possible, as cheaply as possible. Whether Mac users like it or not that will in general mean things like electron or crummy iOS ports. Even apple’s own catalyst apps can be annoyingly buggy, what hope does an indie dev have?
Edit: Although it's been a long time since I tried it, this could not be true anymore.
I continue to experiment and tinker with new tools but after using it, buying/pro/premium it, and I begin to realize I just need to learn a little more with the native apps and I can do that smoothly enough that my muscle memory kicks in. Well, I even subscribed to SetApp[1] and use less than 5 App there at most.
My approach these days is -- I need to be able to own and/or control the content but use any tools, and be able to walk of the tools when needed. I try to keep a note about it and will update that -- https://oinam.fyi/digital/apple/
There’s a lot of “junky eye-candy” out there. Cool-looking apps that actually fall flat, in their primary reason for existing. I will often try one out, then let it lie fallow. Every now and then, one deserves a place in my canon, but it’s rare.
I guess mine would be Typinator. I just picked up a license which is a one-time cost. The product is solid and so is the support. I wish I knew of other types of products like this because I would most likely buy them without hesitation. I'm tired of seeing so many damn subscriptions on my bank statement.
Surely that can't be a good thing?
You can indeed write a multiplatform app in SwiftUI nowadays.
That’s what I’m doing with Volum (https://lowtechguys.com/volum) which easily shares 95% of the code between macOS, iOS and iPadOS, and only platform specific code like keyboard shortcuts or volume OSD is isolated.
But you kinda have to start with that multiplatform mindset from the start, otherwise you’ll soon find out you used too many custom NSViews and Cocoa APIs, your UI is not designed for portrait mode, and it’s a burden to place #if os(macOS) guards all over the place now.
But I also agree that SwiftUI is very promising, and I like what I've seen a lot. It's just not there yet.
Catalyst is helpful for the near term (next few years?) to bring over more complex iOS apps that use the iOS UI framework. That gives developers a product now while they work on a SwiftUI version or whatever direction they end up going.