rust-hot-reloading
live-reloading-rs
rust-hot-reloading | live-reloading-rs | |
---|---|---|
2 | 2 | |
177 | 89 | |
- | - | |
0.0 | 0.0 | |
almost 2 years ago | over 3 years ago | |
Rust | Rust | |
MIT License | - |
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
live-reloading-rs
-
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).
-
Splitting build destination for exact files in Rust project
I have pretty weird question. I am trying to use crate live reload. To understand how it works I cloned demo project, but I have problems understanding how it works. From what I understand lib.rs file should be built to libreloadable.dylib but it doesn't in fact I don't even know if it's possible to build part of project to dynamic library and other files(main.rs etc.) to executable. Cloned demo project doesn't work for me it panicks on loading the library. I feel pretty lost. Can you please tell me how it works and how project should be structured to support such thing?
What are some alternatives?
dynamic_reload - Dynamic reloading of shared libraries
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
nannou - A Creative Coding Framework for Rust.
bat - A cat(1) clone with wings.
rust-hotswap - Easily hotswap functions in running executables
alacritty - A cross-platform, OpenGL terminal emulator.
hot-reload-rs - Example of hot reloading for minifb using shared memory
ihp - 🔥 The fastest way to build type safe web apps. IHP is a new batteries-included web framework optimized for longterm productivity and programmer happiness