Minimal x86 Kernel Zig
21–30 of 71 posts
Re: Minimal x86 Kernel Zig
#22I'm very surprised it's *that* short - handling one in rust i'm surprised by the very low amount of code to get that up. Thanks or sharing that was a first time reading some Zig for me !
Re: Minimal x86 Kernel Zig
#23What's the point of doing this in "Zig" instead of C, the traditional choice for this kind of thing?
Re: Minimal x86 Kernel Zig
#24What's the point of doing this in "Zig" instead of C, the traditional choice for this kind of thing?
Re: Minimal x86 Kernel Zig
#25thats not a kernel
Indeed, it's freestanding, the repo name doesn't have the correct term, but the source file does near the end: https://github.com/lopespm/zig-minimal-kernel-x86/blob/main/... 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...
Re: Minimal x86 Kernel Zig
#26What's the point of doing this in "Zig" instead of C, the traditional choice for this kind of thing?
Re: Minimal x86 Kernel Zig
#27Re: Minimal x86 Kernel Zig
#28In order to be run on bare metal it's needing another bootloader which the documentation only barely mentions.
More on the naming: why to call it kernel?
Re: Minimal x86 Kernel Zig
#29What's the point of doing this in "Zig" instead of C, the traditional choice for this kind of thing?
But also, I can see some amount of weird hooray optimism in this project, like: totally confusing claim that the thing is bare metal when it's still being run under an emulator; also, calling it a kernel is a huge overstatement
Re: Minimal x86 Kernel Zig
#30What's the point of doing this in "Zig" instead of C, the traditional choice for this kind of thing?