DioxusLabs / DioxusLabs/dioxus

Hotpatching dylib/dll plugins (ie Godot + Rust)

Open
#4,273 1 comment 8 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
39.1k
Forks
1.9k
Avg merge
4d 10h
Merged PRs (30d)
4

Description

After seeing the Bevy demo I'd be extremely interested in doing the same for [godot](https://github.com/godot-rust/gdext).

One complication is that godot inverts the app <-> lib relationship: the app is godot.exe, and it loads the rust game logic as a dll.

Therefore, I don't think I can use ``dx serve --hot-patch``, instead I would need something like ``dx watch --hot-patch``, which builds the library once, then starts a dev-server and listens for incoming connections.

Can I use ``dioxus_devtools::connect_subsecond();`` from a dll that was loaded into a non-rust process using ``LoadLibrary``?

I'll try to play around with it a little myself, any pointers would be appreciated!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.