All Projects → vlang → vinix

vlang / vinix

Licence: GPL-2.0 license
Vinix is an effort to write a modern, fast, and useful operating system in the V programming language

Programming Languages

V
68 projects
c
50402 projects - #5 most used programming language
Makefile
30231 projects
python
139335 projects - #7 most used programming language
shell
77523 projects
Verilog
626 projects

Projects that are alternatives of or similar to vinix

ez-rtos
A micro real-time operating system supporting task switching, delay function, memory allocator and critical section. It is writen on ARM Cortex-M3 assemble language, it runs successfully on STM32F103 MCU.
Stars: ✭ 57 (-96.23%)
Mutual labels:  os, operating-system
termtable
Simple and highly customizable library to display tables in the terminal.
Stars: ✭ 41 (-97.29%)
Mutual labels:  v, vlang
Zen
Experimental operating system written in Zig
Stars: ✭ 177 (-88.29%)
Mutual labels:  os, operating-system
CinderOS
👨‍💻An operating system, built from scratch in C.
Stars: ✭ 26 (-98.28%)
Mutual labels:  os, operating-system
CS Offer
后台开发基础知识总结(春招/秋招)
Stars: ✭ 352 (-76.72%)
Mutual labels:  os, operating-system
Mos
A hobby operating system developed from scratch
Stars: ✭ 169 (-88.82%)
Mutual labels:  os, operating-system
Pebble
Microkernel and userspace written in Rust exploring modern ideas
Stars: ✭ 184 (-87.83%)
Mutual labels:  os, operating-system
Serenity
SerenityOS is a love letter to '90s user interfaces with a custom Unix-like core. It flatters with sincerity by stealing beautiful ideas from various other systems.
Stars: ✭ 16,842 (+1013.89%)
Mutual labels:  os, operating-system
vave
🌊 A crazy simple library for reading/writing WAV files in V. Zero dependencies, 100% cross-platform.
Stars: ✭ 35 (-97.69%)
Mutual labels:  v, vlang
Unikraft
Unikraft is an automated system for building specialized POSIX-compliant OSes known as unikernels. (Core repository)
Stars: ✭ 183 (-87.9%)
Mutual labels:  os, operating-system
Mbp Fedora
Stars: ✭ 129 (-91.47%)
Mutual labels:  os, operating-system
Luakernel
Lua + SQLite + musl libc running on x86.
Stars: ✭ 223 (-85.25%)
Mutual labels:  os, operating-system
Emerald
An operating system written in C
Stars: ✭ 118 (-92.2%)
Mutual labels:  os, operating-system
SEAC
Systeme d'exploitation
Stars: ✭ 22 (-98.54%)
Mutual labels:  os, operating-system
Tofita
🍬 All-new kernel for @GreenteaOS
Stars: ✭ 112 (-92.59%)
Mutual labels:  os, operating-system
Pinpog
Ping-Pong-like game in Assembly that works without OS
Stars: ✭ 177 (-88.29%)
Mutual labels:  os, operating-system
Reactos
A free Windows-compatible Operating System
Stars: ✭ 10,216 (+575.66%)
Mutual labels:  os, operating-system
Axel
Operating System
Stars: ✭ 96 (-93.65%)
Mutual labels:  os, operating-system
Cyjon
A simple, clean code, multi-tasking operating system written in pure assembly language for 64-bit processors from the AMD64 family.
Stars: ✭ 184 (-87.83%)
Mutual labels:  os, operating-system
Frosted
Frosted: Free POSIX OS for tiny embedded devices
Stars: ✭ 194 (-87.17%)
Mutual labels:  os, operating-system

Vinix

Vinix is an effort to write a modern, fast, and useful operating system in the V programming language.

Join the Discord chat.

What is Vinix all about?

  • Keeping the code as simple and easy to understand as possible, while not sacrificing performance and prioritising code correctness.
  • Making a usable OS which can run on real hardware, not just on emulators or virtual machines.
  • Targetting modern 64-bit architectures, CPU features, and multi-core computing.
  • Maintaining good source-level compatibility with Linux to allow to easily port programs over.
  • Exploring V capabilities in bare metal programming and improving the compiler in response to the uncommon needs of bare metal programming.
  • Having fun.

Note: Vinix is still pre-alpha software not meant for daily or production usage!

Screenshot 0 Screenshot 1

Photo by Hubblesite.org: https://hubblesite.org/files/live/sites/hubble/files/home/science/stars-and-nebulae/_images/STScI-H-stars-nebulae-0411a-2400x1200.jpg

Download latest nightly image

You can grab a pre-built nightly Vinix image at https://github.com/vlang/vinix/releases

Make sure to boot the ISO with enough memory (8+GiB) as, for now, Vinix loads its entire root filesystem in a ramdisk in order to be able to more easily boot on real hardware.

Roadmap

  • mlibc
  • bash
  • gcc/g++
  • V
  • nano
  • storage drivers
  • ext2
  • X.org
  • Wayland
  • Hypervisor
  • X window manager
  • V-UI
  • Networking
  • Intel HD graphics driver (Linux port)

Build instructions

Distro-agnostic build prerequisites

The following is a distro-agnostic list of packages needed to build Vinix.

Skip to a paragraph for your host distro if there is any.

GNU make, curl, git, mercurial, bsdtar, xorriso, and qemu to test it.

Build prerequisites for Ubuntu, Debian, and derivatives

sudo apt install -y make curl git mercurial libarchive-tools xorriso qemu-system-x86

Build prerequisites for Arch Linux and derivatives

sudo pacman -S --needed make curl git mercurial libarchive xorriso qemu

Build prerequisites for Red Hat Linux and derivatives

sudo yum install -y make curl git mercurial libarchive xorriso qemu

Building the distro

To build the distro, which includes the cross toolchain necessary to build kernel and ports, as well as the kernel itself, run:

make distro-base # Build the base distribution.
make all         # Make filesystem and ISO.

This will build a minimal distro image. The make distro-full target is also avaliable to build the full distro; this step will take a while.

To test

In Linux, if KVM is available, run with

make run-kvm

In macOS, if hvf is available, run with

make run-hvf

To run without any acceleration, run with

make run
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].