r3
« Back to VersTracker
Description:
High-performance URL router library
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: c-library routing networking performance radix-tree
Install: brew install r3
About:
R3 is a high-performance URL router library written in C. It features a radix tree structure for efficient route matching and supports dynamic route parameters. It is designed to be lightweight and fast, making it ideal for embedding in web servers and other network applications.
Key Features:
  • Radix tree-based routing for O(1) or O(log n) lookups
  • Support for dynamic path parameters and wildcards
  • C library with bindings for multiple languages
  • Zero-copy memory management for efficiency
Use Cases:
  • Building custom web servers or proxies requiring fast routing
  • Implementing API gateways with complex URL matching rules
  • Embedded systems where performance and low memory footprint are critical
Alternatives:
  • libmicrohttpd – Provides a full HTTP server stack, whereas R3 focuses solely on the routing logic.
  • OpenResty (lua-resty-route) – Lua-based routing within the Nginx ecosystem, offering more scripting flexibility but requiring a larger runtime.
Version History
Detected Version Rev Change Commit
Sep 15, 2025 8:43pm 0 VERSION_BUMP 0b25d82f
Sep 14, 2024 2:35am 0 VERSION_BUMP f1a35582