Building a Better C with Loris Cro from Zig Software Foundation

Zig is a new programming language with big ambitions: to be a better C. Loris Cro is the VP of Community at the Zig Software Foundation, and he takes us through the ins and outs of Zig -- how was it created, what problems is it trying to solve, and where is it being used.
We heard Joran Dirk Greef rave about Zig during our TigerBeetle episode, and there are a lot of passionate Zig fans out there. Zig has some really unique aspects, particularly the comptime keyword that allows for running arbitrary code at compile time.
We also talk about Loris's background and his rapid rise to lead marketing for a software foundation. Loris talks about how he got there, how Zig things about community, and how they're working to make Zig sustainable.
X
/ alexbdebrie
/ croloris
LinkedIn
/ alex-debrie
/ kristoff-it
Software Huddle ⤵︎
X: / softwarehuddle
Substack: softwarehuddle.substack.com/

Пікірлер: 24

  • @user-qd7xz2go6y
    @user-qd7xz2go6y3 ай бұрын

    is learning zig a good investment for early/mid career devs?

  • @leonss2356

    @leonss2356

    3 ай бұрын

    Not if you're looking for a job as it's job market is almost non-existent for now. In the future, who knows.

  • @joshuarowe8410

    @joshuarowe8410

    3 ай бұрын

    Not really. It's still a tiny language

  • @theevilcottonball

    @theevilcottonball

    3 ай бұрын

    That is the wrong question to ask.

  • @tinky3110

    @tinky3110

    3 ай бұрын

    Learning the concepts of programming and computer science is the most important, not a specific language.

  • @user-qd7xz2go6y

    @user-qd7xz2go6y

    3 ай бұрын

    yes, pasoori bro @@tinky3110

  • @mariobroselli3642
    @mariobroselli36422 ай бұрын

    Are you adding a 3D game dev library for Zig?

  • @zubairrooghwall

    @zubairrooghwall

    2 ай бұрын

    Mach: Zig game engine & graphics toolkit

  • @wiktorwektor123

    @wiktorwektor123

    Ай бұрын

    Zig is not 3d dev language, it's general purpose programming language, no specific stuff for 3d is in Zig, just like in C. For this you can use Mach engine, that is written in Zig.

  • @zyxyuv1650
    @zyxyuv16503 ай бұрын

    Recently I got some bad C code generated by AI that was exploitable. If Zig has the same problem as C then I have no interest in Zig. It seems to be only perpetuating the problem by creating more exploitable code that is going to be fed into the LLMs, and now we're back where we started with the same old problem. Rust doesn't have this problem because the borrow checker forces AI to make good code. Zig is a big step backwards.

  • @adammontgomery7980

    @adammontgomery7980

    3 ай бұрын

    Don't use LLM generated code. Zig has mechanisms for checking common dynamic memory problems (use after free, and double free) with its standard library allocators. As far as I know it does array bounds checking. Short story is, if you want to use Rust, go right ahead; don't expect every other language to do what Rust does.

  • @MohammedShuayb

    @MohammedShuayb

    3 ай бұрын

    Don't use it no one forces just leave it for us

  • @not_ever

    @not_ever

    3 ай бұрын

    "the borrow checker forces AI to make good code" This is not at all true. It ensures the AI writes compilable code. I hope you are a student or hobbyist developer.

  • @Tobsson

    @Tobsson

    3 ай бұрын

    No, what are you talking about? You're the step backwards in this scenario? AI should NOT code for you. It's e mere assistans tool and if you can't validate if the code it spits out is any good or not, that's a skill issue on you my friend.

  • @magikworx3748

    @magikworx3748

    2 ай бұрын

    You don't think bad actors are going to inject bad code and get LLMs to do bad code? That's just silly. Vendor side-channel attacks are a thing. If there's a big enough target, then there's incentive to figure out how. Your only mitigation is to not use it with security critical pieces, simple.

Келесі