News for hackers. Stuff that matters.
Re:Show HN: Svelte NodeGUI, a lightweight Electron alternati... by avel on Friday March 05, 2021 @03:58PM (#26362013)
Is Qt considered native when you use KDE and not native when you use GNOME? Is Qt 3 considered not native when you use a KDE release that uses Qt 4 under the hood?
Re:Show HN: Svelte NodeGUI, a lightweight Electron alternati... by quarantine on Friday March 05, 2021 @04:05PM (#26362106)
I would say so. Just like GTK is native on GNOME but definitely not on Windows. "native" (to me) really just means whatever the system is designed for.
Re:Show HN: Svelte NodeGUI, a lightweight Electron alternati... by nine_k on Friday March 05, 2021 @04:14PM (#26362203)
Then Windows 10 apparently lacks a native GUI toolkit, because it's certainly not "designed for" just one.

A similar thing happened to Android.

Re:Show HN: Svelte NodeGUI, a lightweight Electron alternati... by MaxBarraclough on Friday March 05, 2021 @04:43PM (#26362510)
> Then Windows 10 apparently lacks a native GUI toolkit, because it's certainly not "designed for" just one.

Windows 10 has several native GUI toolkits. The same thing happened in MacOS, which transitioned from Carbon to Cocoa.

If the widgets are drawn by a toolkit that isn't bundled with the OS, it's a non-native GUI. Of course, this isn't always a bad move.

Re:Show HN: Svelte NodeGUI, a lightweight Electron alternati... by gigel82 on Friday March 05, 2021 @04:34PM (#26362413)
One could argue Win32 is still the de-facto GUI toolkit in Win10. Things like .NET Windows Forms and (non-WinUI3) UWP are actually rendered with Win32 common controls.
Re:Show HN: Svelte NodeGUI, a lightweight Electron alternati... by jart on Friday March 05, 2021 @04:42PM (#26362501)
WIN32 isn't de facto it is the canonical API for Windows. It always has been, since like the 1980's.
Re:Show HN: Svelte NodeGUI, a lightweight Electron alternati... by ComputerGuru on Friday March 05, 2021 @07:35PM (#26364101)
Indeed, but with some exceptions. .NET SWF shipped with extremely kludgy drawn clones of toolbars and menu bars instead of using the native ones (although the native ones were later exposed) and the result is that those particular controls on SWF apps did not age gracefully (DPI problems, system theme mismatch, scroll acceleration issues, etc). That’s the kind of thing Qt would also face with drawn components skinned to look like the real deal.
Re:Show HN: Svelte NodeGUI, a lightweight Electron alternati... by flipcoder on Friday March 05, 2021 @04:23PM (#26362292)
Native usually means standard or specific to the particular system. I would say yes to those questions.