-
Notifications
You must be signed in to change notification settings - Fork 125
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
Deno/bun support #951
Comments
Sure! Thank you for bringing this up. I would like to add that Deno and Bun are both gaining popularity as alternative JavaScript/TypeScript runtimes due to their speed and new features. While there is an increasing interest in making our application compatible with these platforms, we need to carefully evaluate the potential benefits and challenges associated with each:
Next StepsIt would be helpful if someone from the team can:
Once we have a clear understanding of the trade-offs, we can make an informed decision whether to prioritize Deno or Bun support or explore other options. What are your thoughts?
|
No real issues, hasn't been a focus. |
@pelikhan , I see, thank you. I'm more interested in sandbox abilities, as I would like to expose GenAIScript functionality to a wide audience and hence need to be sure it will be properly isolated. Ben/deno seems to be pretty much built-in with those features. So, if ben/deno are not really in focus, do you have anything related to execute untrusted code on the roadmap? If so, is there any estimate? If not, is there something you could probably advise in those regards? Thanks in advance! |
Actually, there's a big one that will require some though. GenAIScript currently loads .mjs/.mts files through https://tsx.is/ which only supports node.js. I need to read more into bun to see if it can be replaced natively.
One way to sandbox genaiscript would be to run it in a docker without internet access. Otherwise, it's unclear how you can sandbox a JavaScript VM when importing user code. |
I also tried deno and it seems that it will be a lift to support that one too. Our process library |
I was thinking about Deno's Sandbox primarily. btw, is |
Thank you! Is there any plans / concerns on making it run under deno / bun? It will highly improve speed and, if I understand that right - offer additional sandbox abilities
The text was updated successfully, but these errors were encountered: