Subsecond is a Rust library for hot-patching running applications without restarting them.
It detours function calls through a jump table to load updated code safely without modifying memory.
Wrap functions with subsecond::call and use the Dioxus CLI (dx serve --hotpatch) to apply live patches.
Includes ThinLink to speed up incremental compilation in development mode.
Currently only patches the main crate; has limitations with struct layout, globals, and thread-locals.
Supports major platforms (Android, iOS, Linux, macOS, Windows, WebAssembly) and is MIT-licensed.
Get notified when new stories are published for "General AI News"