Why choose intel? Let's build bootable software in 2026
Minimal x86 Kernel Zig
11–20 of 71 posts
Re: Minimal x86 Kernel Zig
#12Re: Minimal x86 Kernel Zig
#13What's the point of doing this in "Zig" instead of C, the traditional choice for this kind of thing?
Re: Minimal x86 Kernel Zig
#14What's the point of doing this in "Zig" instead of C, the traditional choice for this kind of thing?
Re: Minimal x86 Kernel Zig
#15What's the point of doing this in "Zig" instead of C, the traditional choice for this kind of thing?
Zig is supposed to be an improvement upon C, so doing C things with it seems reasonable.
Kind of neat that there's no need for a separate assembly file although there is inline assembly. Might get better (or worse) syntax support for separate assembly files? But it doesn't make a big difference until there's more features that need it (interrupts, threads/processes and maintaining their stacks, syscalls, starting other processors, etc)
Re: Minimal x86 Kernel Zig
#16What's the point of doing this in "Zig" instead of C, the traditional choice for this kind of thing?
Re: Minimal x86 Kernel Zig
#17Re: Minimal x86 Kernel Zig
#18Re: Minimal x86 Kernel Zig
#19Re: Minimal x86 Kernel Zig
#20thats not a kernel
Also baremetal where the metal is virtual. LLVM uses this term for when an OS isn't available https://github.com/llvm/llvm-project/tree/main/libc/src/stdl...