News for hackers. Stuff that matters.
Re:Nokia announces start of Qt 5 development by ebiester on Monday May 09, 2011 @01:27PM (#2529461)
Point of clarification: ActionScript and JavaScript are both dialects of ECMAScript.

Now, it isn't just that JS is easier to learn for 'artistic types', but it really is a quicker development process than traditional C++. My worry would be performance, just like everyone else. If you have already decided that a web application isn't good enough, why are you going to be okay with the JS penalty?

Re:Nokia announces start of Qt 5 development by wladimir on Monday May 09, 2011 @01:35PM (#2529490)
For the performance-critical parts you can still use C++. A web application does not allow that. Heck, as I said in my grandparent post, you can still use C++ for everything if "JS is not good enough".

Most people in the real world care about development turnover time. And as you say, developing in Javascript is a lot quicker than in C++, so why not write the non-performance-critical parts in JS?

Re:Nokia announces start of Qt 5 development by ebiester on Monday May 09, 2011 @02:48PM (#2529741)
Funny enough, I have written a piece of a web application in C, connected by JNI. It's even easier with CPython. Certainly, you can't do that with client-side JS, but could you imagine mixing desktop-side JS and C++ in the view?

That said, the piece that is in most need of performance in a desktop application is often the GUI itself. Imagine Microsoft Word taking a split second more when it updates the ribbon, for example.

Perhaps there is an exception for desktop apps that need direct connections to hardware.

Re:Nokia announces start of Qt 5 development by wladimir on Monday May 09, 2011 @03:01PM (#2529784)
Games have used scripting for GUIs forever. If performance is important somewhere it's in games. So I wouldn't be worried at all if it is used for "boring" desktop apps.

As long as the drawing is fast (which is the case, as it is handled by the GPU), it really doesn't matter in human time whether it takes 0.01ms or 0.001ms to react.