Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vhyran/ziglings
Data Structures and Algorithms in Zig
https://github.com/vhyran/ziglings
dsa learn-to-code learning learning-by-doing markdown markdown-documentation markdown-zig practice zig zig-learn ziglang ziglings
Last synced: 5 days ago
JSON representation
Data Structures and Algorithms in Zig
- Host: GitHub
- URL: https://github.com/vhyran/ziglings
- Owner: vhyran
- License: mit
- Created: 2024-12-21T16:56:18.000Z (13 days ago)
- Default Branch: main
- Last Pushed: 2024-12-29T06:43:11.000Z (6 days ago)
- Last Synced: 2024-12-29T07:25:09.444Z (6 days ago)
- Topics: dsa, learn-to-code, learning, learning-by-doing, markdown, markdown-documentation, markdown-zig, practice, zig, zig-learn, ziglang, ziglings
- Language: Zig
- Homepage:
- Size: 123 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Data Structures and Algorithms in Zig
Welcome to the **Data Structures and Algorithms (DSA)** repository implemented in the Zig programming language! This repository serves as a resource for anyone interested in learning about fundamental DSA concepts and their implementations in Zig.
## Introduction
This repository contains implementations of common data structures and algorithms in Zig. The goal is to provide clean, efficient, and well-documented code that serves as both a learning resource and a utility for developers.
## Why Zig?
Zig is a modern programming language designed for simplicity, performance, and reliability. Its features include:
- Manual memory management with safety checks
- No hidden control flow or memory allocations
- Compile-time code execution
- Interoperability with CThese features make Zig a great choice for implementing efficient and predictable data structures and algorithms.
## Getting Started
### Version
- 0.13.0### Documentation
You can find the official Zig [documentation](https://ziglang.org/documentation/0.13.0). This documentation provides comprehensive information about the Zig programming language, including its syntax, features, and standard library.### Prerequisites
Install [Zig](https://ziglang.org/download/) on your system.### Compiling and Running Code
To compile and run an implementation:```bash
zig build-exe .zig
./
```## Contributing
Contributions are welcome! If you’d like to add a new data structure, algorithm, or improve existing implementations, please follow these steps:
1. Fork this repository.
2. Create a new branch: `git checkout -b feature/`.
3. Commit your changes: `git commit -m 'Add new feature'`.
4. Push to the branch: `git push origin feature/`.
5. Submit a pull request.Ensure your code follows the Zig coding standards and includes appropriate comments and test cases.
## License
This repository is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
---
Feel free to explore, learn, and contribute!