bumbread • 3 HN points • 28 Oct 23
- Writing OS kernels in high-level languages like Odin requires adjustments due to assumptions made by these languages about the target system.
- Enabling SSE instructions in an OS kernel written in Odin is necessary, as some CPUs don't have SSE enabled by default.
- When compiling an OS kernel in Odin, specific compiler flags like -target:freestanding_amd64_sysv and -no-crt are important for the build process.