nx_bench_fannkuch.nx
buildroot/runtime/nx_bench_fannkuch.nx
about
nx_bench_fannkuch.nx -- NishiLang twin of bench/xlang/fannkuch.c
(fannkuch-redux, Computer Language Benchmarks Game). First RACING BENCH
ingestion (docs/NX_RACING_BENCH_NORTHSTAR.md). n=10, published answer
checksum 73196 / maxflips 38; line 1 = checksum*100+maxflips (=7319638),
line 2 = us. Structurally identical flag-based control flow to the C twin
(NishiLang has no break) so the compared work is honest.
license_tier: ORIGINAL No hw writes (Rule 26).
(nx_syscalls_x86_64.nx import REMOVED 2026-07-31, debt 1785528831: this file already
gets the canonical syscall layer via nx_clock.nx -> syscalls.nx, so importing the raw-x86
module too put TWO syscall layers in one TU -- every wrapper twice, numbering picked by
definition ORDER, silently.)
dependencies 1 imports · 0 importers
imports: nx_clock.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 14 | func fk_emit_i64(fd: i64, n: i64) -> i64 called by 1: main |
| 32 | func main() -> i64 |