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

Add hello world example to samples page #117

Closed
leighmcculloch opened this issue Feb 25, 2021 · 2 comments · May be fixed by #397
Closed

Add hello world example to samples page #117

leighmcculloch opened this issue Feb 25, 2021 · 2 comments · May be fixed by #397

Comments

@leighmcculloch
Copy link

The learn samples showcase some advanced features and concerns like memory leaks, but as a someone who is new to Zig the first thing I need to see is hello world. i.e. The minimal application that runs and gives me some sense of where the entry point is and how to log so I can debug using some basic principles.

I think it would be helpful to add a hello world example to the samples page here:
https://ziglang.org/learn/samples/

I'd be happy to help with a PR, but I see there are many languages and I'd only be able to contribute English. I'm happy to do that if that'd be welcomed.

@kristoff-it
Copy link
Member

The Getting Started guide shows you how to get to a hello world application, but regardless I would happily accept a PR to add that example in the samples section!

@leighmcculloch
Copy link
Author

leighmcculloch commented Sep 19, 2024

Somehow I missed the response here. I opened a change adding the example 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

Successfully merging a pull request may close this issue.

2 participants