Earlier quoted context omitted.
The thing about Zig in these times is that it proves that software development as a craft is not dead or replaced by LLMs. Even though I use LLMs every day, and have to admit they're remarkably good at many classes of problem, I don't want a programming language built by an LLM. Every line of code in a programming language, every decision, every trade off, matters. A vibe-designed/vibe-coded programming language woul…
Sure a human would write the language spec and the llm implement it
Zig: All Package Management Functionality Moved from Compiler to Build System
31–40 of 109 posts
Re: Zig: All Package Management Functionality Moved from Compiler to Build System
#32Re: Zig: All Package Management Functionality Moved from Compiler to Build System
#33I've read somewhere that the longer-term goal is to move the build system into a WebAssembly VM. If so, this is incredible.
What’s the advantage of that for building?
Re: Zig: All Package Management Functionality Moved from Compiler to Build System
#34I know that it’s purely a UX concern, and that the changes (to decouple the build system and the compiler) are pretty critical for the maintainers, but it’s still a bit sad that development sanity comes first than the UX. (It’s the right call, just that it’s sad.) @cImport was a big killing feature imho to the language…
Re: Zig: All Package Management Functionality Moved from Compiler to Build System
#35Earlier quoted context omitted.
The world has yet to standardize on a good crossplatform polyglot build system. The only real such build systems are Buck and Bazel. But they have way too much baggage from their overlords. It’s a shame.
build systems using llvm as the backend are getting there, but zig is making their own compiler too.
A good polyglot build system should support llvm and zig and python and literally any toolchain under the sun.
Re: Zig: All Package Management Functionality Moved from Compiler to Build System
#36Development of Zig feels so wholesome.
The thing about Zig in these times is that it proves that software development as a craft is not dead or replaced by LLMs. Even though I use LLMs every day, and have to admit they're remarkably good at many classes of problem, I don't want a programming language built by an LLM. Every line of code in a programming language, every decision, every trade off, matters. A vibe-designed/vibe-coded programming language woul…
This is mostly about human preferences right. If software is just taken as the end product, does it matter what "feels" good and doesn't?
Re: Zig: All Package Management Functionality Moved from Compiler to Build System
#37Everytime I see a language creating their own package system, all I can think of it how much we've missed here. The only exception is C/C++, where there is none established that well, for good or bad. These choices may create later super-convoluted processes when you have to mix more than one language together. Packaging systems makes thing easy, but complicate further the line if another language needs to be used.
C should have fixed its various issues and added a package manager (or blessed one), Zig is filling that gap.
Re: Zig: All Package Management Functionality Moved from Compiler to Build System
#38Earlier quoted context omitted.
What’s the advantage of that for building?
Zig build scripts are arbitrary zig programs, so sandboxing those scripts is a Good Thing. Wasm might be overkill, but using something off-the-shelf that's specifically designed for sandboxing untrusted code is definitely the right approach.
Re: Zig: All Package Management Functionality Moved from Compiler to Build System
#39Zig, Go, and Python developers do this thing, where they announce that "We have removed the radiator fluid from the fuel tank", and all their supporters cheer about how this is good for the language, how performance will surely improve significantly, and I'm over here wondering why did they put the radiator fluid in the fuel tank in the first place.
Re: Zig: All Package Management Functionality Moved from Compiler to Build System
#40Everytime I see a language creating their own package system, all I can think of it how much we've missed here. The only exception is C/C++, where there is none established that well, for good or bad. These choices may create later super-convoluted processes when you have to mix more than one language together. Packaging systems makes thing easy, but complicate further the line if another language needs to be used.