Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make webserver async #160

Open
JoeyBF opened this issue Jul 19, 2024 · 2 comments
Open

Make webserver async #160

JoeyBF opened this issue Jul 19, 2024 · 2 comments

Comments

@JoeyBF
Copy link
Collaborator

JoeyBF commented Jul 19, 2024

It's a bit silly to manually handle threads/channels/messages to make sure everything is quick and nonblocking when that is why async exists.

While we're at it, I suggest we integrate both the JS frontend and the Rust/WASM manager into a single crate, using something like dioxus or leptos. I expect that it will make the webserver much easier to maintain and upgrade in the future.

@dalcde
Copy link
Contributor

dalcde commented Jul 19, 2024 via email

@JoeyBF
Copy link
Collaborator Author

JoeyBF commented Jul 19, 2024

I'm not fluent in webapp-speak yet so I'm not 100% sure, but it looks possible or requires at most the amount of work we put in the code as it is right now.

How much do we want full-wasm mode? Is it just to serve using gh-pages? I'm thinking we can just rent a server somewhere for cheap and host there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants