4 ms·
I think you are operating from a mistaken understanding, as responded to in the linked comment.
by throwawaymaths 2y ago
I think you are operating from a mistaken understanding, as responded to in the linked comment.
- jay-barronville 2y ago> I think you are operating from a mistaken understanding, as responded to in the linked comment. No, I’m not. Respectfully, you’re responding to my point while admitting in your comment [0] that you don’t actually know. If you read the relevant discussions, the conclusion, last time I checked, was that there’s going to be a build system requirement. [0]: https://news.ycombinator.com/item?id=41111542 https://news.ycombinator.com/item?id=41111542
- throwawaymaths 2y agoI "don't know" because zig 0.14 is not released yet and anything could happen but I DO know that imports do not currently require the build system. And I THINK that's because the core parts of the build system (including binding imports) are dependent on the command line anyways. So I am ASSUMING that property will be invariant when the c @import gets implemented, and my "don't know" is merely being explicit about that assumption. You are the one coming from a place of ignorance here, and your refusal to acknowledge that you might be wrong makes me suspect your argument is not being made in good faith.
- jay-barronville 2y ago> You are the one coming from a place of ignorance here, and your refusal to acknowledge that you might be wrong makes me suspect your argument is not being made in good faith. You’re making a lot of “assumptions” when you could just read the GitHub issue regarding this change, written by Andrew himself, titled “move @cImport to the build system” [0]. By the way, please note that I not only write Zig code almost daily, I’ve personally contributed to the Zig build system. [0]: https://github.com/ziglang/zig/issues/20630 https://github.com/ziglang/zig/issues/20630
- throwawaymaths 2y agoAndrew responded in that thread to some more recent comments and made it clear that it will be possible to do all the things from the client without build.zig, (apparently not in one command though)
- TwentyPosts 2y agoAndrew (in the linked Github page) answered a question as follows: > Question: "So after this change, is there way I can still simply call zig run or do I have to use a build.zig file?" Andrew's answer: "No, this use case will regress." This in fact literally states that "just" calling "zig run" won't be possible anymore, and heavily implies you'll need a build.zig file.
- throwawaymaths 2y agoAfter some more recent comments, > This in fact literally states that "just" calling "zig run" won't be possible anymore, This seems correct. > and heavily implies you'll need a build.zig file. This seems to not be the case.