Announcement

Collapse
No announcement yet.

Tartan: Plugging Clang Into The GNOME Stack

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    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.

    Comment


    • #3
      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.

      Comment


      • #4
        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

        Comment

        Working...
        X