-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
Message Rewrite Facility-like system #160
Comments
WASM would be great (multi-lang support!), but the ecosystem is still in flux. Many different approaches to consider. Another good candidate is Rhai:
On that note, here’s an interesting discussion considering the trade offs between Rhai and Deno, albeit for a different use case: aurae-runtime/aurae#35 I think one interesting point in Rhai’s favor not mentioned there is that it supports WASM. Meaning, for a scripting system with a long term plan to use WASM, Rhai can serve as an intermediary step, starting as the singular scripting language until it’s eventually delegated to one of many options when WASM is introduced as the primary scripting platform. |
+1 for WASM. I'm considering it as well, because WASM MRF modules can be reused by other implementations. |
@silverpill Interoperability would be really nice. I think an API such as should be sufficient for a start? That should be possible since WASM does have the possibility to return multiple values now. Or the |
Yes, that should be enough. In the future it would be nice to also expose some kind of API to MRF module (to let it read some data from database, for example). |
Definitely. Maybe we should define some kind of API together and specify it somewhere so at least Mitra and Kitsune stay in sync. |
That would make a good Fediverse Enhancement Proposal :) |
I guess that would also be a nice preparation for me to write an FEP before I attempt to write the "identity proof login" FEP, heh |
Related scripting discussions in Lemmy: |
Somewhat of a followup to #140/#159 (since this system could potentially deprecate them)
I would really like to have a system similar to Akkoma's "Message Rewrite Facility" system (https://docs.akkoma.dev/stable/configuration/mrf/).
Somewhat related to #132 since we have to figure out what "scripting" system we want for these facilities.
The current main candidates are:
The text was updated successfully, but these errors were encountered: