Replies: 1 comment 2 replies
-
If you use |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone, I am working on a project where users may dynamically add plugins during runtime. I ran into an issue because, presumably, the _ _ import _ _() call I am making must block execution while it prepares the dynamic module for execution (compiles the code to bytecode, moves that bytecode into memory, and perhaps more(???)). It is a detriment to my application for this pause to happen (takes on the order of seconds) because the modules are meant to augment a simple animation on addressable LEDs and the pause breaks immersion.
I got to wondering if it would be possible for a coprocessor to receive and compile the code to byte code in parallel to the main processor executing the main functionality. I am reaching out to ask if anyone knows ahead of time whether this is a total fools errand. Is there some magic step where the main task must know about results of the compilation? Does compiling code into bytecode require context from the execution environment?
Is there something I am missing? Perhaps another way to solve this issue?
Thanks in advance for taking the time to share a little wisdom here.
Beta Was this translation helpful? Give feedback.
All reactions