AI prompts
base on RROS is a dual-kernel OS for satellites or other scenarios that need both real-time and general-purpose abilities. RROS = RTOS (Rust) + Linux (C). <div align=center>
<img src=https://github.com/Richardhongyu/RROS/assets/33805041/d8ccbeb0-c0f5-4634-8108-017367d35a4b width=70% />
</div>
--------------------------------------------------------------------------------
[![Documentation](https://img.shields.io/badge/view-docs-blue)](https://BUPT-OS.github.io/website/docs/)
[![.github/workflows/ci.yaml](https://github.com/BUPT-OS/RROS/actions/workflows/ci.yaml/badge.svg)](https://github.com/BUPT-OS/RROS/actions/workflows/ci.yaml)
[![Zulip chat](https://img.shields.io/badge/chat-on%20zulip-brightgreen)](https://rros.zulipchat.com/)
![RROS](https://img.shields.io/badge/RROS-0.0.1-orange)
[![en](https://img.shields.io/badge/lang-en-yellow.svg)](https://github.com/BUPT-OS/RROS/blob/master/README.md)
[![zh](https://img.shields.io/badge/lang-中文-yellow.svg)](https://github.com/BUPT-OS/RROS/blob/master/README.zh.md)
RROS is a dual-kernel OS, consisting of a real-time kernel (in Rust) and a general-purpose kernel (Linux). RROS is compatible with almost all native Linux programs and offers real-time performance superior to RT-Linux. It is also being experimented with as the host OS for in-orbit satellites ([Tiansuan Project](http://www.tiansuan.org.cn/)).
Here is an [architecture diagram](https://bupt-os.github.io/website/docs/introduction/architecture.jpg) and a [demo video](https://bupt-os.github.io/website/docs/introduction/demo.mp4) of RROS.
## News
- [2024.07.13] Shan Yuxuan shared research on RROS at the 2024 Rust Meetup Beijing. ([photos](https://bupt-os.github.io/website/news/2024_07_13/rust_meetup/))
- [2024.07.10] :fire::fire: “An Empirical Study of Rust-for-Linux: The Success, Dissatisfaction, and Compromise” is presented USENIX ATC 2024 Best Paper Award!!!([photos](https://bupt-os.github.io/website/news/2024_07_11/atc2024_bestpaper/))
- [2024.06.15] Li Hongyu gave an oral talk at the 26th ACM SIGOPS ChinaSys. ([photos](https://bupt-os.github.io/website/news/2024_06_15/chinasys_26/))
- [2024.03.30] RROS is presented in Open Source Operating System Annual Technical Conference 2024. ([photos](https://bupt-os.github.io/website/news/2024_03_30/os2atc/))
- [2023.12.09] :fire::fire: RROS is successfully launched into space! ([photos](https://bupt-os.github.io/website/news/2023_12_9/satellite_launch/)).
- [2023.11.30] RROS is presented at Xenomai Workshop 2023 ([photos](https://bupt-os.github.io/website/news/2023_11_30/xenomai_workshop/)).
- [2023.11.28] :fire: RROS is open-sourced!
## Why RROS
RROS is primarily intended for satellites (onboard computers, payloads, etc). The key incentive is the trend that nowadays satellites serve both traditional satellite-borne real-time tasks (e.g., communication and positioning) and general-purpose tasks that need mature, complicated software support (e.g., data compression and machine learning). That catalyzes the dual-kernel architecture of RROS. Taking a step further, the real-time kernel of RROS is fully implemented in Rust for better safety and robustness. However, RROS can be used in scenarios like automatic cars, IoTs, industrial control, etc.
The advantages of RROS are:
* **Hard real-time**:
RROS offers superior real-time performance compared to RT-Linux. RROS is designed with an efficient task scheduler that can quickly respond to external events, reducing task switching and processing delays.
* **Compatibility**:
RROS is compatible with almost every Linux program, allowing seamless migration of complex Linux applications such as TensorFlow and Kubernetes. You can also easily modify your general Linux programs into a more real-time counterpart.
* **Easy to use**:
RROS facilitates easy programming and debugging of real-time programs. RROS uses the libevl interface to call real-time APIs for user programs, allowing you to use tools like gdb, kgdb, and QEMU.
* **Robustness**:
The real-time kernel of RROS is carefully written in Rust, making it safer and more robust, especially for memory and concurrency issues.
## Quick start
[Kick off with RROS easily](https://bupt-os.github.io/website/docs/introduction/quick-start/): boot, run, test, and develop with RROS.
## Document
See the [document](https://bupt-os.github.io/website/docs/) including:
* [Quick Start](https://bupt-os.github.io/website/docs/introduction/quick-start)
* [Setup the Environment](https://bupt-os.github.io/website/docs/tutorial/setup-the-environment)
* [Choose a file System](https://bupt-os.github.io/website/docs/tutorial/choose-a-file-system)
* [Deploy RROS on the Raspberry Pi](https://bupt-os.github.io/website/docs/tutorial/deploy-rros-on-the-raspberry-pi)
* [Debug](https://bupt-os.github.io/website/docs/tutorial/debug)
* [Kernel Tools](https://bupt-os.github.io/website/docs/tutorial/kernel-tools)
## Communication & Contribution
Contact us at [Zulip Forum](https://rros.zulipchat.com/) or with email `buptrros AT gmail.com`.
Contributions are also very welcomed! [Check it out](https://bupt-os.github.io/website/docs/contributing/contributing/).
## Roadmap
See [here](https://bupt-os.github.io/website/docs/roadmap/roadmap) for our future roadmap.
## Who are we
We are a [research group](https://bupt-os.github.io/website/docs/team/team/) at BUPT.
## Release
The RROS relies on both the dovetail and the Rust for Linux(RFL), neither of which currently provides patches. Integrating one into the other at a high frequency is challenging. As a result, RROS is currently tied to Linux kernel version 5.13, built on top of linux-dovetail-v5.13, and readily compatible with RFL patch v1. Fortunately, RFL is swiftly making its way into the mainline Linux kernel. We plan to release new versions once most of the RFL APIs we depend on are available in the linux-dovetail mainline. At that point, we will further consider Long-Term Support (LTS) versions.
## Acknowledgements
RROS has benefitted from the following projects/resources.
- [Evl/xenomai (linux-evl)](https://evlproject.org/core/). We learned from evl core how to implement a dual kernel and use dovetail for interrupt virtualization and libevl for user library. Thanks, @Philippe for his genius work and patient explanation in the riot!
- [Rust-for-Linux](https://github.com/Rust-for-Linux/linux): We use RFL to write RROS in Linux. We ask a lot of questions on RFL Zulip and constructing safety abstractions. Kudos to @ojeda, @Wedson, @Alex, @boqun, @Gary, @Björn in the RFL community for patiently helping us. We hope to bring more safety abstraction back to the RFL in return!
- [Muduo](https://www.cnblogs.com/wsg1100/p/13836497.html): His detailed blog gives us insights for xenomai/evl project.
- All prospective contributors to RROS in the future!
## Citation
```
@misc{li2023rros,
title = {RROS: A Dual-kernel Real-time Operating System in Rust},
url = {https://github.com/BUPT-OS/RROS},
author = {Hongyu Li and Jiangtao Hu and Qichen Qiu and Yuxuan Shan and Bochen Wang and Jiajun Du and Yexuan Yang and Xinge Wang and Shangguang Wang and Mengwei Xu},
month = {December},
year = {2023}
}
```
## License
The source code of RROS is under the License of GPL-2.0.
", Assign "at most 3 tags" to the expected json: {"id":"5883","tags":[]} "only from the tags list I provide: [{"id":77,"name":"3d"},{"id":89,"name":"agent"},{"id":17,"name":"ai"},{"id":54,"name":"algorithm"},{"id":24,"name":"api"},{"id":44,"name":"authentication"},{"id":3,"name":"aws"},{"id":27,"name":"backend"},{"id":60,"name":"benchmark"},{"id":72,"name":"best-practices"},{"id":39,"name":"bitcoin"},{"id":37,"name":"blockchain"},{"id":1,"name":"blog"},{"id":45,"name":"bundler"},{"id":58,"name":"cache"},{"id":21,"name":"chat"},{"id":49,"name":"cicd"},{"id":4,"name":"cli"},{"id":64,"name":"cloud-native"},{"id":48,"name":"cms"},{"id":61,"name":"compiler"},{"id":68,"name":"containerization"},{"id":92,"name":"crm"},{"id":34,"name":"data"},{"id":47,"name":"database"},{"id":8,"name":"declarative-gui "},{"id":9,"name":"deploy-tool"},{"id":53,"name":"desktop-app"},{"id":6,"name":"dev-exp-lib"},{"id":59,"name":"dev-tool"},{"id":13,"name":"ecommerce"},{"id":26,"name":"editor"},{"id":66,"name":"emulator"},{"id":62,"name":"filesystem"},{"id":80,"name":"finance"},{"id":15,"name":"firmware"},{"id":73,"name":"for-fun"},{"id":2,"name":"framework"},{"id":11,"name":"frontend"},{"id":22,"name":"game"},{"id":81,"name":"game-engine "},{"id":23,"name":"graphql"},{"id":84,"name":"gui"},{"id":91,"name":"http"},{"id":5,"name":"http-client"},{"id":51,"name":"iac"},{"id":30,"name":"ide"},{"id":78,"name":"iot"},{"id":40,"name":"json"},{"id":83,"name":"julian"},{"id":38,"name":"k8s"},{"id":31,"name":"language"},{"id":10,"name":"learning-resource"},{"id":33,"name":"lib"},{"id":41,"name":"linter"},{"id":28,"name":"lms"},{"id":16,"name":"logging"},{"id":76,"name":"low-code"},{"id":90,"name":"message-queue"},{"id":42,"name":"mobile-app"},{"id":18,"name":"monitoring"},{"id":36,"name":"networking"},{"id":7,"name":"node-version"},{"id":55,"name":"nosql"},{"id":57,"name":"observability"},{"id":46,"name":"orm"},{"id":52,"name":"os"},{"id":14,"name":"parser"},{"id":74,"name":"react"},{"id":82,"name":"real-time"},{"id":56,"name":"robot"},{"id":65,"name":"runtime"},{"id":32,"name":"sdk"},{"id":71,"name":"search"},{"id":63,"name":"secrets"},{"id":25,"name":"security"},{"id":85,"name":"server"},{"id":86,"name":"serverless"},{"id":70,"name":"storage"},{"id":75,"name":"system-design"},{"id":79,"name":"terminal"},{"id":29,"name":"testing"},{"id":12,"name":"ui"},{"id":50,"name":"ux"},{"id":88,"name":"video"},{"id":20,"name":"web-app"},{"id":35,"name":"web-server"},{"id":43,"name":"webassembly"},{"id":69,"name":"workflow"},{"id":87,"name":"yaml"}]" returns me the "expected json"