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

Allow tasks to be ran in interpreted mode #16

Open
jwoertink opened this issue May 14, 2023 · 0 comments
Open

Allow tasks to be ran in interpreted mode #16

jwoertink opened this issue May 14, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@jwoertink
Copy link
Member

It would be cool if we could tell the tasks to run in interpreted mode instead of waiting to compile. For larger apps, compile time on these tasks can get to be a bit much. (i.e. 90+ seconds before execution starts).

As of this writing, the Crystal interpreter is still in development and requires building a custom Crystal binary with it enabled. Until it's native, this won't be available as a default option, but we could potentially make it also behind a flag.

I have no clue how the performance would be, but I'm hoping that there may be cases where running slower code in the interpreter would be the optimal choice because maybe the code won't take long to run anyway, and time to first execution would be a lot faster than waiting on the compiler.

@jwoertink jwoertink added the enhancement New feature or request label May 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant