Top
Best
New

Posted by domenicd 14 hours ago

Windows native app development is a mess(domenic.me)
280 points | 307 commentspage 4
tehologist 3 hours ago|
TCC supports win32 and is less than a meg download and as an added bonus supports linux very well thanks to wine.
hyperpl 4 hours ago||
I used to code Win32 around the Win 95/98/2000 era (my first VC++ was 1.0 for 16bit) but switched to BSD and Linux around 2000 and haven't looked back. I avoid Windows as much as possible and did learn about .NET and how slow it was but I'm a bit shocked that Win32 is still a thing and still being recommended. Sort of makes me happy and sad at the same time...
int_19h 1 hour ago|
.NET is blazing fast by modern standards (given that the typical app experience these days is Electron, meaning Node.js).
ozim 11 hours ago||
That is why everyone even Microsoft themselves does Electron.

Running with html/css/js has benefits it really is open and free development based on international standards and not locked into any single big tech.

Boxxed 10 hours ago||
I don't know, I think it's pretty embarrassing that Teams is an electron (or whatever) app. The plot on native has been lost so badly that even the fucking company that makes the OS doesn't want to deal with it.
IlikeMadison 9 hours ago|||
Electron is the worst thing that happened to quality software. I spoke to two HR guys last year at the company I'm working at and they told me they ditch every single resume mentioning "web technologies" in them. Funny part is when they also told me these "bad" resumes are for the vast majority H1B wannabees.
debugnik 7 hours ago|||
What's so funny about that? Most electron turds I deal with are American in the first place, they must be trying to appeal to you.
ToucanLoucan 5 hours ago|||
Second. I wouldn't say we ditch resumes on that basis, but ultimately, we're a native outfit only. You can be the best damn app developer on Earth but if all you've ever used is Electron, well, I can't use you.
NetMageSCW 4 hours ago|||
Say what you will about Apple, they at least still think it’s important to support and do native development, especially for their OS. Microsoft might as well have bought webOS as their new Windows replacement and admitted they’ve given up on native apps.
userbinator 2 hours ago||
Do original Macintosh binaries still run on the latest macOS? I haven't looked much at the situation on that side but I believe Apple has no equivalent to the Win32 API.
pier25 10 hours ago|||
Isn’t Microsoft also using React native for desktop stuff?
anthk 10 hours ago|||
NPM it's the bigger turd happened ever, slow and bloated. And JS today amounts the biggest enforced propietary loading method of existence in almost every web page.

Open? You wish.

>and not locked into any single big tech.

DRM and propietary cody tells me otherwise.

ToucanLoucan 11 hours ago||
Clown shit. “We’re made our own OS a nightmare to build on so we’re gonna use JavaScript powered pseudo-VMs and make everything take 2 gigs of ram minimum”
kantselovich 6 hours ago||
Thank you for the detailed write up.

I’m was thinking about building native windows UI, wrapping around cross platform library written in swift. I did not know it was that messy and complicated.

tehologist 3 hours ago||
TCC is less than a meg to download supports win32 very well and as an added bonus created executables run fine under linux wine.
AyanamiKaine 6 hours ago||
Because I didnt see it already mentioned. Avalonia[1] and Uno[2] for C# are also really great if you want to write windows apps. I wrote some in Avalonia that worked incredible nice on Linux and Windows.

You dont have to use MVVM or AXML for example Uno allows for C# Markup[3] to be used instead or MVUX instead of MVVM.

I personally hate MVVM and AXML but you are not forced to use them.

For Avalonia I dabbled in creating my own replacement[4] for MVVM and AXML using Flecs.Net.

In Avalonia I created a tray icon for the trash bin. So I can see how big it is and clear/open it with a small menu[5].

Both Avalonia and Uno should at least be looked at when judging which framework to use. They are both quite mature and have many great controls and features built in.

[1] https://avaloniaui.net/ [2] https://platform.uno/ [3] https://platform.uno/docs/articles/external/uno.extensions/d... [4] https://github.com/AyanamiKaine/Ayanami-sTower/blob/main/Ava... [5] https://github.com/AyanamiKaine/Ayanami-sTower/blob/main/App...

domenicd 1 hour ago||
They are both mentioned in the article. But I appreciate the extra experience and details, beyond what I got from browsing their landing pages and GitHub repos.
chiengineer 6 hours ago||
I built multiple Avalonia apps with zero previous experience

- Windows 11 Hardening utility - made it because all existing ones are not updated to handle all the new AI telemetry + new updates + I made it differently and more powerful than anything that exists currently

- Windows Admin/ Security / Networking Utility built for my needs

- Windows 11 Anti Virus Nuker - Completely shuts off windows defender without disrupting system performance or zombie files

- and more

Andrex 5 hours ago||
*has been for 20+ years

Meanwhile editions of Gnome come with Gnome Builder and Flatpak has solved the distribution problem. Things are so much better today on Linux than most people who have used Windows will even remember.

delduca 11 hours ago||
Best framework for this is Qt.
hliyan 10 hours ago||
I've recently discovered FLTK: https://www.fltk.org/doc-1.4/intro.html

Haven't used Qt in a while, but at first glance, seems simpler: https://github.com/fltk/fltk/blob/master/examples/menubar-ad...

lazypenguin 7 hours ago|||
FLTK is great at being fast and light, that’s about it. It’s kind of cumbersome to use but honestly does what it says on the tin. Highly recommend for smaller use cases but can’t imagine using on a large project. I used the rust bindings which are well maintained.
jordand 10 hours ago|||
Yeah for my work, legacy Win32/WinForms/WPF codebases tools are kept maintained as-is, but new tools are usually written in PySide6 (QtWidgets or QtQuick) and it's worked out really well (other than bundling/distribution being tricky for big apps)
anthk 10 hours ago|||
And Lazarus/FPC.
madduci 11 hours ago||
MFC is rock solid too
adzm 9 hours ago||
WTL and ATL also, especially if you need to do com stuff
pjmlp 6 hours ago||
You will need it, because since Windows Vista, most new APIs are COM based, as they redid Longhorn ideas in C++ instead of .NET, and WinRT also builds upon it.

Classical Win32 C API surface, with some exceptions, is mostly stuck in Windows XP view of the world.

jerhewet 3 hours ago||
Steve Gibson, Gibson Research.

https://www.grc.com/freepopular.htm

Just scroll down the page and look at the size of the completely self-contained executable programs. THIS is what Win32 is capable of. Something we always had with Win32 that was thrown away with .Net and C#.

And _please_ just spare me your opinions of how Steve Gibson "doesn't know anything about security". That's not what's important here. What's important is how freakin' small his full-on GUI stand-alone executables are.

EDIT: Just noticed this on his page.

Total Historical Count of files downloaded from this page: 52,292,601

cosmotic 5 hours ago|
This all seems like a direct result of measuring employee performance using "impact".
More comments...