News for hackers. Stuff that matters.
Re:Was .NET All a Mistake? by thought_alarm on Wednesday August 03, 2011 @05:37PM (#2843247)
Win Forms was always just a clunky wrapper around the aged Win32 APIs, and while WPF is extremely impressive, its performance still appears to be an issue for large-scale desktop applications.

I've been away from the Windows world for going on 6 years now, so my question is: what the heck are people using to write Windows apps these days? I'm sure there is still a mountain of .NET developers writing a mountain of crappy WinForm apps for the enterprise, but what about consumer software? Is it still Win32 and GDI?

Re:Was .NET All a Mistake? by phillco on Wednesday August 03, 2011 @05:55PM (#2843328)
I've really never felt that WinForms was "clunky". Compared to Win32, it's amazingly consistent and intuitive - you can learn 75% of it just with the form designer and IntelliSense. Doing anything in Win32, by comparison, almost always requires a trip to Google and a paragraph of code.

I don't know why anyone would willingly write a Win32 or MFC app over .NET unless they were simply unfamiliar with it, or overly worried about performance, framework availability, or code security.

Re:Was .NET All a Mistake? by kenjackson on Wednesday August 03, 2011 @06:01PM (#2843356)
Depends on the type of app. With UI heavier apps that are new WPF is very popular. Sony Vegas, VS 2010, Expression Blend, HP Touchsmart shell, are some examples of apps that use WPF.

If you're writing a new app, and you can deal with the WPF restrictions (can't run too far downstream or on underpowered computers) then its hard to go with anything else. With that said, I do wish it had better perf.

Re:Was .NET All a Mistake? by gigantor on Wednesday August 03, 2011 @05:46PM (#2843289)
Based on personal enterprise consulting experience, Enterprise Windows apps are still widely developed using WinForms, VB6, Delphi still exists more than what's comfortable, and if you're lucky enough to work with a cutting edge enterprise, there's some WPF, Expression Blend, or Silverlight sprinkled in there.

I don't have stats but I presume Win32/MFC/GDI dominates the consumer software world, judging by how many Windows apps I've installed over the years that didn't require the prerequisite .net framework installation.

Re:Was .NET All a Mistake? by ww520 on Wednesday August 03, 2011 @06:05PM (#2843371)
Most of my Windows apps use WTL for UI. Just a thin-OO wrapper on top of the Win32 API. Works great.
Re:Was .NET All a Mistake? by hvs on Wednesday August 03, 2011 @05:40PM (#2843268)
Either Win32 or MFC.