Skip to content

Conversation

@vinitkumar
Copy link
Owner

No description provided.

- Update Makefile to build both C17 and C23 versions
- C23 falls back to c2x flag for older compilers
- Update benchmark script to test all three versions (C17, C23, Zig)
- Fix Zig line reading to use takeDelimiter for proper multi-line input
- Update CI to test both C versions
- All versions now produce identical output
- Makefile now builds with both GCC and Clang (C17 and C23)
- Detects real GCC vs Apple's clang alias on macOS
- CI runs separate jobs for GCC, Clang, and Zig on Ubuntu
- Updated benchmark script to test all 5 versions
- Updated BENCHMARK.md with comprehensive results
Replace BSD-specific <strings.h> with standard <string.h> which provides
strlen, strcmp, strdup, and strtok on all platforms including Linux.
@vinitkumar vinitkumar merged commit e4d2831 into main Jan 12, 2026
6 checks passed
@vinitkumar vinitkumar deleted the zig-port branch January 12, 2026 10:30
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.

2 participants