Navigation
Recherche
|
Fusion OS: writing an OS in Nim
lundi 15 juillet 2024, 14:38 , par OS News
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.
https://www.osnews.com/story/140239/fusion-os-writing-an-os-in-nim/
Voir aussi |
56 sources (32 en français)
Date Actuelle
dim. 8 sept. - 02:50 CEST
|