3 ms·
Yup. It offers tests as a solution, which is nice I guess, but kind if reminds me of Valgrind. Another thing that caught me by surprise is passing arrays as re
by bornfreddy 3y ago
Yup. It offers tests as a solution, which is nice I guess, but kind if reminds me of Valgrind.
Another thing that caught me by surprise is passing arrays as references. Ages ago we used to pass arrays (`int arr[100]`) as pointers (`int*`). I'm sure C still supports this?
- patrakov 3y agoJust wondering - how well does Valgrind work on Zig projects?
- AndyKelley 3y agoExceptionally well. Zig by default outputs valgrind client requests to annotate undefined memory. This makes Valgrind even more an effective tool for zig code than for C code.