Page 1 of 3 123 LastLast
Results 1 to 10 of 37

Thread: Programming Languages For X Applications

Hybrid View

  1. #1
    Join Date
    Jan 2007
    Posts
    15,133

    Default Programming Languages For X Applications

    Phoronix: Programming Languages For X Applications

    Bart Massey, an X.Org Foundation Board of Directors member and Portland State University employee, shared his opinions this week on programming languages for X applications and the web vs. the desktop...

    http://www.phoronix.com/vr.php?view=MTE5MDc

  2. #2
    Join Date
    Aug 2012
    Posts
    23

    Default

    Great talk!
    I still remember the day I wrote my first GUI app using WINAPI in C++, so much effort for something that should normally be simple.

  3. #3
    Join Date
    May 2012
    Location
    Sunshine State
    Posts
    307

    Default

    This is why I like D. Convenience + Power/Efficiency. Still needs work though (better GC, ARM support, etc)

  4. #4
    Join Date
    Jan 2008
    Posts
    772

    Default

    I don't see how he ever actually made the case for the focus on languages (though I skipped some of the Q&A). Basically, a lot of his explanations come off to me as "someone wrote a problematic toolkit in/for <language> that became popular, therefore we should abandon <language> for desktop application development". It's not as though GTK+ or Qt represent the height of elegantly idiomatic C or C++. Had that been the case, I think his point would have made a lot more sense as stated.

  5. #5
    Join Date
    Jul 2008
    Location
    Greece
    Posts
    3,798

    Default

    Well, he is an academic. Those are among the most misinformed people I know of, to the point of being completely detached from actual reality.

  6. #6
    Join Date
    Jan 2008
    Posts
    206

    Default

    Quote Originally Posted by RealNC View Post
    Well, he is an academic. Those are among the most misinformed people I know of, to the point of being completely detached from actual reality.
    Although I really didn't get the conclusion of the talk (except that the choice of PL does matter of course), I just have to agree with him: GTK+ is a pain in the ass.
    Its also one of the reasons so little development (and optimizations - every GTK release since 1.2 has only gotten slower) happens inside of GTK+ itself, its just plain hard - adding a single public method requires the developer to add code to about ~4 different places, just because they still stick to C and emulate object orientation by abusing macros and structurs.

  7. #7
    Join Date
    Sep 2008
    Posts
    267

    Default

    Quote Originally Posted by RealNC View Post
    Well, he is an academic. Those are among the most misinformed people I know of, to the point of being completely detached from actual reality.
    well, I didn't saw the videos but...everyone who writes a GUI based program in C or C++ should be thrown into a desert, far away from any technology so that he can't do any further damage to humanity.

  8. #8
    Join Date
    Jan 2007
    Location
    Germany
    Posts
    2,156

    Default

    Please help me out here. To sum up the above comments:

    Gtk+ sucks.
    C/C++ for desktop applications sucks (Qt uses C++).

    So what shall we do?

  9. #9
    Join Date
    Jul 2008
    Location
    Greece
    Posts
    3,798

    Default

    Quote Originally Posted by Detructor View Post
    well, I didn't saw the videos but...everyone who writes a GUI based program in C or C++ should be thrown into a desert, far away from any technology so that he can't do any further damage to humanity.
    Yeah, right. I have a project with a 300.000 line code base (low level, performance-critical stuff), in C++. Throwing-in the GUI in C++/Qt which takes about 4000 lines of code is the *least* work. It's even almost trivial, so why even bother with anything else.

    I stand by my "detached from reality" comment.

    I only agree that writing GUIs in C is somewhat awkward. And besides, doing GUIs in C++ feels very natural. As if that's how the universe intended it to be.
    Last edited by RealNC; 09-22-2012 at 09:15 AM.

  10. #10
    Join Date
    Mar 2010
    Location
    Slovenia
    Posts
    390

    Default

    Quote Originally Posted by Detructor View Post
    well, I didn't saw the videos but...everyone who writes a GUI based program in C or C++ should be thrown into a desert, far away from any technology so that he can't do any further damage to humanity.
    So which language do you suggest?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •