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

Interpret build files instead of compiling them #796

Closed
SuperAuguste opened this issue Dec 2, 2022 · 2 comments
Closed

Interpret build files instead of compiling them #796

SuperAuguste opened this issue Dec 2, 2022 · 2 comments
Labels
enhancement New feature or request priority:low Low priority item

Comments

@SuperAuguste
Copy link
Member

SuperAuguste commented Dec 2, 2022

To get build file info (packages) we usually compile and run them. Small problem: this takes ages, especially for larger projects, and kills interactivity. Interpreting them would likely be much faster.

Also: this brings us one step closer to zls being Zig executable free and thus closer to #771.

@SuperAuguste SuperAuguste added enhancement New feature or request priority:low Low priority item labels Dec 2, 2022
@Techatrix
Copy link
Member

Since #1311 ZLS will run the build script in the background which removes the long start up delay. Do you think this is still necessary?

@SuperAuguste
Copy link
Member Author

Good point! I think we'll have to eventually revisit this if ziglang/zig#14286 ends up being implemented, but in the meantime I totally agree that this is not a necessary change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority:low Low priority item
Projects
None yet
Development

No branches or pull requests

2 participants