Live data from Hacker News

Photino: A lighter Electron

tryphotino.io

31–40 of 57 posts

Re: Photino: A lighter Electron

#31
post #3

I'd really like to see it compared to Tauri [0] which is the established leader in this space. 0: https://tauri.app

I'd really like not to see Rust-can-do-it-too mentioned in each post just once these days. After all it's using webview, which has its limits no matter what sugar you lay on top, not to mention, Wails with Go is 10x easier to code than Rust if you must use webview.

There shouldn't be a difference. Tauri doesnt even require you write rust. It's entirely optional.

Re: Photino: A lighter Electron

#32
post #3

I'd really like to see it compared to Tauri [0] which is the established leader in this space. 0: https://tauri.app

I'd really like not to see Rust-can-do-it-too mentioned in each post just once these days. After all it's using webview, which has its limits no matter what sugar you lay on top, not to mention, Wails with Go is 10x easier to code than Rust if you must use webview.

That's not at all what this is. Tauri is written in rust but doesn't require writing any rust. You can use just frontend js, or node on the backend, or rust, python, c++, etc.

Re: Photino: A lighter Electron

#33
post #32

Earlier quoted context omitted.

I'd really like not to see Rust-can-do-it-too mentioned in each post just once these days. After all it's using webview, which has its limits no matter what sugar you lay on top, not to mention, Wails with Go is 10x easier to code than Rust if you must use webview.

That's not at all what this is. Tauri is written in rust but doesn't require writing any rust. You can use just frontend js, or node on the backend, or rust, python, c++, etc.

Wails needs to write Go for the backend side, I would assume Tauri needs Rust to do backend side work too, after all UI is just the surface and we need the backend(or system side) code to do the heavy lifting. If the frontend is JS/HTML/CSS and the backend can be any language of choice, what is Rust doing here then? I must be missing something.

Re: Photino: A lighter Electron

#34

I just want to say, I really miss for-real native desktop apps. As an old-school desktop app developer, everything about web dev feels awkward and unnatural to me, and I'm not too keen on the performance of the end result. I appreciate that Photino at least is lighter in terms of install footprint and RAM use, but it is still as CPU hungry.

You can't build a "for-real native desktop app" without building half of a browser anyway. Can't use a font without FreeType or HarfBuzz, can't use a secure socket without OpenSSL. Can't afford to redraw the entire screen each frame, so you need a DOM of some kind to cache rendered boxes. The OS doesn't do anything it didn't do 20 years ago. Stack's a mess rn. imo

Re: Photino: A lighter Electron

#35

Earlier quoted context omitted.

Gtk4 does not really do Macos these days, Qt costs a leg when you go commercial, Wxwidgets might be the only one left but its community is still quite small. Others(C# based, Flutter based) are not that great either. So yes for cross platform commercial desktop GUIs, Electronjs really has no competitor.

Qt is 500 a year for small businesses, thats basically creative cloud pricing. Could we really solve the current state of desktop ui by just convincing devs to pay 40 dollars a month?

It's way more complex than that in fact, just looked at the license page again and gave up again.

Re: Photino: A lighter Electron

#36

Earlier quoted context omitted.

Here's a real, actual bug that we had in the old Slack for Mac app (which was Webkit-based, so effectively the same approach as Tauri et al) - some users, only on older versions of macOS, report that whenever they paste in a YouTube link, the embedded video has a pink tint. Tell me, how would you fix this bug?

(I assume you’re talking about loading Slack in the website? That’s the only WebKit surface you have that I know about.) Let me turn the question around for you: why do you think shipping Electron will save you? Sure, maybe WebKit has a broken video decoder this year. What will you do next time when it’s the GPU driver? You already know what the answer is: you diagnose it as far as you can, report it upstream, and co…

> why do you think shipping Electron will save you?

All of the videos will be pink, not just the macOS ones on an older Safari.

At worst someone could dig into the Webkit (Chome?) distro and fix it and they can release a custom build for the short term before it gets incorporated, fixing "everyone".

Re: Photino: A lighter Electron

#37

I just want to say, I really miss for-real native desktop apps. As an old-school desktop app developer, everything about web dev feels awkward and unnatural to me, and I'm not too keen on the performance of the end result. I appreciate that Photino at least is lighter in terms of install footprint and RAM use, but it is still as CPU hungry.

You can't build a "for-real native desktop app" without building half of a browser anyway. Can't use a font without FreeType or HarfBuzz, can't use a secure socket without OpenSSL. Can't afford to redraw the entire screen each frame, so you need a DOM of some kind to cache rendered boxes. The OS doesn't do anything it didn't do 20 years ago. Stack's a mess rn. imo

Thankfully, JavaFX does all of that (fonts, SSL, scene graph), but it's an unpopular option.

Yea, it's not native, but its more the native dev experience, and its actually quite portable.

Re: Photino: A lighter Electron

#38
post #3

I'd really like to see it compared to Tauri [0] which is the established leader in this space. 0: https://tauri.app

Is it?

As far as I understood it, Tauri is a safer Electron, not a lighter one.

Re: Photino: A lighter Electron

#39
post #38
post #3

I'd really like to see it compared to Tauri [0] which is the established leader in this space. 0: https://tauri.app

Is it? As far as I understood it, Tauri is a safer Electron, not a lighter one.

Isn't it both? Tauri is lighter because it doesn't bundle an entire Chromium instance for each app, rather it uses the native OS's existing webview.

Re: Photino: A lighter Electron

#40
post #3

I'd really like to see it compared to Tauri [0] which is the established leader in this space. 0: https://tauri.app

Or Wails with Go. It’s good we have more competitors in the desktop space.

Or with Socket Runtime (https://socketsupply.co/).
Post reply on HN