Slashdot Mirror


TrollTech to IPO?

burninginside writes "Yahoo is reporting that Trolltech, the world's biggest producer of Linux software for mobile devices, may be heading public. 'Sources close to the company' said the move may come as soon as 12 months but the official word is still that it 'is not in our immediate plans.'"

1 of 150 comments (clear)

  1. Re:Let's don't get ahead of ourselves by Phosphan · · Score: 5, Insightful
    > C++ and Qt C++ is comparable to java and dotnet in terms of bloat and raw speed.

    That's not even comparing apples and oranges - that's comparing cars, toasters and computers.

    Let's get this straight. C++ is a programming language (and it's standard library). Java is a programming language, a standard library and a virtual machine. .net is a framework that can be used by several very different languages.

    > You can just feel the object oriented speed penalty in both kde and trolltech windows, compared gtk or win32 api c.

    Sure. What about comparing programs that actually do the same instead of some that just somehow look similar? There is no such thing as an "object oriented speed penalty". OOP is a way of doing things that's often used even in languages that don't support it. OOP languages just provide some help and eye candy for doing things the OO way. Your beloved gtk API is definitely object oriented. If you don't believe me (and can't see it from the API), just check http://developer.gnome.org/doc/API/2.0/gtk/gtk.htm l and read: "GTK+ has a C-based object-oriented architecture that allows for maximum flexibility.".

    This "oop is bad" example is just ridiculous and has nothing to do with the actual experience in any OO language. The opposite is true. Normally you have something like:

    something = SomeAllocFunction(something_specification)
    someth ingElse = SomeAllocFunction(specification_for_something_else )
    result = add_somethings(something, somethingElse)
    FreeSomething(something)
    FreeSome thing(somethingElse)
    ... and still don't have any reasonable error handling, which makes the code much worse readable.

    In an OO language with operator overloading you would get: result = Tsomething(specification) + TSomething(otherSpecification)

    About your "suggestion" to use C as an intermediate language - good morning, there are things that can't (or can only with a some performance hit) be translated into C.

    Praising BASIC really is an evil idea. You should't expose novice programmers to this pest when there are so much cleaner languages around which make it harder to write spaghetti code and shoot yourself in the foot than BASIC. For example, you already mentioned Python.

    By the way, good morning, Java bytecode does not have to run interpreted. There are both available: Just in time compilers and ordinary compilers.

    Perhaps you should also notice that C++ is not an object oriented language. Java is. C++ just allows you to do OOP. Or ordinary imperative programming. Or generic programming. Or mix them all.

    Reading your comment once again I really get the impression I am just feeding a troll. Perhaps you are not, but I just can't let it uncommented as "insightful" when you obviously don't know what you are talking about.