Skip to content
New issue

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

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

Already on GitHub? # to your account

FS access to enable <mj-include> #22

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

FS access to enable <mj-include> #22

gedw99 opened this issue Jul 19, 2024 · 2 comments

Comments

@gedw99
Copy link

gedw99 commented Jul 19, 2024

Hey

The could be done using WASI ?

requires FS access and wazero WASI provides this.

https://github.com/tetratelabs/wazero/tree/main/imports/wasi_snapshot_preview1/example#wasi-example

https://github.com/tetratelabs/wazero/blob/main/imports/wasi_snapshot_preview1/example/cat.go is a basic working example

@F21
Copy link
Member

F21 commented Jul 19, 2024

I think it should be doable, but I don't have time to look into it at the moment. Not sure what the FS performance for wazero is like, but it's definitely something that needs to be considered as well.

If you're happy to implement this, I am happy to review and look at the PR(s).

@gedw99
Copy link
Author

gedw99 commented Jul 19, 2024

Hey @F21

I dont know the performance implications either. Then again we dont have a choice though.

I would love to implement it but am I working on more critical things right now.

Shall we leave it open for now ?

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

No branches or pull requests

2 participants