{"id":20035876,"url":"https://github.com/joao-conde/libdsa","last_synced_at":"2026-03-07T11:30:53.766Z","repository":{"id":177358635,"uuid":"562304735","full_name":"joao-conde/libdsa","owner":"joao-conde","description":"C data structures and algorithms library","archived":false,"fork":false,"pushed_at":"2023-06-27T16:40:13.000Z","size":326,"stargazers_count":16,"open_issues_count":0,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-28T11:36:51.752Z","etag":null,"topics":["algorithms","c","data-structures"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joao-conde.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"ko_fi":"joaoconde"}},"created_at":"2022-11-05T23:11:38.000Z","updated_at":"2025-06-01T11:39:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"37e53819-85f8-4889-b687-c71ef2056801","html_url":"https://github.com/joao-conde/libdsa","commit_stats":null,"previous_names":["joao-conde/libdsa"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/joao-conde/libdsa","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joao-conde%2Flibdsa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joao-conde%2Flibdsa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joao-conde%2Flibdsa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joao-conde%2Flibdsa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joao-conde","download_url":"https://codeload.github.com/joao-conde/libdsa/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joao-conde%2Flibdsa/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30212124,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T09:02:10.694Z","status":"ssl_error","status_checked_at":"2026-03-07T09:02:08.429Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithms","c","data-structures"],"created_at":"2024-11-13T10:09:35.536Z","updated_at":"2026-03-07T11:30:53.727Z","avatar_url":"https://github.com/joao-conde.png","language":"C","funding_links":["https://ko-fi.com/joaoconde"],"categories":[],"sub_categories":[],"readme":"# libdsa\n\n**C data structures** and **algorithms** library.\n\nA personal endeavor to **learn the inner workings** of different **data structures** and **algorithms**.\n\nThis library has been written for educational purposes. Consider using production-ready template container libraries focused on performance as opposed to readability.\n\n## Features\n\n- **Opaque data types**\n- **PIMPL** design pattern\n- **C generics** leveraging **void pointers**\n- Checked with [Google's Sanitizers](https://github.com/google/sanitizers)\n- Compliant with [Google's C/C++ style](https://github.com/cpplint/cpplint)\n- Benchmarks versus the C++ STL\n- 100% test coverage\n\n## Examples\n\nCheck the [examples folder](./examples) for more uses of libdsa.\n\n```c\n#include \u003cdsa.h\u003e\n\nint main() {\n    mytype m = { .a = 1, .b = \"2\" };\n    vector *v = vector_init(sizeof(mytype));\n    vector_push(v, \u0026m);\n    vector_pop(v);\n    vector_free(v);\n}\n```\n\n## Usage\n\nInstall:\n\n```bash\n$ make release\n$ make install\n```\n\nInclude:\n\n```c\n#include \u003cdsa.h\u003e\n```\n\nCompile your code with `-ldsa`:\n\n```bash\n$ gcc yourcode.c -ldsa\n```\n\n## References\n\n- deque: https://en.cppreference.com/w/cpp/container/deque\n- heap: https://en.cppreference.com/w/cpp/algorithm/make_heap, https://en.cppreference.com/w/cpp/algorithm/push_heap, https://en.cppreference.com/w/cpp/algorithm/pop_heap\n- list: https://en.cppreference.com/w/cpp/container/list\n- map: https://en.cppreference.com/w/cpp/container/unordered_map\n- pair: https://en.cppreference.com/w/cpp/utility/pair\n- queue: https://en.cppreference.com/w/cpp/container/queue\n- set: https://en.cppreference.com/w/cpp/container/unordered_set\n- stack: https://en.cppreference.com/w/cpp/container/stack\n- vector: https://en.cppreference.com/w/cpp/container/vector\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoao-conde%2Flibdsa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoao-conde%2Flibdsa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoao-conde%2Flibdsa/lists"}