Skip to content

Conversation

@andy1li
Copy link
Member

@andy1li andy1li commented Nov 16, 2025

Note

Adds C language support for the Kafka challenge, including starter/template, build/run tooling, Dockerfile (c-23), and a stage vi6 solution that accepts a client connection.

  • C language support
    • Course config: Add c to languages in course-definition.yml.
    • Buildpack/Runtime: Introduce dockerfiles/c-23.Dockerfile with vcpkg & CMake setup.
    • Compiled starter (compiled_starters/c/): Add C project scaffold (CMakeLists.txt, src/main.c, vcpkg configs), compile/run scripts, and local your_program.sh.
    • Starter template (starter_templates/c/): Add matching scaffold and config (config.yml).
  • Solutions
    • Add solutions/c/01-vi6/ with working src/main.c that calls accept() and prints "Client connected", plus build/run scaffolding.
  • Diff artifact
    • Include solutions/c/01-vi6/diff/src/main.c.diff showing enabling of accept() logic.

Written by Cursor Bugbot for commit 56cc314. This will update automatically on new commits. Configure here.

@andy1li andy1li self-assigned this Nov 16, 2025
@linear
Copy link

linear bot commented Nov 16, 2025

- Updated course-definition.yml to include C as a supported language.
- Added CMakeLists.txt for project configuration and build setup.
- Created initial source file (src/main.c) with basic socket setup for Kafka implementation.
- Included necessary scripts (.codecrafters/compile.sh, .codecrafters/run.sh) for local and remote execution.
- Added README.md with instructions for the Kafka challenge.
- Introduced .gitignore and .gitattributes files for C project management.
- Set up vcpkg configuration for dependency management.
@andy1li andy1li merged commit 226129d into main Nov 18, 2025
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants