{"id":25904441,"url":"https://github.com/toasterbirb/brb","last_synced_at":"2025-03-03T04:26:24.197Z","repository":{"id":255911105,"uuid":"853769638","full_name":"Toasterbirb/brb","owner":"Toasterbirb","description":"[MIRROR] Toy C++ library with the goal of not touching libc or C++ standard libaries","archived":false,"fork":false,"pushed_at":"2025-02-20T17:52:14.000Z","size":70,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-20T18:44:18.420Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Toasterbirb.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":"2024-09-07T13:42:11.000Z","updated_at":"2025-02-20T17:52:18.000Z","dependencies_parsed_at":"2025-02-20T18:33:20.038Z","dependency_job_id":"7be4339a-0545-4199-ba76-a502c07b285b","html_url":"https://github.com/Toasterbirb/brb","commit_stats":null,"previous_names":["toasterbirb/brb"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Toasterbirb%2Fbrb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Toasterbirb%2Fbrb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Toasterbirb%2Fbrb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Toasterbirb%2Fbrb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Toasterbirb","download_url":"https://codeload.github.com/Toasterbirb/brb/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241607785,"owners_count":19989964,"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":[],"created_at":"2025-03-03T04:26:23.721Z","updated_at":"2025-03-03T04:26:24.187Z","avatar_url":"https://github.com/Toasterbirb.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# brb\n\nThe goal of this project is to create a C++ standard library for Linux without using any libraries (not even the C or C++ standard libraries). If everything goes as planned, there should be zero includes in this repository that refer to files outside of this repository.\n\n\u003e [!WARNING]\n\u003e There are zero, absolutely none, nada, security guarantees with this library\n\nbrb is somewhat opionated and will not necessarily follow any existing standards. Some notable changes include:\n- The main function signature is `u8 brb_main()`\n- Fundamental types like int, float etc. are undefined\n    - As a replacement there are fixed width shortened type names that follow the following format: i8, u8, i16, u16 and so on\n    - As a side effect, including pretty much any header that isn't made with brb in mind will probably error out. Thus this part is subject to change if needed\n\n## Building\nBuild the project with g++ by running `make`. To speed up the build, you can try using the -j flag.\n```sh\nmake -j$(nproc)\n```\n\n## Building a project that uses brb\nAs of now, the following compiler flags are needed (on gcc) to disable the standard libraries and exceptions etc.\n```\n-fno-stack-protector -Wno-builtin-declaration-mismatch -nostdlib -nostdlib++ -fno-exceptions\n```\nThen simply build the library against a staticly linked build of the brb library\n\n## Installation\nTo install brb to /usr/local/bin, run the following\n```sh\nmake install\n```\nYou can customize the installation prefix with the PREFIX variable like so\n```sh\nmake PREFIX=/usr install\n```\n\n## Uninstall\n```sh\nmake uninstall\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoasterbirb%2Fbrb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoasterbirb%2Fbrb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoasterbirb%2Fbrb/lists"}