• 0 Posts
  • 8 Comments
Joined 1 year ago
cake
Cake day: August 4th, 2023

help-circle


  • Evolution happens by iteration. Every iteration hopes to be a little bit better by bringing something a little bit differently.

    F1 cars are a good example of that. Yet, nobody is going to say F1 from the 90’s could compete with today’s version.

    And, anyway, time well spent for someone is always a waste of time for someone else.

    BTW, I want to thank all the Void Linux contributors for that excellent distribution. It has been a while since I changed my main distro.

    I was using Debian for 15 years; but sadly it didn’t evolved much and something new appeared…






  • Zig is “c”, but modern and safe.

    The big selling points compared to Rust are:

    • A better syntax
    • No hidden control flow
    • No hidden memory allocation
    • Really great interop with C (it’s almost as if you just include the C code as you would in a C code base…)
    • Fast compile time
    • it’s more readable
    • it’s simpler to learn

    The syntax is really close to the C language; any C programmer can pick up Zig really fast.

    IMO Zig is a far better choice to go in the kernel than Rust.

    Linux has tried to include CPP in it, and it failed.

    So imagine if trying to fit in a C-like cousin failed, how far they are to fit an alien language like Rust…

    For more information: https://ziglang.org/learn/why_zig_rust_d_cpp/