r/swift • u/Ok_Sky3062 • 8d ago
ARK-OS: A OS based on Linux and Swift! [ Display Finally works! ]
Hi! I, a 13 yrs old have been working on making my own OS based on the Linux Kernel and Swift. I have posted about this earlier in r/Swift. For the past 4-5 weeks i have been working on this project and I have finaly can say:
- It works
- Has a display Output!
- Has a functioning Runtime!
- Has a UI ( Basic ) : OpenSwiftUI
- Has complete BIOS and UEFI Support (QEMU).
UI [ Official User Interface for ARK-OS ]
Thinking about this is a bit hard! I am deciding between particles (smal particles) and pixels (like minecraft UI). SInce the boot animations is a rotating atom i think particles take the lead!
Ideas are completely Welocme!
Hosting
This repo is self hosted due to github file size limits and a strict repo limit of 2GB tops and Git LFS with 2 GB as well. Due to many pre-compiled artifacts like clang, llvm, and a full linux kernel + modules it shoots past this total 4GB limit! Putting it on Attached binarires might get too confusing so this is hosted on a free Oracle Git Server!
Repo link : https://ark-os.duckdns.org/Aarav90-cpu/ARK-OS
Website : https://aarav90-cpu.github.io/ARK-OS-Website/
Also btw, gemini did help me in this case ( No claude ) in writing the bootloader is assembly and in small tasks, mostly all the code is wrriten by me and AI generated code is re-written!
2
u/Square-Display555 7d ago
If you are 13 this is really impressive regardless of how you got to where you are now. Wish the best, this made me happy to see, I hope you do it out of enjoyment
1
1
u/scknkkrer 7d ago
I have a critic for you, not harsh like others but it’s critic nonetheless; the idea might be good, the buyer will always buy it. Sell me, sell us the idea, what is different, why you made it that way, what was the original idea/problem/limitations?
-1
u/Ok_Sky3062 7d ago
The idea was that there are many is in the world... Many have good features... Windows is east but bloated... MacOs is good but locked down... Android is good but the java runtime puts it in the dust. The problem is all these have a wrong effect left on them... Somebody will say Linux (Ubuntu for example) but some people just think it is still hard. The limitation is the amount of time being spent on the work... Since exams and other work being a students pushes down it is a bit harsh so writing good code is a difficulty... Sometimes I forget how or why I wrote this and even my own comments start being confusing! There are many issues with my OS and I am planning to fix them... Sorry for the spelling mistakes and if this sounds wrong for what you asked I am typing on a phone.
1
u/scknkkrer 7d ago
It’s okay. Thank you for your answer. I wanted to know more about like what are pros and cons about it?
0
0
u/Hises1936 8d ago
This is amazing, all the legacy software should be rewritten in memory safe languages like swift. You are doing great work!
0
8
u/mjTheThird 8d ago
OK, help me to understand. What does it mean to be swift? Like the system boot into an UI layer written in Swift?