epoll-shim
« Back to VersTracker
Description:
Small epoll implementation using kqueue
Type: Formula  |  Latest Version: 0.0.20240608@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: epoll kqueue linux macos bsd compatibility
Install: brew install epoll-shim
About:
epoll-shim is a userspace compatibility layer that implements the Linux epoll API using BSD kqueue. It allows software designed for Linux to run on macOS and other BSD-derived systems without modification. This library provides a bridge for cross-platform applications that rely on epoll for efficient event notification.
Key Features:
  • Implements Linux epoll API on top of kqueue
  • Designed for high performance and low overhead
  • Enables seamless porting of Linux software to macOS/BSD
  • Small, focused library with a simple API
Use Cases:
  • Porting Linux network services to macOS
  • Running Linux-native server applications on BSD systems
  • Developing cross-platform event-driven software
Alternatives:
  • libev – A full-featured cross-platform event loop library, whereas epoll-shim specifically targets API compatibility for epoll.
  • porting code to use kqueue directly – More work but offers native performance and full access to kqueue features.
License: MIT
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, arm64_ventura, arm64_monterey, sonoma, ventura, monterey
Version History
Detected Version Rev Change Commit
Sep 13, 2025 1:57pm 0 VERSION_BUMP 5595b0ff
Sep 13, 2024 3:23am 0 VERSION_BUMP 0db3d4f0