Article 6P7GQ Fusion OS: writing an OS in Nim

Fusion OS: writing an OS in Nim

by
Thom Holwerda
from OSnews on (#6P7GQ)

I decided to document my journey of writing an OS in Nim. Why Nim? It's one of the few languages that allow low-level systems programming with deterministic memory management (garbage collector is optional) with destructors and move semantics. It's also statically typed, which provides greater type safety. It also supports inline assembly, which is a must for OS development. Other options include C, C++, Rust, and Zig. They're great languages, but I chose Nim for its simplicity, elegance, and performance.

Fusion OS documentation website

I love it when a hobby operating system project not only uses a less common programming language, but the author also details the entire development process in great detail. It's not a UNIX-like, and the goals are a single 64 bit address space, capability-based security model, and a lot more. It's targeting UEFI machines, and the code is, of course, open source and available on GitHub.

External Content
Source RSS or Atom Feed
Feed Location http://www.osnews.com/files/recent.xml
Feed Title OSnews
Feed Link https://www.osnews.com/
Reply 0 comments