glib
« Back to VersTracker
Description:
Core application library for C
Type: Formula  |  Latest Version: 2.86.3@0  |  Tracked Since: Dec 8, 2025
Links: Homepage  |  @gtktoolkit  |  formulae.brew.sh
Category: Developer tools
Tags: glib gtk gobject c-library core-dependency cross-platform
Install: brew install glib
About:
GLib provides the core application building blocks for libraries and applications written in C. It offers advanced data structures like hash tables and linked lists, comprehensive string utilities, file operations, and an event-driven main loop. As a foundational dependency for the GTK ecosystem, it enables portable and robust application development across platforms.
Key Features:
  • Advanced data structures (GList, GHashTable, GTree)
  • Portable file I/O, networking, and threading APIs
  • Signal-based object system (GObject) with type safety
  • Cross-platform compatibility abstraction layer
Use Cases:
  • Developing core libraries that require portable C data structures and utilities
  • Building event-driven graphical applications using the main loop
  • Implementing object-oriented patterns in C via the GObject system
Alternatives:
  • Boost C++ Libraries – Provides similar functionality but requires C++ and is heavier for C projects.
  • Apache Portable Runtime (APR) – Focuses on portability primitives but lacks the rich object system and event loop of GLib.
Version History
Detected Version Rev Change Commit
Dec 8, 2025 11:14pm 0 VERSION_BUMP d939d4fd
Dec 26, 2024 8:20pm 0 VERSION_BUMP 71994612
Dec 14, 2024 2:04am 0 VERSION_BUMP 984f8df8
Dec 11, 2024 6:03am 0 VERSION_BUMP 2e5bae26
Oct 27, 2024 3:46pm 0 VERSION_BUMP bef8fd94
Oct 22, 2024 12:37am 0 VERSION_BUMP 7100a890
Sep 23, 2024 4:23am 0 VERSION_BUMP 29f4d680