Skip to content

Releases

Chanakya v1.0.1

Choose a tag to compare

@abhijeetSinghRajput abhijeetSinghRajput released this 23 Jul 07:56

Chanakya v1.0.1

This is a maintenance release focused on improving cross-platform build compatibility.

What's Changed

✅ Cross-platform Makefile improvements

The build system now automatically detects the target CPU architecture and only applies -march=x86-64-v2 when compiling on x86-64 systems.

This fixes build failures on ARM64 platforms (such as Apple Silicon Macs), where -march=x86-64-v2 is not a valid compiler target.

Behavior:

  • x86-64 / AMD64: Builds with -march=x86-64-v2 for optimized performance.
  • ARM64 (Apple Silicon, etc.): Builds without an explicit -march flag, allowing the compiler to target the native architecture automatically.

Notes

  • No changes to search, evaluation, move generation, or playing strength.
  • No UCI protocol changes.
  • Existing Windows and Linux builds remain unaffected.

Release Assets

  • Windows x64
  • Linux x64
  • macOS ARM64 (Apple Silicon)

Thank you to everyone who tested Chanakya on different platforms and reported build issues.

Chanakya v1.0.0

Choose a tag to compare

@abhijeetSinghRajput abhijeetSinghRajput released this 23 Jul 06:40

Chanakya v1.0.0

First tagged release.

Strength

~2450.8 ± 20.4 Elo, measured over a 1,000-game match vs Stockfish
(configured/anchored to ~2400 Elo strength), 57% win rate. Up from
a previous baseline of ~2349 ± 16 Elo.

  • White advantage: 27.60 ± 10.85
  • Draw rate: 5.38% ± 0.73 (tight draw-adjudication settings used
    in this test run — expect a higher draw rate under looser
    adjudication or standard testing conditions)

Performance

  • Switched from debug (-O0) to an optimized release build
    (-O3 -flto -DNDEBUG), ~4.3x speedup (6M → 26M NPS)
  • Perft now reports NPS and comma-formats large numbers for
    readability

New Features

  • help / --help / -h command with full UCI + debug command
    reference, available both interactively and as a CLI flag
  • Interactive tab-autocomplete for manual UCI testing at a terminal

Fixed

  • Polyglot opening book loader now decodes entries byte-by-byte
    instead of memcpy-ing into a struct, removing a portability
    risk (previously depended on implicit struct packing/layout,
    which isn't guaranteed across compilers or platforms)
  • Removed a Windows-only system("cls") call from the UCI command
    loop

Testing

  • Perft(6) from the start position verified against the known
    node count (119,060,324) on both Windows and Linux (WSL2/Ubuntu)
  • Static portability scan across src/: no remaining Windows-only
    headers/APIs

Known limitations

  • NNUE evaluation not yet implemented (hand-crafted eval still
    in use)
  • Release binary built for a general x86-64 baseline; if you're on
    an older or unusual CPU and hit a crash on launch, please open
    an issue