import as a means of code execution #727
Unanswered
briandowns
asked this question in
Ideas
Replies: 1 comment
-
Another option would be to provide an exec function like Python does. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was giving some thought about building another FaaS system for fun. After experimenting with a lot of different approaches I found that the
import
statement is a great means of code execution. There are another of other interesting approaches as well but wanted to brainstorm on this idea.The roadblock I'm hitting is that the module is added to the
vm->modules
table. Another hinderance is that variables aren't able to be used as import targets.I'm going to keep experimenting with different means of executing dynamically generated or provided code but wanted to get the conversation started around some of these things.
===========
even.du
odd.du
or
Beta Was this translation helpful? Give feedback.
All reactions