Linux

I made a pseudo linux device driver with zig



Stream from August 23, 2024 at
Happy hour archives at

00:00 Intro
05:25 Making a character device
48:00 Per file handle state
53:05 Zig kernel allocator and echoing

[ad_2]

source

Related Articles

7 Comments

  1. 16:45 In C, if you specify at least one member, all other members are initialized to 0, search for "c partial initialization". What you tried first `{0}` is not some compiler magic, but just initializing the first member to 0, and making all others 0 by this rule

  2. I love these types of videos where the flow is:

    1. I want to do Y that requires X
    2. I dont know X
    3. Lets read and experiment until we get the point we can do Y, and we'll learn X along the way

    The process of discovering and exploring solutions to unknown problems is a great insight, thanks for sharing it!

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button