News for hackers. Stuff that matters.
Re:9 years of Apple text editor solo dev by tobr on Friday January 05, 2024 @08:01AM (#38878623)
> Closed-sourced native UI is a fragile place compared to the predictable JavaScript runtime of the browser.

Huh, that sounds contrary to what people usually tout as a benefit of native. You always hear about framework churn and cross-platform problems when it comes to JavaScript. Maybe that’s not so true anymore?

Re:9 years of Apple text editor solo dev by treve on Friday January 05, 2024 @08:05AM (#38878655)
In this OP compared the runtime, not frameworks. In my experience the web platform is extremely stable.
Re:9 years of Apple text editor solo dev by realusername on Friday January 05, 2024 @08:05AM (#38878648)
JS, as bad as it might be is close to 100% backward compatible, your project will work forever on newer browsers, that can't be said for Apple.
Re:9 years of Apple text editor solo dev by internetter on Friday January 05, 2024 @08:22AM (#38878775)
Also goes in the other way. We can literally only support iOS 17 because we’re using SwiftUI and Apple refuses to backport anything, whereas in JavaScript you can generally use new APIs while either gracefully failing or triggering a fallback
Re:9 years of Apple text editor solo dev by throwaway66201 on Friday January 05, 2024 @12:31PM (#38881829)
That's because of the dynamic nature of JavaScript, you could do that in Swift too but that'd be a lot of dynamic dispatch for a static language...
Re:9 years of Apple text editor solo dev by throwaway66201 on Friday January 05, 2024 @08:23AM (#38878781)
Just don't use frameworks, or use the stable ones.

I use React and it had exactly one significant major change (class components -> functions & hooks) since 10 years ago when I started out with the beta release.

Windows went through 4 different "recommended" GUI frameworks and many more major API changes during that time.

Re:9 years of Apple text editor solo dev by robertlagrant on Friday January 05, 2024 @10:32AM (#38880086)
That was a particularly crazy time for Windows UI development!
Re:9 years of Apple text editor solo dev by matsemann on Friday January 05, 2024 @09:34AM (#38879448)
Native on other systems, perhaps. But for MacOS it's common that half your apps will break if you update as soon as the update is available. Got to give each developer time to fix their app first..