News for hackers. Stuff that matters.
Re:Dioxus: User interfaces that run anywhere by formerly_proven on Monday December 26, 2022 @02:47PM (#34141075)
The question is why would you want something like that? Native is meaningless on non-Apple platforms. For Windows, wx is nowadays the opposite of a modern native Windows app, because it uses Win32. Gtk is "best viewed on" a Gtk-based Linux desktop. Qt Widgets, much like wx, emulates the LAF of Win32, so doesn't look correct any more on Windows. Qt Quick is a modern hardware-accelerated UI toolkit, but that's not a unique thing any more.
Re:Dioxus: User interfaces that run anywhere by jcelerier on Monday December 26, 2022 @03:01PM (#34141229)
> For Windows, wx is nowadays the opposite of a modern native Windows app, because it uses Win32.

idk, whenever I have to use win32 and I see some app which uses the win32 widgets i'm like, "finally some good software"

Re:Dioxus: User interfaces that run anywhere by rstat1 on Monday December 26, 2022 @03:07PM (#34141274)
I would certainly prefer properly written native software to web-based junk pretending to be native.
Re:Dioxus: User interfaces that run anywhere by pdntspa on Monday December 26, 2022 @03:49PM (#34141705)
I guess you can consider me a fan of WinForms. Besides, you can change the background color and add a stupid amount of padding to everything and voila, you now have "modern". Hell I used to have something for C# that did exactly that and made WinForms apps look like they were made for Windows 10. It was pretty cool, ngl

I've been tinkering with wxPython since I can't get pygobject to work in Python 3 in Windows. It really isn't that bad, certainly not nearly as weird as trying to wrap my head around folks' awful (are they ever not?) React codebases and this moronic idea that everything has to bundle Chromium

Also you really can't beat an instantaneous cold startup time. It's the tits

Re:Dioxus: User interfaces that run anywhere by bmitc on Monday December 26, 2022 @03:58PM (#34141798)
Why is anything based on Win32 not native on Windows? As far as I know, it's the only way to create a window on Windows.
Re:Dioxus: User interfaces that run anywhere by nicoburns on Monday December 26, 2022 @04:18PM (#34141992)
> The question is why would you want something like that?

Simple. You want to be able to make cross-platform UIs that are more performant, less resource-intensive, and more extensible than electron apps.

Re:Dioxus: User interfaces that run anywhere by bakugo on Monday December 26, 2022 @06:00PM (#34142890)
> The question is why would you want something like that?

Some of us want stable software that feels fast and responsive and doesn't lag on high-end machines while using 2GB of RAM despite being extremely simple