Giter Site home page Giter Site logo

skyn9ne / vinixos Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vlang/vinix

1.0 0.0 0.0 10.24 MB

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

License: GNU General Public License v2.0

Shell 0.82% C++ 0.02% Python 1.37% C 5.80% Verilog 0.78% Assembly 0.38% Makefile 1.73% AMPL 0.20% V 88.89%

vinixos's Introduction

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 Pixabay: https://www.pexels.com/photo/gray-and-black-galaxy-wallpaper-2150/

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
  • 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 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

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

vinixos's People

Contributors

05st avatar alehander92 avatar alula avatar andy-python-programmer avatar arsenarsen avatar ccode-lang avatar crthpl avatar delta456 avatar dennisbonke avatar el-zorab avatar ethan4984 avatar ilobilo avatar jalonsolov avatar kaiserschmarrn0 avatar louisschmieder avatar medvednikov avatar mintsuki avatar ntrel avatar spytheman avatar streaksu avatar timbasel avatar vincenzopalazzo avatar wertzui123 avatar yuyi98 avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.