interface99
« Back to VersTracker
Description:
Full-featured interfaces for C99
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: c99 interfaces polymorphism macros development
Install: brew install interface99
About:
Interface99 is a C99 library that emulates interface-oriented programming by using macros to generate type-safe interface definitions and implementations. It enables developers to define abstract contracts that structs can implement, facilitating polymorphism and decoupling in C codebases. This approach enhances code maintainability and testability without relying on complex compiler extensions.
Key Features:
  • Pure C99 macro-based implementation
  • Type-safe interface definitions and polymorphism
  • Support for multiple inheritance of interfaces
  • Zero runtime overhead
Use Cases:
  • Implementing polymorphic behavior in C projects
  • Creating decoupled, testable architectures in embedded systems
  • Defining plugin systems or modular APIs
Alternatives:
  • gobject – More heavyweight, part of GLib, requires runtime type system
  • C++ – Native OOP support but adds language complexity and tooling requirements
Version History
Detected Version Rev Change Commit