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

Implement the entire language reference of zig (excluding builtin functions) #4804

Open
nacho00112 opened this issue Dec 5, 2023 · 0 comments

Comments

@nacho00112
Copy link

the language reference is the most complete source to learn zig,
that's why I insist on learning zig from it instead of the other sources to learn zig shown here https://ziglang.org/learn/,
but the problem I have with the language reference is that they assume that you already have knowledge of low-level programming stuff,
in https://learnxinyminutes.com/docs/zig/
as the page ask at the start,
I already had programming experience, but with python, the thing is that it's a very high-level programming language, probably the most high-level one,
so there is a lot of low-level stuff that I don't understand from the language reference,
for example, packed structs and Alignment (I'm stuck in this),
after searching in google I even had to search about C instead due to its similarity
to get more results but didn't encountered any good one,
it seems like everyone is yelling me "learn C before learning zig! no one will teach you low-level programming with zig!"
but I decided to learn zig because I don't want to learn C,
I didn't liked libc it has a very large amount of constants I have to memorize, the zig standard library seems
to be relatively more like the python one and while it is not C,
zig has still a very good portability.

I only want the document to cover the entire language reference and
explain the low-level concepts in a way
a python programmer like me can understand, covering it completely,
then I would love to learn zig in that way.

I already requested this in
the zig repository issues and the issue was quickly closed as not planned,
so I'm trying here instead, because could be some skilled zig programmer here
that could make a cool document for this case.

As I added in the title, of course I'm not going to ask you to add all the builtin functions because that would make the document very large,
instead you could simply attach a link to the language reference,
but at the end of the document, when you already understand the language and the concepts it implies
so you are ready to read that section of builtin functions

and that's all that is the problem I'm asking help with here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant