this post was submitted on 11 Feb 2024
14 points (85.0% liked)

Learn Programming

1638 readers
1 users here now

Posting Etiquette

  1. Ask the main part of your question in the title. This should be concise but informative.

  2. Provide everything up front. Don't make people fish for more details in the comments. Provide background information and examples.

  3. Be present for follow up questions. Don't ask for help and run away. Stick around to answer questions and provide more details.

  4. Ask about the problem you're trying to solve. Don't focus too much on debugging your exact solution, as you may be going down the wrong path. Include as much information as you can about what you ultimately are trying to achieve. See more on this here: https://xyproblem.info/

Icon base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 1 year ago
MODERATORS
 

I'm a seasoned programmer on Mac/Linux/iOS, and want to get into Windows application programming. Problem is, every time I try, Microsoft comes in a week later and discontinues the current framework in favor of something else. Because I need to use a C++ library, I started with C++/CX, just to be told C++/WinRT was the way to go etc.

I've lost track of what the current one is now and what has been discontinued, and can't for the life of me find recent information on the web.

Anyone here know where I can find info on what's the current one? It seems C# is still the main language, but what UI framework does one use? It used to be UWP, but now it seems WPF is back ... ?

My constraints are: I'm making Windows desktop applications, I need to be able to call into C++, and I want it to look like a modern application. I also need to create my UI from code (based on files provided by the user), not from XAML files.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] onlinepersona 2 points 9 months ago (1 children)

Maybe Slint is for you? If you so wish, it'll be possible to run it on Linux+Mac too. In the future maybe even iOS and Android (they're working on it). Supports C++, nodejs, and Rust.

CC BY-NC-SA 4.0

[โ€“] uliwitness 1 points 9 months ago

Thanks, that looks like a cool project, but this is for a programming language with an integrated UI builder, so using another UI abstraction on top of the native UI would just lead to lots of awkward translation code on top of Slint's.