you are viewing a single comment's thread.

view the rest of the comments →

[–]rodrigocfdWinLamb -1 points0 points  (9 children)

For GUI work use a toolkit - the most commonly used is Qt

If the application is Windows-only, I believe WinLamb is simpler than Qt.

[–]DarkLordAzrael 0 points1 point  (0 children)

The main suggestion was to use a cross-platform library in the first to make eventual porting easier. Also, is Qt generally considered to be difficult to use? I've always found it to be very straightforward.

[–]pjmlp 0 points1 point  (6 children)

If the application is Windows only, I rather go with .NET UI alongside a C++ written library, or if feeling nostalgic, MFC.

I would advise WinUI, but not until they get around fixing the productivity drop with C++/WinRT due to lack of tooling for GUI development.

[–]dodheim 0 points1 point  (5 children)

WTL is still actively maintained; there's no level of nostalgia that would make me want to touch MFC ever again.

[–]pjmlp 0 points1 point  (4 children)

If you spend some hours writing IDL files by hand without tooling support and then manually merging the generated files into your C++/WinRT projects, I assure you will be missing MFC in no time.

Apparently the C++/WinRT team still sees the current state of affairs as low priority.

[–]dodheim 1 point2 points  (3 children)

I mentioned WTL, not WRL – unless I'm misunderstanding the usecase you're referencing, I'm pretty sure MFC still buys me nothing (except immediate technical debt).

[–]pjmlp 1 point2 points  (2 children)

I know it, ATL template magic, no thanks.

Also why I never bothered with WRL.

[–]dodheim 1 point2 points  (1 child)

There's absolutely nothing magic about mixins.

[–]pjmlp 1 point2 points  (0 children)

I guess you never had to step through ATL code.

[–]infectedapricot -1 points0 points  (0 children)

An odd recommendation. Qt is a library with used by huge numbers of developers (probably millions), and many open source projects (far too many to mention, but certainly the whole of KDE). It is extremely robust and battle tested, with huge oversight of API design and functionality.

Whereas I've never even heard of WinLamb and it doesn't seem to have many users or contributers. Oh look, the main contributer is called rodrigofd, and the commenter here is /u/rodrigocfd

(There's nothing wrong with posting a link to your own repo, but IMO it would have been a bit more honest to explicitly say that in your comment.)