News for hackers. Stuff that matters.
Re:Apple Fooled All Mac Catalyst Developers by ChrisMarshallNY on Friday March 17, 2023 @06:26AM (#35195222)
In my experience, there's never been (and, I suspect, never will be) a true "cross-platform" system.

There's just no substitute for platform native. I include hybrid systems, and frameworks like Qt in that statement.

Even though I can write a UI in SwiftUI that will work on all platforms, I have no illusions that it is something that I could ship to customers, with a straight face.

Re:Apple Fooled All Mac Catalyst Developers by Dalewyn on Friday March 17, 2023 @06:38AM (#35195286)
>In my experience, there's never been (and, I suspect, never will be) a true "cross-platform" system.

Chrome, otherwise known as Electron.

It's not great, it's fucking terrible actually. But it's cross-platform, it gets shit done, and it's clearly good enough (relatively).

Re:Apple Fooled All Mac Catalyst Developers by shakow on Friday March 17, 2023 @06:40AM (#35195301)
That's desktop only. We already have Qt playing in the same ballpark, and doing both better and worse depending how you look at it.

Nice cross-smartphone-tablet-desktop however is a no-app's land.

Re:Apple Fooled All Mac Catalyst Developers by jitl on Friday March 17, 2023 @07:03AM (#35195431)
Webview works for this. Chrome / Electron for desktop, native Webview app on iOS and Android respectively.

It’s not as good as fully native; but it does enable excellent code sharing as well as shipping new versions of your app as fast as you can deploy them.

That’s how we build Notion anyway.

Re:Apple Fooled All Mac Catalyst Developers by ChrisMarshallNY on Friday March 17, 2023 @08:30AM (#35196209)
Well, I’m not gonna get into a back and forth over this. Lots of “Sacred Cows and Third Rails.”[0]

I am personally not comfortable, shipping “meh” to my end-users, but I’m also quite aware that my methodology is not a money-maker, so it’s probably just sour grapes, on my part.

[0] https://littlegreenviper.com/miscellany/sacred-cows-and-thir...

Re:Apple Fooled All Mac Catalyst Developers by AdamN on Friday March 17, 2023 @06:30AM (#35195241)
The only way cross-platform works is if both platforms are in lockstep with the interfaces they supply. Of course that will slow down development on both platofrms.

In some cases, this works great right now for mature interfaces and you can use certain tools on FreeBSD, Ubuntu Linux, and RedHat Linux interchangeably because they are using consistent interfaces. Where the interfaces aren't strongly consistent (or there are leaky abstractions), then it all falls apart.