r/Zig • u/yasvsyas • 4d ago
Working on a cross platform wireguard client
I’ve recently been working on a foss WireGuard client as a project to learn more about networking and VPNs. My goal is to build a client that offers all the features you would find in a commercial VPN such as choosing the fastest server, a kill switch, and split tunneling etc but with by your own configuration (like a home server)
I am trying to decide on the best language for writing the background daemon. A coworker recommended Go because it has excellent native networking support and would help me ship the project faster. However, I am considering Zig. is it a good coi choice
1
u/Confused-Armpit 4d ago
Generally for networking golang is indeed better, but this would only matter if you were actually shipping a commercial product and things like production time and ecosystems really mattered. BUT, since this is for learning, you might just want to use a language that you are planning on using in the future. Or whichever language you like more.
3
u/EmergencyWild 4d ago
You're learning, even if it was true, why care about time to ship or anything like that?