July 14th, 2024

Fusion OS: Writing an OS in Nim

The author details creating Fusion OS in Nim, emphasizing features like deterministic memory management and capability-based security. The project explores novel concepts and diverges from Unix conventions, focusing on experimentation.

Read original articleLink Icon
Fusion OS: Writing an OS in Nim

The article discusses the author's journey of developing an operating system in Nim, highlighting the language's features such as deterministic memory management, static typing, and inline assembly support. The OS project, named Fusion OS, aims to explore unique concepts like a single address space for processes, capability-based security, computations as state machines, message passing, and a memory-mapped filesystem. The author emphasizes that Fusion OS will not follow a Unix-like structure but will focus on experimental ideas. The source code is available on GitHub. The next steps involve setting up the development environment for the project.

Related

Fiwix: Unix-like kernel for the i386 architecture

Fiwix: Unix-like kernel for the i386 architecture

The Fiwix operating system kernel, a UNIX-based system, emphasizes POSIX compatibility. It offers preemptive multitasking, POSIX compliance, virtual memory management, and supports various filesystems and hardware platforms. Fiwix serves as an educational tool with simple kernel code for students and enthusiasts. Installation is feasible from CD-ROM or floppy disk with minimal hardware requirements. Users are cautioned about potential bugs and incomplete features due to its early development stage. More details are available on the Fiwix GitHub Repository or website.

Nim Version 2.0.8 Released

Nim Version 2.0.8 Released

Nim 2.0.8, the fourth patch for Nim 2.0, brings stability improvements, gcc14 support, and optimizations. Released quickly to aid partner Status, it fixes issues like regressions and memory problems. Users can update easily.

At the Mountains of Madness

At the Mountains of Madness

The blog discusses challenges in building executables for NixOS and Linux, focusing on ELF interpretation, glibc versions, and dynamic linking. It explores container use, NixOS dependency management, and proposes patchelf for cross-compatibility.

Lennart Poettering: Fitting Everything Together

Lennart Poettering: Fitting Everything Together

The blog post explores integrating systemd components for Linux OS development, emphasizing hermetic /usr/ design, image-based OS with security features, self-updating systems, and community-driven desktop OS with advanced security measures.

Fusion – a hobby OS implemented in Nim

Fusion – a hobby OS implemented in Nim

Fusion hobby OS, created in Nim for x86-64, includes UEFI Bootloader, Memory Managers, Multitasking, System Calls, and more. Future plans involve adding features like Demand Paging, File System, GUI, and Networking.

Link Icon 1 comments