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

App IPC is complex, but xdrpc is underutilized #723

Open
KernelDeimos opened this issue Aug 28, 2024 · 1 comment
Open

App IPC is complex, but xdrpc is underutilized #723

KernelDeimos opened this issue Aug 28, 2024 · 1 comment

Comments

@KernelDeimos
Copy link
Contributor

KernelDeimos commented Aug 28, 2024

It looks like I can simplify certain types of IPC significantly by doing two things:

  • make use of puter.util.xdrpc (after documenting it really well), which is currently underutilized
  • use a registry in IPC.js for more declarative exposure of methods in Puter's gui
    • this can be done incrementally, moving IPC calls from the if...else block up as needed
    • this has significant benefits for maintaining security

puter_ipc drawio (1)

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

4 participants
@KernelDeimos and others