Windows Forms VS. wxWidgets which one is better?

This forum is reserved for everything you want to talk about. It could be about programming, opinions, open source programs, development in general, or just cool stuff to share!
Post Reply
dragonMan
Earned a small fee
Earned a small fee
Posts: 12
Joined: Sun Jun 06, 2021 10:25 am

Windows Forms VS. wxWidgets which one is better?

Post by dragonMan »

I have been asking this for some time in my head so I decided to post it on the forum.
Some questions:
1. Which one is better for a real job?
2. Which one is easier to learn?
Kvaz1r
Super wx Problem Solver
Super wx Problem Solver
Posts: 357
Joined: Tue Jun 07, 2016 1:07 pm

Re: Windows Forms VS. wxWidgets which one is better?

Post by Kvaz1r »

Not best place to ask such question, but:
1. WinForms is part of C++/CLI(CLR) so it's not C++.
2. It's not longer support by Microsoft.
3. Even for C# Win Forms very primitive.
Ronald
Super wx Problem Solver
Super wx Problem Solver
Posts: 306
Joined: Mon Mar 05, 2018 4:17 am

Re: Windows Forms VS. wxWidgets which one is better?

Post by Ronald »

dragonMan wrote: Sat Jun 19, 2021 4:43 pm 1. Which one is better for a real job?
It depends on which programming langugage you are going to use.
C# is more human friendly, relatively C++ is more machine friendly.
dragonMan wrote: Sat Jun 19, 2021 4:43 pm 2. Which one is easier to learn?
C# is much easier to learn and use.
User avatar
doublemax
Moderator
Moderator
Posts: 19102
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: Windows Forms VS. wxWidgets which one is better?

Post by doublemax »

Ronald wrote: Sun Oct 17, 2021 2:38 am C# is much easier to learn and use.
I think the difference is not that big. Except for the manual memory management and dealing with pointers in C++, they're pretty much the same.
Use the source, Luke!
Ronald
Super wx Problem Solver
Super wx Problem Solver
Posts: 306
Joined: Mon Mar 05, 2018 4:17 am

Re: Windows Forms VS. wxWidgets which one is better?

Post by Ronald »

doublemax wrote: Sun Oct 17, 2021 9:25 am
Ronald wrote: Sun Oct 17, 2021 2:38 am C# is much easier to learn and use.
I think the difference is not that big. Except for the manual memory management and dealing with pointers in C++, they're pretty much the same.
For grammar, no critical difference, but C# wins.

For convenience of dependencies, C# wins
  • C++ uses .h and .cpp, C# uses .cs only, it makes dependencies easier
  • C# libs are more easier to use than C++ libs. Maybe because many C++ libs are very old and C# libs are relatively new, C# libs have good positions for better designs.
For functionality, C++ wins, because it has a much longer history.

For performance, in practice, C++ GUI Apps are obviously better than C# GUI Apps.

BTW, C# is limited intentionally, e.g. unable to build to binaries.
gulshan212
In need of some credit
In need of some credit
Posts: 1
Joined: Mon Dec 26, 2022 1:12 pm

Re: Windows Forms VS. wxWidgets which one is better?

Post by gulshan212 »

Hello, this is Gulshan Negi
Well according to me to create and set up GUI for games C# is better than C++. Because it is very easy to set up and maintain.

Thanks
Post Reply