News for hackers. Stuff that matters.
Re:Std::visit is everything wrong with modern C++ (2017) by vips7L on Saturday December 05, 2020 @11:40PM (#25321085)
Zig has the best C interop I've ever used. Just a simple import and it figures it out:

    const c = @cImport({
        @cInclude("types.h");
        @cInclude("stat.h");
        @cInclude("user.h");
    });

There are no comments on this comment yet.