Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I’ve been dabbling in OS development. I started with rust and it was… ok. Lots of what you’d expect: unsafe all over the place, weird borrow checker work arounds. It felt like I was bending the languages arm.

I recently started to re implement the (admittedly very basic) kernel in Zig and it’s been a breath of fresh air. The language seems much better suited for the level of abstraction that Osdev lives at. Major bonus is that all the existing C code is directly useable in a zig project without any wrapper nonsense or it can be easily translated.

I think I’ll stick with dig for a bit.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: