{"id":28642015,"url":"https://github.com/emillaine/cx","last_synced_at":"2025-06-12T22:03:13.359Z","repository":{"id":48655517,"uuid":"75875061","full_name":"emillaine/cx","owner":"emillaine","description":"C* is a hybrid low-level/high-level systems programming language focused on performance and productivity.","archived":false,"fork":false,"pushed_at":"2025-06-12T16:52:19.000Z","size":6225,"stargazers_count":133,"open_issues_count":17,"forks_count":8,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-06-12T17:46:01.817Z","etag":null,"topics":["compiler","fast","high-performance","language","native","performance","programming-language","system-programming","systems-language"],"latest_commit_sha":null,"homepage":"https://emillaine.github.io/cx-language.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/emillaine.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"docs/CODE_OF_CONDUCT.md","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}},"created_at":"2016-12-07T20:57:26.000Z","updated_at":"2025-06-12T16:52:23.000Z","dependencies_parsed_at":"2024-01-14T01:33:15.044Z","dependency_job_id":"f797918b-29c3-4838-a510-0318b177fa60","html_url":"https://github.com/emillaine/cx","commit_stats":null,"previous_names":["emlai/cx","cx-language/cx","emillaine/cx"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/emillaine/cx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emillaine%2Fcx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emillaine%2Fcx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emillaine%2Fcx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emillaine%2Fcx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emillaine","download_url":"https://codeload.github.com/emillaine/cx/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emillaine%2Fcx/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259539025,"owners_count":22873332,"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":["compiler","fast","high-performance","language","native","performance","programming-language","system-programming","systems-language"],"created_at":"2025-06-12T22:01:48.848Z","updated_at":"2025-06-12T22:03:13.351Z","avatar_url":"https://github.com/emillaine.png","language":"C++","funding_links":[],"categories":["C++"],"sub_categories":[],"readme":"\u003e [!NOTE]\n\u003e This project was started in January 2017 after I had been annoyed with C++ for a long time, and had not found any good\n\u003e alternatives for my use cases.\n\u003e The current state of the project is that it's functional, but far from truly production-ready. I almost got to the\n\u003e point of releasing the first pre-release version and announcing the project publicly.\n\u003e However, nowadays there are several languages with sufficiently similar design goals, such\n\u003e as [Odin](https://odin-lang.org/), [Jai](https://en.wikipedia.org/?title=JAI_(programming_language)\u0026redirect=no),\n\u003e and [Zig](https://ziglang.org/). Therefore, this project is no longer being developed.\n\n# The C* Programming Language\n\nC* (pronounced \"C star\") is a C-based hybrid low-level/high-level programming language focused on runtime\nperformance and developer productivity (in this order of priority). The language is simple and unopinionated,\nsupporting imperative, generic, data-oriented, functional, and object-oriented programming.\n\nLearn more about the language at https://emillaine.github.io/cx-language.github.io/.  \nSee code samples under [`examples`](https://github.com/emillaine/cx/tree/main/examples).\n\nThe project is still in early stages of development: some planned features have not yet been implemented,\nexisting ones are subject to change, and the documentation is scarce.\n\n## Contributing\n\nContributions are welcome.\nSee the GitHub issues and the [Trello board](https://trello.com/b/NIbkM4v2/c) for the project backlog.\nTo ask a question or open a discussion, create an issue or join the [C* Discord server](https://discord.gg/hsDbW9p).\n\n## Building from source\n\nCompiling C* requires a C++17 compiler, [CMake](https://cmake.org), and\n[LLVM](https://llvm.org)/[Clang](https://clang.llvm.org) 20.0.\n\n- ### Unix / macOS\n\n  Download and extract LLVM/Clang 20.0 pre-built binaries for your platform from\n  https://github.com/llvm/llvm-project/releases, or using a package manager, e.g. `brew install llvm@20`.\n  Then run the following commands:\n\n      mkdir build\n      cd build\n      cmake .. -DCMAKE_PREFIX_PATH=\"/path/to/llvm\"\n\n- ### Windows with Visual Studio\n\n  Download and extract LLVM/Clang 20.0 pre-built binaries from https://github.com/llvm/llvm-project/releases.\n  Then run the following commands:\n\n      mkdir build\n      cd build\n      cmake .. -DCMAKE_PREFIX_PATH=\"C:\\path\\to\\llvm\" -DCMAKE_GENERATOR_PLATFORM=x64 -Thost=x64\n\nTo run the tests, install [lit](https://llvm.org/docs/CommandGuide/lit.html)\nand its optional dependencies via [pip](https://pip.pypa.io/en/stable/installing/):\n\n    sudo python3 -m pip install lit psutil\n\nAfter this, the following commands can be invoked from the `build` directory:\n\n- `cmake --build .` builds the project.\n- `cmake --build . --target check` runs the test suite.\n\nThe C++ code style is enforced by ClangFormat and ClangTidy:\n\n- Run the `format` CMake target to format the code.\n- Run the `lint` CMake target to check if the code is formatted.\n\n## License\n\nC* is licensed under the MIT license, a permissive free software license.\nSee the file [LICENSE.txt](LICENSE.txt) for the full license text.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femillaine%2Fcx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femillaine%2Fcx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femillaine%2Fcx/lists"}