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

Missing Documentation #69

Open
FLAMESpl opened this issue Feb 22, 2024 · 2 comments
Open

Missing Documentation #69

FLAMESpl opened this issue Feb 22, 2024 · 2 comments

Comments

@FLAMESpl
Copy link

FLAMESpl commented Feb 22, 2024

There isn't much in the readme and project does not have a real documentation.

I am wondering how to setup sandboxing for my scripts:

  • how do I avoid stack overflows? (do function calls causes to stack to grow? is it possible to overflow it by recursion?)
  • how do I limit memory usage?

And also how to interop with .NET, whether it is possible in LUA mode too or only in WattleScript?

@MirKml
Copy link

MirKml commented May 10, 2024

agree, there is nothing about Wattle language - without LUA mode. I'm interested in, because there isn't many script solutions for .NET. Moonsharp seems dead.

@FLAMESpl
Copy link
Author

@MirKml Interesting alternative is scripting in c# (or generally in any language) then compile it to WASM in runtime (there is wasm-time port for dotnet). wasm-time allows you to run script in completely isolated environment and can interop with the host.

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