Jump to content

Talk:Zig (programming language)

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Untitled

[edit]

Hello, Fell free to share the Zig programming language resources in this talk page. Charmk (talk) 13:17, 15 August 2020 (UTC)[reply]

SIGCOV and NSOFT

[edit]

Per WP:SIGCOV and WP:NSOFT, please list all places where Zig has had significant coverage in reliable secondary sources. Please do not include citations to anything published by the Zig developers themselves (including press releases reproduced elsewhere), YouTube videos, blog posts, or any other self published sources. Those are useful for writing articles but do not establish notability. Thanks! --Guy Macon (talk) 14:57, 23 January 2021 (UTC)[reply]

Personally I didn't found any reference to Zig in things like ACM, Arxive, MIT, ZDNET…
Maybe more investigation might help to find more, but the only document that I found and that possibly matches the just recalled criteria is https://jaxenter.com/zig-language-kelley-interview-138517.html Psychoslave (talk) 16:04, 18 July 2021 (UTC)[reply]

Delete

[edit]

The current revision of the article is poorly sourced (WP:NOTRELIABLE/WP:BLOG) and bear little WP:NOTABILITY: has little coverage. So far I was able only to find a couple of sources which doesn't seem to be reliable (one is already sourced). I propose to delete this article. Objections? --AXONOV (talk) 12:32, 6 May 2021 (UTC)[reply]

Did you read the previous deletion discussion? —Dexxor (talk) 05:35, 7 May 2021 (UTC)[reply]
@Dexxor: It was closed too quickly: 8 days later (and only one opinion actually bears real WP:WEIGHT out there). I think we should reopen it a bit later. I also don't think we should document every new LLVM frontend (with only 3 primary sources for an entire article) either.
If removed, I propose to make a brief note of the Zig in respective LLMV article (there is enough sources for that) as a compromise. --AXONOV (talk) 20:06, 7 May 2021 (UTC)[reply]
I'm objecting as Zig is far more than an LLVM frontend; The current main focus of Zig development is the self hosted compiler (planned for 0.9.0 which is scheduled for approximately 6 months away), which features its own native object-code outputs. Zig also has its own in-progress lld/gnu-compatible linker. LLVM is currently an optional dependency for the Stage 2 compiler and will likely remain that way; The project as a whole does not need LLVM; Some details on "Zig's New Relationship with LLVM" can be found here: https://kristoff.it/blog/zig-new-relationship-llvm/. Calling Zig an LLVM frontend is largely missing the point, it is in equal parts a language and a modern native toolchain. Sobeston (talk) 12:41, 28 May 2021 (UTC)[reply]

Bun (JavaScript runtime)

[edit]

Bun is a JavaScript and TypeScript runtime written in Zig, and is based on the JavaScript core (the Safari engine) instead of V8. This is quite notable and should be listed. --Keyacom (💬 | 🖊) 17:23, 7 October 2022 (UTC)[reply]

MOS for Lead

[edit]

A major lead edit was just completed with the intent that the lead reads like it is part of a encyclopedic article. The previous version was too promotional. Nxavar (talk) 10:23, 7 April 2023 (UTC)[reply]

The entire article reads like promotional material to me. I think we should add the "this article reads like an ad" template at the top, but I'm not well-versed enough in Wikipedia to know which template that is... Wyverald (talk) 14:43, 14 April 2023 (UTC)[reply]

Nuances in Lead

[edit]

Comparing Zip to Carbon was quite nuanced and for this reason it was removed from lead. Rust was kept as a more similar alternative. Nxavar (talk) 10:34, 24 April 2023 (UTC)[reply]

Now Go, Rust and Carbon are mentioned as Zig alternatives that are also C++ replacements, with a source for that claim for each language. All come from someone involved in the language evolution as a designer and/or core developer. Two are blog posts, one is a YouTube video. Nxavar (talk) 12:52, 2 May 2023 (UTC)[reply]

Creation date

[edit]

I somehow find it hard to believe that Zig was created in 1939. I couldn't find it anywhere in the source cited, but I don't think Andrew Kelley is a cyborg to work on something for 84 years 46.135.87.91 (talk) 11:28, 15 September 2023 (UTC)[reply]

Thank you for fixing it 46.135.87.91 (talk) 10:38, 16 September 2023 (UTC)[reply]


0.11 going on 0.12

[edit]

Today 6 March, the article writes "Since version 0.10 the (new default) ... still an option but will not be in version 0.11." I am not certain about the facts, but I believe this could be simplified as:

The Zig compiler has been self-hosted since version 0.10, i.e., written in the same Zig programming language. The older legacy bootstrapping compiler, written in C++, was no longer an option after version 0.11.

Alexgenaud (talk) 17:00, 6 March 2024 (UTC)[reply]

General Purpose or System Programming language.

[edit]

The opening statement says the language is a general purpose programming language. And then ends by saying it is a system programming language. If it is targeted as a system programming language it should say "but also could be used as a general programming language". If targeted as a general programming language it should say "but is especially suited for systems programming". Wickorama (talk) 01:53, 21 November 2023 (UTC)[reply]

Userbox

[edit]

I've created a Zig userbox for myself, (and anyone else who'd like to use it).

Code Result
{{User:Neuroxic/Userboxes/zig}}
This user can program in Zig.
Usage

I added it to the list of programming language userboxes too.

Neuroxic (talk) 07:13, 10 November 2024 (UTC)[reply]