Repository navigation
v0.1.0
First release: revolt/event-loop 1.0.9 implemented natively in Rust as the revolt PHP extension. Code on Revolt (Amp v3, your own) runs unchanged on a native loop, 1.5–5× faster.
- Same API: Reflection-identical to revolt/event-loop, whose own test suite passes unchanged. Differences, each pinned by a test, are in DIVERGENCES.md: one driver class,
Driver\NativeDriver, andEventLoop::setDriver()throws. - Native reactor: epoll (Linux), kqueue (macOS), WSAPoll (Windows); no
stream_select()limits, no ext-ev/event/uv, signals without ext-pcntl. - Embeddable: other Rust extensions can share the loop from Rust through a versioned ABI, see EMBEDDING.md.
- PHP 8.2–8.6, NTS and ZTS, Linux, macOS, Windows. Composer: danog/revolt-rs provides revolt/event-loop 1.0.9.
Install with PIE:
pie install danog/revolt-rsPre-built binaries are attached below; where none matches, PIE builds from source (needs Rust and libclang).