GNOME's GLib Finally Has A Generic Reference Counting API
Written by Michael Larabel in GNOME on 9 July 2018 at 07:44 AM EDT. 14 Comments
Fulfilling a 6+ year desire, GNOME's GLib library now has a generic memory reference counting API.

Going back to at least 2012 has been interest in GLib having a generic reference counting API and as of today such an interface was added to this important GNOME library. Providing a generic reference counting API should help GLib's support/adoption in bindings for languages providing automatic memory management / garbage collection. GLib is what provides the core object system in GNOME and other important core functionality.

Details on the new API can be found via GitLab with this API that offers reference counting semantics to any memory allocations. This significant addition to the library is merged in Git and will be present in GLib 2.58 stable.
Related News
About The Author
Author picture

Michael Larabel is the principal author of and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and automated benchmarking software. He can be followed via Twitter or contacted via

Popular News This Week