News for hackers. Stuff that matters.
Re:Android Lighthouse: Android Qt Port by kjhghjkjh on Friday February 11, 2011 @10:04AM (#2206513)
Doesn't matter - Nokia will cancel Qt in the next round of budgets.

The real question is how screwed are C++ developers in general?

MSFT's offering is switch to managed C++/C++ CLR and use WPF - two doomed technologies together. Or there is always MFC

Apple say don't even try with C++ just switch to objective C

Your only choice is GTK (from C) and plug into the rich commercial opportunities of Gnome and Linux on the desktop.

So is C++ on the desktop dead?

Re:Android Lighthouse: Android Qt Port by xpaulbettsx on Friday February 11, 2011 @12:14PM (#2207181)
I certainly hope C++ on the desktop is dead, there are far more productive languages for UI development. Obj-C, Ruby, Python, C# all come to mind. Show me a UI that a C++ programmer took a full week to build, and I can probably build it in an afternoon in C#/WPF.
Re:Android Lighthouse: Android Qt Port by blub on Friday February 11, 2011 @04:41PM (#2208267)
Qt is better at building UIs than all of the above, with the possible exception of WPF. QML is supposed to be a declarative language similar to WPF that's accessible to Qt programs.

The fact that you put Ruby and Python in your list shows that you're not up to date on UI technology.

Re:Android Lighthouse: Android Qt Port by xpaulbettsx on Friday February 11, 2011 @09:50PM (#2209119)
I'm saying that as a language, both of those could be used to make far more elegant UI frameworks. C++ doesn't have introspection without hacks - that in and of itself makes it painful to use. PyGTK+ is used pervasively throughout GNOME for UIs. Ruby has MacRuby which you can make great Cocoa UIs with less work than Obj-C.
Re:Android Lighthouse: Android Qt Port by kjhghjkjh on Friday February 11, 2011 @01:43PM (#2207597)
Show me a Ruby, C# etc desktop app that took more than a week. Word, Excel, Autocad - fancy writing something like that in a toy language?
Re:Android Lighthouse: Android Qt Port by hapless on Friday February 11, 2011 @02:04PM (#2207676)
Word, Excel, and Autocad are all more than twenty years old. They date to an era when C++ was the only tool available.

Furthermore, all of them can host modules written in "toy languages." Word and Excel are extended by VBS and C#. Autocad is extended by C# and AutoLisp.

Re:Android Lighthouse: Android Qt Port by patrickaljord on Friday February 11, 2011 @03:41PM (#2208041)
> So is C++ on the desktop dead?

WebKit, chrome, firefox are C++ and probably so are tons of other apps/libs.

Re:Android Lighthouse: Android Qt Port by e1ven on Friday February 11, 2011 @11:30AM (#2206910)
The nice thing is that QT is now fully OSS- LGPL and GPL versions. This means that development can go on outside of QT/Nokia.

The difficult part is that there is no current team to do so, but some of the current devs may be willing to continue work in a leadership position of the OSS effort after the next rounds of layoffs.

Alternatively, a company could be formed (YC12?) to continue coding QT, and offer support + training. Hell, I'm tempted ;)

Re:Android Lighthouse: Android Qt Port by blub on Friday February 11, 2011 @04:45PM (#2208280)
I wouldn't say they're screwed. You can use C++ on all the mobile/desktop platforms (except on WP7) and many do, it's just that it's getting harder to do a C++ only app, you have to mix and match.
Re:Android Lighthouse: Android Qt Port by blux on Friday February 11, 2011 @11:30AM (#2206904)
Why would Qt die once Nokia looses interest in it? I am sure Qt can survive on its own.
Re:Android Lighthouse: Android Qt Port by joezydeco on Friday February 11, 2011 @12:15PM (#2207185)
Qt as an open-source project will do just fine.

My fear is that Nokia will let future development languish and/or restrict future commercial licenses. Nokia's track record to date hasn't shown anything this evil, but you never can tell.

Re:Android Lighthouse: Android Qt Port by kjhghjkjh on Friday February 11, 2011 @01:50PM (#2207632)
How is OpenSolaris doing now that Sun has gone?
Re:Android Lighthouse: Android Qt Port by sid0 on Friday February 11, 2011 @11:25AM (#2206874)
A developer who is so dependent on one language/framework that he cannot learn another in a reasonable amount of time is one I have no sympathy for.
Re:Android Lighthouse: Android Qt Port by kjhghjkjh on Friday February 11, 2011 @11:35AM (#2206937)
Learning Java is easy - porting 20years of libraries from C/C++ to Java is trickier.

We only just got done porting them all from Fortran!

Re:Android Lighthouse: Android Qt Port by sid0 on Friday February 11, 2011 @11:39AM (#2206964)
You could always use some sort of FFI. I don't think it's that big a deal, since you can still use C and C++ libraries on any desktop platforms + on Android.
Re:Android Lighthouse: Android Qt Port by xpaulbettsx on Friday February 11, 2011 @12:12PM (#2207171)
FFI to C++ is a frustratingly difficult task for a number of reasons (there's a great presentation from FOSDEM where the Mono guys try to do this, can't find it right now though). There's a reason why FFI is mostly done against C libraries.
Re:Android Lighthouse: Android Qt Port by sid0 on Friday February 11, 2011 @12:48PM (#2207346)
Fair enough: I was thinking more about C than C++ there. I guess that for at least some libraries an FFI + a C to C++ glue layer might work.

Now that I think of it, I'm happy with a C + high-level language future, and C++ programmers should pick up one or both of them.

Re:Android Lighthouse: Android Qt Port by blub on Friday February 11, 2011 @04:47PM (#2208288)
It's not so much dependency as not seeing the point of relearning the same stuff under a different name.

Neither C# nor Java offer tangible benefits over C++ for me. I don't learn anything new, I just have to memorize new APIs. Terribly wasteful.