rust-hot-reloading
dynamic_reload
rust-hot-reloading | dynamic_reload | |
---|---|---|
2 | 1 | |
177 | 366 | |
- | - | |
0.0 | 4.0 | |
almost 2 years ago | 9 months ago | |
Rust | Rust | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rust-hot-reloading
-
Paradox of the Perfect Code Editor
Yes https://fasterthanli.me/articles/so-you-want-to-live-reload-... (discussed here https://www.reddit.com/r/rust/comments/j0ajdy/so_you_want_to...)
And then there's this crate https://docs.rs/live-reload/0.2.0/live_reload/ which works on the same principles as the article above, and is based on C code (i.e. the same approach works for C).
There's a bunch of other libraries that work the same way, and some example code that can do this. I can find https://github.com/irh/rust-hot-reloading and https://github.com/porglezomp-misc/live-reloading-rs and https://github.com/xixixao/hot-reload-rs
And then there's https://github.com/emoon/dynamic_reload which is perhaps better?
And there's https://github.com/draivin/rust-hotswap which has a nice API but uses a deprecated rustc internal API doesn't build anymore.
Anyway there was a library that did this in a more elegant way and I just can't find it (perhaps it was rust-hotswap anyway).
-
hot reloading sketches and apps in Nannou
I see the Nannou part of your question was answered, but to the other part: You can hot-reload in a compiled language, I'd just generally advise against it without specific toolchain support or some other kind of runtime support (since this is a system language you can do it yourself). There are some people who do it, and more power to them. For example: https://github.com/irh/rust-hot-reloading
dynamic_reload
-
Paradox of the Perfect Code Editor
Yes https://fasterthanli.me/articles/so-you-want-to-live-reload-... (discussed here https://www.reddit.com/r/rust/comments/j0ajdy/so_you_want_to...)
And then there's this crate https://docs.rs/live-reload/0.2.0/live_reload/ which works on the same principles as the article above, and is based on C code (i.e. the same approach works for C).
There's a bunch of other libraries that work the same way, and some example code that can do this. I can find https://github.com/irh/rust-hot-reloading and https://github.com/porglezomp-misc/live-reloading-rs and https://github.com/xixixao/hot-reload-rs
And then there's https://github.com/emoon/dynamic_reload which is perhaps better?
And there's https://github.com/draivin/rust-hotswap which has a nice API but uses a deprecated rustc internal API doesn't build anymore.
Anyway there was a library that did this in a more elegant way and I just can't find it (perhaps it was rust-hotswap anyway).
What are some alternatives?
nannou - A Creative Coding Framework for Rust.
rust-hotswap - Easily hotswap functions in running executables
live-reloading-rs - Live reloading for Rust programming
hot-reload-rs - Example of hot reloading for minifb using shared memory