Results 1 to 4 of 4

Thread: Tartan: Plugging Clang Into The GNOME Stack

  1. #1
    Join Date
    Jan 2007
    Posts
    14,815

    Default Tartan: Plugging Clang Into The GNOME Stack

    Phoronix: Tartan: Plugging Clang Into The GNOME Stack

    Tartan is a new research and development project by Collabora to yield a Clang analysis plug-in for GLib and GNOME...

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

  2. #2
    Join Date
    Dec 2012
    Posts
    196

    Default

    Nice.

    One of the drawbacks of GObject is that method tables cannot be optimized by the C compiler, as opposed to C++, where the compiler can optimize vtable lookups, and even inline function calls.

  3. #3
    Join Date
    Sep 2009
    Posts
    53

    Default

    Quote Originally Posted by newwen View Post
    Nice.

    One of the drawbacks of GObject is that method tables cannot be optimized by the C compiler, as opposed to C++, where the compiler can optimize vtable lookups, and even inline function calls.
    Sure, but if you look at whats needed for providing a stable binary interface, then none of C++ niceties can be "exported" between (shared) libraries.

    If you try to solve these issues you will end up with something similar to GObject, Like this for example.

  4. #4
    Join Date
    Nov 2008
    Posts
    147

    Default

    Quote Originally Posted by discordian View Post
    Sure, but if you look at whats needed for providing a stable binary interface, then none of C++ niceties can be "exported" between (shared) libraries.

    If you try to solve these issues you will end up with something similar to GObject, Like this for example.
    vtable is the cornerstone of the C++ ABI

Posting Permissions

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