Porting a C++ hot loop from Rcpp to RZig
Start from the behavior, not the wrapper | Scaffold the Zig-backed package | Inspect what R will see | Generate the bindings | Check the signature before compiling | Build and call | What changes in the port | Measure the boundary separately | Port incrementally