Get the latest tech news

Subsecond: A runtime hotpatching engine for Rust hot-reloading


Subsecond: Hot-patching for Rust

Instead, an external tool compiles only the parts of your project that changed, links them together using the addresses of the functions in your running program, and then sends the new jump table to your application. In practice, frameworks that implement subsecond patching properly will throw out the old state and thus you should never witness a segfault due to misalignment or size changes. To add support for the Dioxus Devtools protocol to your app, you can use the dioxus-devtools crate which provides a connect method that will automatically apply patches to your application.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of engine

engine

Photo of runtime

runtime

Photo of reloading

reloading

Related news:

News photo

The Nyanja new PC-Engine/TurboGrafx 16-bit console game in development

News photo

Phoenix.new – Remote AI Runtime for Phoenix

News photo

Show HN: PyDoll – Async Python scraping engine with native CAPTCHA bypass