Or you can look into https://tauri.app/
Ask HN: What is the best way to build a desktop app in Windows in 2023?
31–40 of 107 posts
Re: Ask HN: What is the best way to build a desktop app in Windows in 2023?
#32Without more details, this is the way to get the most native Windows 11 look and feel: https://learn.microsoft.com/en-us/windows/apps/winui/winui3/ Disclosure: I work at Microsoft on a team that works on visual look and feel for Windows.
It's a shame that, unlike with Win32, using WinUI places pretty harsh restrictions on which programming languages and environments you can use. Only C# and C++ are supported, the latter only with Microsoft compilers. For everything else, including Rust[1], Python and MinGW C/C++, there is no answer for OP's question, and the effect of this on the visual consistency of the Windows desktop is obvious - there is none. E…
https://microsoft.github.io/windows-docs-rs/doc/windows/UI/i...
Re: Ask HN: What is the best way to build a desktop app in Windows in 2023?
#33Delphi is probably the best, but I can't afford it. Lazarus is pretty good, except for the documentation, which needs a huge refactoring effort. You can put together small applications in minutes.
I had no idea Delphi was even still around.
Re: Ask HN: What is the best way to build a desktop app in Windows in 2023?
#34Microsoft is using React Native for Windows [0] for their Office applications [1]. As a fan of RN this would be the first avenue I’d explore if I had to develop something for Windows. [0] https://microsoft.github.io/react-native-windows/ [1] https://microsoft.github.io/react-native-windows/resources-s...
This is a bit misleading. Only minor parts of Office are built with React Native, not the whole thing.
Re: Ask HN: What is the best way to build a desktop app in Windows in 2023?
#35Otherwise another shot could be a Java/JavaFX application, possibility compiled natively or packaged with jpackage, so you deliver your own tailored JVM, without requiring the installation of a JRE on the user system.
Another way would be to embrace the Microsoft ecosystem with the Windows UI Frameworks and then use C# or C++
Re: Ask HN: What is the best way to build a desktop app in Windows in 2023?
#36Looks like MFC is still a thing.
Re: Ask HN: What is the best way to build a desktop app in Windows in 2023?
#37Without more details, this is the way to get the most native Windows 11 look and feel: https://learn.microsoft.com/en-us/windows/apps/winui/winui3/ Disclosure: I work at Microsoft on a team that works on visual look and feel for Windows.
It's a shame that, unlike with Win32, using WinUI places pretty harsh restrictions on which programming languages and environments you can use. Only C# and C++ are supported, the latter only with Microsoft compilers. For everything else, including Rust[1], Python and MinGW C/C++, there is no answer for OP's question, and the effect of this on the visual consistency of the Windows desktop is obvious - there is none. E…
Re: Ask HN: What is the best way to build a desktop app in Windows in 2023?
#38I will say it without fear: nothing beats electron in beauty and eye candy. You have the entire HTML5/CSS3 at your disposal.
Beauty is in the eye of the beholder. Even Windows 2.0 looks better than Teams.
Re: Ask HN: What is the best way to build a desktop app in Windows in 2023?
#39Re: Ask HN: What is the best way to build a desktop app in Windows in 2023?
#40Earlier quoted context omitted.
This is a bit misleading. Only minor parts of Office are built with React Native, not the whole thing.
Teams is, and it's IMO the worst Office app available. I don't have time to get into all the reasons why right now because I need to sleep and it always leads to a 30 minute irl rant or a multiparagraph screed about the complete breakdown of their corporate work culture and terrible UI tooling that they can't fix a context menu rendering bug in their own damn "native" first-party corporate communications app when _Th…