{"id":43827374,"url":"https://github.com/schwiftyos/schwifty-kernel","last_synced_at":"2026-02-06T02:35:32.899Z","repository":{"id":335424709,"uuid":"1144120756","full_name":"schwiftyos/schwifty-kernel","owner":"schwiftyos","description":"Kernel written in Swift.","archived":false,"fork":false,"pushed_at":"2026-01-30T08:12:37.000Z","size":30,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-30T20:49:53.443Z","etag":null,"topics":["kernel","swift"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/schwiftyos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-28T10:11:39.000Z","updated_at":"2026-01-30T15:34:42.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/schwiftyos/schwifty-kernel","commit_stats":null,"previous_names":["schwiftyos/schwifty-kernel"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/schwiftyos/schwifty-kernel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schwiftyos%2Fschwifty-kernel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schwiftyos%2Fschwifty-kernel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schwiftyos%2Fschwifty-kernel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schwiftyos%2Fschwifty-kernel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/schwiftyos","download_url":"https://codeload.github.com/schwiftyos/schwifty-kernel/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schwiftyos%2Fschwifty-kernel/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29145977,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T02:33:21.209Z","status":"ssl_error","status_checked_at":"2026-02-06T02:33:17.184Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["kernel","swift"],"created_at":"2026-02-06T02:35:32.179Z","updated_at":"2026-02-06T02:35:32.885Z","avatar_url":"https://github.com/schwiftyos.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Schwifty Kernel\n\nA kernel written in Swift.\n\nWe chose Swift because, objectively speaking, it is the best programming language when it comes to abstraction, flexibility, memory safety, performance, productivity, and syntax.\n\n## Table of Contents\n\n- [Purpose](#Purpose)\n- [Prerequisites](#prerequisites)\n- [Status](#status)\n\n## Purpose\n\nThe main purpose of this project is to provide memory safety at the kernel level while not sacrificing system performance or developer productivity; we would like it to be a drop-in replacement for existing kernels to make them more secure and performant.\n\n## Prerequisites\n\n- x86 architecture\n- assembler (as)\n- linker (ld)\n- bash\n- grub (+libisoburn, mtools, dosfstools)\n- QEMU\n- Swift 6.2 toolchain\n\n## Status\n\nThe project is currently in heavy development, with many components missing or not fully developed.\n\n### Architectures\n\nWe have to manually write the boot sequences in assembly for each architecture we want to support, which is why x86 is the only one supported right now; Swift code automatically translates to many architectures so we only need to work on booting for other architectures to fully support them (in theory).\n\n- [x] x86\n- [ ] ARM\n- [ ] RISC-V\n- [ ] WASM\n\n### Drivers\n\n- [x] UART (Serial Port)\n- [ ] VGA\n- [ ] I/O\n  - [ ] Synchronous I/O\n  - [ ] Shared Rings (Ring Buffers)\n  - [ ] `io_uring`\n- [ ] Keyboard\n- [ ] Network\n- [ ] Virtual I/O\n- [ ] Mouse\n- [ ] NVME\n- [ ] Audio\n\n### Misc\n\n- [x] Protected Mode\n- [x] Long Mode\n- [x] Global Descriptor Table\n- [x] Interrupt Descriptor Table\n- [ ] SIMD support\n- [ ] Single Address Space (SASOS)\n- [ ] APIC (Advanced Programmable Interrupt Controller)\n- [ ] Schedulers\n- [ ] Cooperative Scheduling\n- [ ] Threads\n- [ ] Context Switches\n- [ ] Processes\n- [ ] Swift Runtime\n- [ ] Package Traits to only use what you need","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschwiftyos%2Fschwifty-kernel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fschwiftyos%2Fschwifty-kernel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschwiftyos%2Fschwifty-kernel/lists"}