Illuminating the Invisible: Building a Real-Time WiFi Radar with Rust & Zig

A high-performance WiFi radar that uses Zig for fast, direct kernel communication and Rust for a smooth, real-time graphical interface—enhanced
By combining Rust’s modern UI (egui) with Zig’s low-level kernel access (nl80211), you built a system that can scan and display wireless activity in real time.

Github repo:-GitHub - zang7777/six-eye: A Cybernetic Observatory for the Local Aether. · GitHub


1 Like

Just FYI(I haven't tried):
Rust alternatives exist:

· nl80211 crate (though less mature)
· rtnetlink for generic netlink operations
· Direct socket + ioctl with nix crate

six-eye/native $ zig build -Doptimize=ReleaseSafe

build.zig:8:18: error: no field or member function named 'addSharedLibrary' in 'Build'
const lib = b.addSharedLibrary(.{

$zig version
0.15.2

Haha yeah, partly experimenting :grinning_face_with_smiling_eyes:

I wanted to try a lower-level route with Zig just to see what’s possible, while still keeping Rust for the main app.

And yep — that build error is on me, Zig API changed in 0.15 :sweat_smile:

Also realized the build error is due to Zig 0.15 API changes (addSharedLibrary → addLibrary), so I’ll fix that.
Thanks for the suggestions!
Appreciate the insight.

1 Like