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

Multi-threaded compilation #38

Closed
Enn3Developer opened this issue Sep 26, 2022 · 2 comments
Closed

Multi-threaded compilation #38

Enn3Developer opened this issue Sep 26, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request experimental The changes may break something or be a bad idea
Milestone

Comments

@Enn3Developer
Copy link
Member

At the current state, when called to compile an entire folder of Clue files, the compiler will compile the files one by one. That by itself isn't something bad, but for bigger projects it may take quite a lot of time to compile everything.
The proposal is as follows: change the behavior of compile_folder inside main.rs to add files in a queue to be processed by some compilation thread instead of compiling everything inside there.
This may even set a stepping stone for future work on multi-threading the compiler with fast compilations in mind (although as of now this is not really a necessity but with the planned features things may change)

@Maiori44
Copy link
Member

This sounds good

@Maiori44 Maiori44 added enhancement New feature or request experimental The changes may break something or be a bad idea labels Sep 26, 2022
@Maiori44 Maiori44 added this to the 3.0 milestone Sep 26, 2022
@Maiori44
Copy link
Member

Maiori44 commented Nov 9, 2022

This was added so it should be closed

@Maiori44 Maiori44 closed this as completed Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request experimental The changes may break something or be a bad idea
Projects
None yet
Development

No branches or pull requests

2 participants