News for hackers. Stuff that matters.
Re:Thoughts on Clojure UI framework by Zelphyr on Thursday September 09, 2021 @02:05PM (#28472710)
"The web started to get more suitable for apps probably since Gmail in 2004. It’s very convenient, yet still very limited and has shortcomings."

Yes. I worked for over a decade to make web apps behave more like native apps. I finally realized it was a fruitless endeavor. The browser and the web are amazing but, trying to make them behave like native apps just doesn't offer the same experience and, in most cases, offers a worse experience. All one need as proof are all the Electron apps or the Apple Music desktop app.

Re:Thoughts on Clojure UI framework by flohofwoe on Thursday September 09, 2021 @03:28PM (#28473639)
And yet Visual Studio Code is doing quite well for a "slow and bloaty" Electron app. It starts many times faster, and in many areas (not all) also feels snappier than both Xcode and Visual Studio (and being an IDE versus "just a text editor" isn't an excuse, VSCode can be turned into a full blown IDE with a few extensions).
Re:Thoughts on Clojure UI framework by eyelidlessness on Thursday September 09, 2021 @06:05PM (#28475198)
I think a more appropriate comparison for VSCode would be Nova, which is angling for roughly the same IDE-capable editor space. And uses some of the same technologies (LSP, TextMate themes) I’m not at my desk so I can’t compare at the moment, but I remember Nova feeling vastly more responsive and quite a bit faster from launch to usable.

And VSCode performance (especially launch) degrades significantly once you have several workspaces open at once. I’ve learned to dread upgrade launches because the release notes tab amplifies that degraded performance even more (which is baffling because that’s just one more web thing in the same web context right?!).

Don’t get me wrong, I love VSCode, and it’s worlds better than most other Electron apps I have to use. I even went back to it from Nova because it better supports my workflow. But it is definitely slower than it could be if it were native.

Re:Thoughts on Clojure UI framework by Scarbutt on Thursday September 09, 2021 @03:36PM (#28473735)
VSCode is the exception not the rule. It's an exception because it has a large engineering team behind it doing thousands of micro-optimizations.
Re:Thoughts on Clojure UI framework by ducktective on Thursday September 09, 2021 @03:38PM (#28473749)
That is pretty much the definition of exception in this space. Also consider the vast number of man-hours MS has put into VSCode (+LSP+DA)
Re:Thoughts on Clojure UI framework by kaba0 on Friday September 10, 2021 @05:04AM (#28479226)
And is it still as performant with all those extensions that make it remotely close to a full blown IDE? Because as far as I know they can make it slow to a crawl.
Re:Thoughts on Clojure UI framework by tonsky on Sunday September 12, 2021 @05:23PM (#28505112)
I dunno, it takes around 3 seconds to finish launching on M1 mac. Sublime Text is ready under 0.5 seconds
Re:Thoughts on Clojure UI framework by brundolf on Thursday September 09, 2021 @02:08PM (#28472741)
What? The Apple Music desktop app is native, built with Catalyst (and is awful despite that)
Re:Thoughts on Clojure UI framework by marcellus23 on Thursday September 09, 2021 @03:19PM (#28473554)
It is not built with Catalyst. Podcasts is, but Music is not. And presumably he's referring to the webview-based parts of Apple Music, i.e. the browsing piece of it. The native parts of the app (library browsing and management) work very well in my experience.
Re:Thoughts on Clojure UI framework by Zelphyr on Thursday September 09, 2021 @03:13PM (#28473474)
If I'm wrong I'll stand corrected but, it behaves way too much like a web app to not at least be making heavy use of WKWebView.
Re:Thoughts on Clojure UI framework by brundolf on Thursday September 09, 2021 @03:22PM (#28473582)
What does "behaves too much like a web app" even mean in this context?
Re:Thoughts on Clojure UI framework by jdminhbg on Thursday September 09, 2021 @06:52PM (#28475630)
If you go to something like the For You screen, you will see a pause while the content is loaded remotely. And if you hit Command-R, it will reload, like a web page.

I think the other commenters are right that Music.app is written as a native macOS app, but it definitely leans heavily on web views for content, especially in the streaming parts of the app.

Re:Thoughts on Clojure UI framework by dmitriid on Friday September 10, 2021 @01:22PM (#28484612)
Like it's broken beyond all recognition and hope with all interactions and expectations of a native app just gone. See this review: https://www.youtube.com/watch?v=gE8ZikfrpFU
Re:Thoughts on Clojure UI framework by askonomm on Thursday September 09, 2021 @03:11PM (#28473461)
Native and yet still sucks. Most catalyst apps suck.
Re:Thoughts on Clojure UI framework by dboreham on Thursday September 09, 2021 @02:32PM (#28473005)
Perhaps Amazon Music app?