Improvements
Better file handling (#28)
- Improved error handling for edge cases
- More robust input validation
Performance optimizations (#29)
- Replaced logical NOT with bitwise XOR in hot path
- Branchless evaluation for better CPU pipelining
CI/CD
CodeQL security analysis (#26, #27)
- Automated vulnerability scanning on every PR
- Custom configuration for C/C++ security patterns
Build system modernization (#24)
- Updated CMake configuration
- Improved CI/CD workflows
Add multi-arch builds (#30)
- Adds native architecture flag for CMake builds
- Adds multi-architecture build workflow
- Adds cross-strip tool support to CMake builds
- Add workflows README
Dependabot Github Actions updates
- Bump github/codeql-action from 3 to 4 (#34)
- Bump actions/cache from 4 to 5 (#33)
- Bump actions/download-artifact from 4 to 7 (#35)
- Bump actions/upload-artifact from 4 to 6 (#32)
- Bump actions/checkout from 4 to 6 (#31)
Download Guide
Build Selection
| CPU Generation | Linux | Windows | macOS |
|---|---|---|---|
| x86-64 (2006+) | zxc-linux-x86_64.tar.gz
| zxc-windows-x64.exe.zip
| - |
| AVX2 (2013+, Haswell) | zxc-linux-x86_64-avx2.tar.gz
| zxc-windows-x64-avx2.exe.zip
| - |
| AVX512 (2017+, Skylake-X) | zxc-linux-x86_64-avx512.tar.gz
| zxc-windows-x64-avx512.exe.zip
| - |
| ARM64 | zxc-linux-aarch64.tar.gz
| - | zxc-macos-arm64.tar.gz
|
Unsure? Use the generic x86-64 build for universal compatibility.
CPU Feature Detection (x86)
# Linux
grep -E 'avx512|avx2' /proc/cpuinfo | head -1
# Windows (PowerShell)
Get-WmiObject Win32_Processor | Select-Object NamePerformance
- x86-64: Baseline (SSE2)
- AVX2: ~20-30% faster than baseline
- AVX512: ~40-60% faster than baseline (tested with Intel SDE)
Build from Source
For optimal CPU-specific performance:
git clone https://github.com/hellobertrand/zxc.git
cd zxc && mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release -DZXC_NATIVE_ARCH=ON ..
cmake --build . --parallelEnables -march=native for maximum SIMD utilization.
Full Changelog: v0.3.1...v0.3.2