2 ms·
> Zig, by comparison, offered little beyond syntax highlighting and basic autocompletion. Zig has a language server and "The majority of LSP features are suppo
by computerfriend 12d ago
> Zig, by comparison, offered little beyond syntax highlighting and basic autocompletion.
Zig has a language server and "The majority of LSP features are supported" (https://github.com/zigtools/zls#features https://github.com/zigtools/zls#features).
- batisteo 12d agoThat's why they move to Helix
- lr1970 12d agoAnd Zig VScode extension is quite good.
- cztomsik 12d agoZig had a breaking change half year ago and since then ZLS only works for std and local code, not for any deps. Zig is nice language but dev experience is a real nightmare at the moment. I say that as maintainer of three non-trivial libraries, and I have one Zig project in production. That said, I've been re-evaluating my choices lately.
- brodo 12d ago0.17 will fix the build-system related ZLS problems.
- functional_dev 12d agoLearned today why there is no "zig metadata" command. A dependency can be marked lazy, so whether you even need it depends on the build flags you pass. So ZLS has to actually run your "build.zig" to see the modules That is why it breaks when Zig changes the build system. https://vectree.io/c/zigs-build-system-protocol-module-graphs-buildzigzon-and-cargo-metadata https://vectree.io/c/zigs-build-system-protocol-module-graph...
- throwaway888777 11d ago> That said, I've been re-evaluating my choices lately. I see you have a blog - it would be interesting if you wrote up the results of your thought process, whichever way you decide in the end. As a PL nerd, I really enjoy reading well-informed takes from people who have seriously used a language as to its strengths and weaknesses.