百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
P

Polaris

> 编程语言
开源

Polaris Logo by Toastito 注意: 此代码库将不再维护。计划从头开始重新启动此项目。随着时间的推移,…

613 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

Polaris Logo by Toastito 注意: 此代码库将不再维护。计划从头开始重新启动此项目。随着时间的推移,…

Polaris

Logo by Toastito

Note

This codebase will no longer be maintained. There are plans to restart this project from scratch. Over time, I've learned more about OS development and feel like I could do a lot of things differently now. Feel free to look around the code, but be warned there may be some bugs lurking here and there.

Polaris is an UNIX-like kernel written in C, which uses Limine as its default bootloader and boot protocol. It's goal is to be simple to build and understand, while also acting as a learning experience.

Background Image by Ambra

[!WARNING] Polaris is under active development and is not suitable for real usage.

Building

Building requires a Linux environment, Windows users may use WSL2 without issues.

  1. Clone the repository with submodules.
  2. Install make, xorriso and bsdtar.
  3. Run make jinx to download the jinx script used for building Polaris' userspace
  4. Run make userspace-base on the repository's root to build a base system. Run make userspace-full on the repository's root to build all the packages ported.
  5. Run make to generate an ISO image.

Running

It is recommended to use QEMU for ease of use. An example command to run Polaris would be as follows: Since the entire rootfs is in the ramdisk atleast 8 gigabytes of memory is needed for the entire userspace. userspace-base can be used if you don't have the required memory free.

We intend to move the rootfs to disk later on but for now you need to allocate minimum 8 gigabytes.

qemu-system-x86_64 -M q35 -m 8192M -cdrom [ISO path] -serial stdio -boot d -smp 4

Here are some additional options:

  • -cpu qemu64,+la57: Tests level 5 paging support.
  • -accel kvm -cpu host: Enables KVM (requires host support).

Contributing

We would appreciate issues and pull requests, any help is appreciated! A detailed contribution guide will be added later into development.

License

Polaris is licensed under the Apache License 2.0 which you can read here.

Credits

  • Vinix: The socket implementation is a C translation of Vinix's. Most of the recipes are based off Vinix's.
…
  • Lyre: Heavy inspiration for VFS, Events API, Timers and some other bits of code.
…
  • Musl: Various libc functions used in the codebase.
…
  • eyalroz/printf: Printf implementation used in the code.
…

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rust

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言