{"id":18842918,"url":"https://github.com/m-fatah/core","last_synced_at":"2025-04-14T07:32:03.678Z","repository":{"id":37585102,"uuid":"499973632","full_name":"M-Fatah/core","owner":"M-Fatah","description":"A data oriented C-like C++ container library.","archived":false,"fork":false,"pushed_at":"2025-03-25T23:30:49.000Z","size":307,"stargazers_count":11,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T00:30:47.770Z","etag":null,"topics":["cpp","cpp20"],"latest_commit_sha":null,"homepage":"https://m-fatah.github.io/","language":"C++","has_issues":true,"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/M-Fatah.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}},"created_at":"2022-06-05T01:29:49.000Z","updated_at":"2025-02-22T17:42:46.000Z","dependencies_parsed_at":"2024-04-28T14:25:36.685Z","dependency_job_id":"d211edf6-328a-4ffa-9045-63822d4a4f19","html_url":"https://github.com/M-Fatah/core","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/M-Fatah%2Fcore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/M-Fatah%2Fcore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/M-Fatah%2Fcore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/M-Fatah%2Fcore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/M-Fatah","download_url":"https://codeload.github.com/M-Fatah/core/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248839476,"owners_count":21169819,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["cpp","cpp20"],"created_at":"2024-11-08T02:56:02.988Z","updated_at":"2025-04-14T07:32:03.321Z","avatar_url":"https://github.com/M-Fatah.png","language":"C++","readme":"# **Core**\n\u003c!-- badges: start --\u003e\n[![Build status](https://github.com/M-Fatah/core/workflows/CI/badge.svg)](https://github.com/M-Fatah/core/actions?workflow=CI)\n![Lines of code](https://img.shields.io/tokei/lines/github/M-Fatah/core)\n\u003c!-- badges: end --\u003e\n---\n\n## **Introduction:**\nCore is a C-like C++ collection of utilities used as a foundation when writing programs in a data oriented fashion.\n\nIt started as a learning process that eventually evolved to be a useful container library on top of C++.\n\nIts written in C++20.\n\nIt is still a WIP, lots of breaking changes are expected to happen.\n\n## **Code style:**\n```C++\n#include \u003ccore/defines.h\u003e\n#include \u003ccore/containers/array.h\u003e\n\nstruct Vector3\n{\n    f32 x, y, z;\n};\n\nstruct Vertex\n{\n    Vector3 position;\n    Vector3 normal;\n};\n\nArray\u003cVertex\u003e vertices = array_init\u003cVertex\u003e(memory::heap_allocator());\nDEFER(array_deinit(vertices));\n\narray_push(vertices, Vertex{{1.0f, 2.0f, 3.0f}, {0.0f, 0.0f, 1.0f}});\n```\n\n## **Platforms:**\n- Windows.\n- Linux.\n- Mac.\n\n## **Prerequisites:**\n#### **Windows:**\n- Download and install [CMake](https://cmake.org/download/) (version 3.20 atleast).\n#### **Linux:**\n```\nsudo apt update\nsudo apt-get install -y cmake libx11-dev libxkbcommon-x11-dev libx11-xcb-dev zenity\n```\n\n## **Building:**\n```\ncmake -B build\ncmake --build build --config Debug -j\n```\nOutput is in `build/bin/${CONFIG}/` directory.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm-fatah%2Fcore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm-fatah%2Fcore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm-fatah%2Fcore/lists"}