Slashdot Mirror


A Taste of Qt 4

Karma Sucks writes "In 'A Taste of Qt 4', Trolltech reveals that it is positioning Qt 4 directly against Java. Qt 4 promises to be smaller and faster than its predecessors and there will be a boatload of new features including support for non-GUI applications and accessibility under Linux using Sun's ATK. More controversial is the introduction of a new and elegant foreach construct. Incidentally, for those still opposed to Qt's moc preprocessor, Havoc has some interesting comments. It is possible the idea will be adapted to provide GObject introspection in the future."

21 of 365 comments (clear)

  1. QT vs Java by Anonymous Coward · · Score: -1, Troll

    Hmmmm, reminds me of an Iron Chef....which was it? Oh yes:

    BATTLE FAGGOTRY!

  2. False pretenses by mao+che+minh · · Score: -1, Troll

    The article speaks as if Java is still a real contender. It is not.

  3. Trolling for Trolltech by Anonymous Coward · · Score: -1, Troll

    GTK Sux!!

  4. USEFUL News for Nerds: by Anonymous Coward · · Score: -1, Troll


    The Internet Fart Chair is a chair with a cushion composed of a porous material, and it generally belongs to an internet enthusiast. When the Internet buff is too engrossed in web surfing, he often cannot bother to lift his butt out of the chair, and his farts become trapped in the porous cushion. Anyone who sits in an Internet Fart Chair can smell the farts of the owner as the pressure releases the entombed gasses. Worse than that, however, the Fart Chair releases gasses in a slow process as well, leaving a slight smell of farts in the air for many days after the last fart has been forced into the foam.

    But why worry about Fart Chair? Once the user gets accustomed to the smell of his own farts, the aroma can become quite pleasurable and even evoke a sense of pride and accomplishment. The answer is quite simple. Internet enthusiasts -- let's be frank -- will often need as much on their side as possible if they are to ever have success with the opposite sex. One of the best ways to improve your chances of closing a deal with a fair maiden is to eliminate Fart Chair, or, better yet, make sure you never get Fart Chair in the first place. After all, when you first get her back to your hovel, the first thing she will notice is the smell of your Fart Chair. You might think this is no problem, but remember: If this is your crucial first time having her over, SHE HAS NOT HAD TIME TO ADJUST TO YOUR FARTS YET!

    The best way to make sure Fart Chair never happens is to use a chair with a plastic, vinyl, or wooden seat. The only way to contaminate these is to sit in them naked and fart when you have an intestinal virus. Even then, a quick swipe with some windex and a rag should eliminate the smell and solids easily. But what if you like to have a soft cushion covered with comforting cloth material under you? How can you avoid Fart Chair? You will not get Fart Chair if you simply follow this simple instruction: LIFT YOUR BUTT OUT OF THE CHAIR BEFORE FARTING AND LEAVE IT ALOFT FOR 30 SECONDS. This can be remembered by memorizing the simple phrase, "LIFT, BREAK, AND WAIT." There are some obvious obstacles to carrying out this plan, not the least of which is that if you eat a lot of fart-producing foods, you will get tired of lifting, holding, then sitting down again. Consider eating less gasseous foods.

    You're doing great! I'm proud of your progress. But what if you already have Internet Fart Chair? You have probably already tried bouncing on it, beating it, sweeping it, but nothing worked. Internet Fart Chair can be a daunting enemy. There is one way, however, to beat Fart Chair decisively. Use a vacuum cleaner with the hose attached, but with no attachment on the end. Press the hose end repeatedly into the cushion, compressing the porous material, and repeat over the entire surface of the cushion. The farts will be quickly and efficiently sucked from the cushion! No more embarassing rejection by the girl of your dreams! You will have plenty of time to get her used to the smell of your farts later, but for now, it is best to stay on the safe side. Happy surfing!

  5. Re:The Future of Linux by Anonymous Coward · · Score: -1, Troll

    I know what this is. This is an espresso machine.

  6. Slashdot ... by Anonymous Coward · · Score: -1, Troll

    Slashdot, bringing you yesterday`s OSNews posts today !

  7. More controversial is the new FOREACH by ferretous · · Score: -1, Troll

    Amazing what you can do with them thar macros

  8. Linux has no chance by Anonymous Coward · · Score: -1, Troll

    I don't think Trolltech has a chance here. Their primary target is Linux and Linux will fail on the desktop. Trolltech will be a niche player.

  9. Donald Duck by Anonymous Coward · · Score: -1, Troll

    Donald Duck is going to have a SCREAMING SQUIRMING DRY ORGASM when he finally gets QT 4 on his computer. It's just teh very b3st system in the world to use for browsing pr0n, and as you all know, thanks to me, Donald Duck just loves to flip through his Daisy Duck pr0n collection more than anything else.

  10. Re:Ack by Bingo+Foo · · Score: 0, Troll

    Yeah, if they said that Quake 4 were being positioned directly against Java, that would make more sense.

    --
    taken! (by Davidleeroth) Thanks Bingo Foo!
  11. Re:FUCK RUSTY FOSTER by Anonymous Coward · · Score: -1, Troll

    Just because he banned your stupid ass from K5. Have a cry.

  12. Re:FUCK YOU SPAIN! by Anonymous Coward · · Score: -1, Troll

    Looks like your plan to fuck up shit good and get everybody in line with your agenda trying to patch it up is breaking apart...

  13. Flamebait -1 by Anonymous Coward · · Score: -1, Troll

    "Havoc has some interesting comments. It is possible the idea will be adapted to provide GObject introspection in the future."

    Havoc says jump.... and the KDE people ask how high and how far.

  14. Re:FUCK YOU BUDDY by Anonymous Coward · · Score: -1, Troll

    WW2 Motherfucker. Remember who won.

  15. Re:FUCK YOU BUDDY by Anonymous Coward · · Score: -1, Troll

    Vietnam, asshole. Remember what happened.

  16. Re:Mono-Culture? by Anonymous Coward · · Score: -1, Troll
    It's not a Monopoly... I don't think Gnome is gonna embrace Qt (at least now). So Mono has its place.

    Remember, the main reason Gnome and GTK is around is because of the restrictive non-free licensing of Qt which KDE uses. Whether or not they may have attempted to remedy certain license issues recently is irrelevent as they have showed that they are willing to operate as a closed proprietary solution. They have no place in open source products IMHO. Just look at their Windows version.. it's very expensive.

  17. Re:Qt is almost a like a language by Anonymous Coward · · Score: -1, Troll

    Boy, does one already born being so stupid and arrogant, or do you have to try hard? The only thing you've proven is that you're exactly what you're accusing the others to be.

  18. Re:Trolling? by SerpentMage · · Score: 0, Troll

    I was a manager of a team of about 20 people. We went to a company similar to TrollTech, except they were called Rational. When you start to multiply the numbers, and remember you do not JUST buy an SDK. But you need an editor, computer, build system, etc, etc. It all starts to add up.

    When I use toolkits like wxWidget or even GTK and the helper apps the money needed to get Qt simply does not add up.

    Heck, it would be cheaper and more effective to buy Visual Studio C++ and then use Winelib. Probably the application would run better as well.

    --

    "You can't make a race horse of a pig"
    "No," said Samuel, "but you can make very fast pig"
  19. Re:Java? by master_p · · Score: 0, Troll

    the Qt APIs/libraries could not possibly yet be considered as complete as the core Java APIs

    And what do the core Java APIs have that Qt does not have ? you do not mention any example.

    database access, rpc, and web application development

    Of course Qt has the above. Just take a look at the Qt API help. It is online.

    If so then perhaps I'll call it a "platform"...

    Or you may start calling Java a 'toolkit'... ;)

    but the cool thing about Java is that I can compile it on my Mac OS X, or Windows desktop (with all the ease of use, etc., etc.)

    Qt source code is 100% compatible in Unix, Windows and MacOS.

    and deploy it onto industrial strength Unix, AIX, Sun cluster, Linux, etc. with drag and drop and NO recompilation.

    Yes, but Qt apps are compiled once and are delivered as-is (in binary form); no need for different Java API installations (and API incompatibilities); faster, more economical.

    If you compile a new web app every half an hour, the Java system is better. But how often is this the case ? not very often, especially in non-web apps.

    If the "goodies" where a standard set this might be a valid argument. There is immense value to me to know that I can download almost any Java project and not worry about how they manage memory, what type of smart pointers they use, what "goody" libraries they use to do this or that, since in Java a vast amount of common functionality is all standardized.

    But Qt is exactly that: 100% standard across all libraries. Once you have Qt, you don't need any other libs, nor you need to know anything about memory allocation techniques of other libs). Qt does everything.

    Performance is no longer an issue.

    You are freaking and plain wrong. I work in a company that makes Java and C++ applications. Java has the same speed in C++ for numerical computations, because it does not involve objects. All other things, involve the freaking one-size-fits-all Object class: too much time is spent in casting, creating objects just to search collections, calling virtual interfaces, etc.I know it, because I've measured it in our apps.

    But observe the retail computing industry - consumers are showing that performance is NO LONGER AN ISSUE.

    Then why our developers have a 2x increase in productivity when moving from JDeveloper 10.5 to Visual Studio .NET ? I will tell you why: because JDeveloper, written in Java, is 5 times slower than VS.NET.

    Of course, for retail apps, performance may not be an issue. But what are the retail apps ? Office ? it already exists and it is written in C++. In fact, where are the Java retail apps ? If performance is no longer an issue, where are the apps ?

    In fact, there are many Java apps around, but not retail. They are usually specialized apps or web applications. I know it because many of our development tools are in Java (and slow as hell).

    And why Swing is slow ? it is entirely written in Java, that's why. Because Java is slow, Swing is slow. It's not about latency of the O/S windowing system, because, for example, Microsoft's GUIs are much faster and quite better looking.

    Boy, that sounds familiar doesn't it...

    Java does not have profile-based compiling. It is something different than optimizing on the fly the compiled code. You obviously don't have a clue what it is about. Let me tell you: Profile-based compiling is based on the principle that an application should optimize for the most-usual cases; and optimization happens in algorithm level, not instruction level. For example, if an app can take 2 paths A and B, and the profiling shows that path A is taken at 80% of the cases, then the path A can be inlined for much faster access. In order for the compiler to arrive to such conclusions, the app has to be compiled as one translation init. Java can't do it, because it does not work like that. Java does not know what comes ahead, because it makes the assumption of the program being defined at run-time. And that's why C++ code is much faster than Java on the Itanium architecture.

  20. Re:Java? by Viol8 · · Score: -1, Troll

    "What's clear is that you haven't learned C++, "

    Really? Thats odd since recently I've just written a 21,000 line server program in it.

    "very, very few situations for which I'd choose C over C++. "

    So you won't ever have worked on OS kernel code then where a lot of the runtime features of C++ (for example exceptions) are not available or
    have limited scope for use. I'm not sure in your 14 years you've really done much to-the-metal coding, I suspect you're an applications coder who thinks a UML design is cool.