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

idea: use a webassembly runtime to host mode plugins #56

Open
malcolmstill opened this issue Aug 10, 2021 · 0 comments
Open

idea: use a webassembly runtime to host mode plugins #56

malcolmstill opened this issue Aug 10, 2021 · 0 comments

Comments

@malcolmstill
Copy link
Owner

With ulubis, one of the nice ideas (I think) was the mode system where a standard desktop-like interface is a mode, and then alt-tab window switcher behaviour is actually a completely different mode that gets pushed onto a mode stack. The modes had a common api (e.g. a render method, a handle key method etc.) that when implemented produces the desired behaviour.

I want the same for foxwhale, but what might be cool is making those modes wasm modules so that you might load them in as plugins at runtime or in such a way where you are less trustful of the source (compared to, say, a dll)

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

1 participant