Java has @Autowired, and C has nothing? C has always had annotation-like tools: compiler attributes, IDL/ODL, X-macros, and formal annotations. This post explains what each one is, how to use it, and why AMX chose ODL.
libamxc's list is intrusive: the it node lives inside your struct, so enqueue/dequeue allocate nothing; queue/stack are just “take from the other end”. Why not GLib/STL? Because it is lighter, and containers + Variant are designed for serialization. Runnable examples and a comparison table.
Not exactly. libamxc borrows the STL's container ideas but uses C: void*, intrusive it, and macros for type recovery. No templates, no <algorithm>, no allocators. A comparison table of what it is and is not.
libamxc is the container library behind Ambiorix (prplOS): lists, hash tables, dynamic strings, variants, arrays and sets. Pure C, no C++ runtime, ~187 KB stripped, depends only on libc — usable in any C project. Six runnable examples.
Ambiorix (AMX) is the C framework behind prplOS: a component container, a bus abstraction and a TR-181-oriented data model. This page explains the architecture layer by layer, why it exists over ubus, and what it is not.
C has no standard containers. I looked for one for years, wrote my own, and it never felt right. Then I found Ambiorix (AMX) in prplOS — and realized I wasn't looking for a list/hash library, but for a container-based system skeleton. Pure C, no C++ runtime, ~187 KB stripped.