cargo-gccrs
KallistiOS
cargo-gccrs | KallistiOS | |
---|---|---|
5 | 3 | |
22 | 303 | |
- | 10.9% | |
1.6 | 9.5 | |
11 months ago | 2 days ago | |
Rust | C | |
GNU General Public License v3.0 or later | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cargo-gccrs
-
Rust Support Is Being Built into the GNU GCC Compiler
We have `cargo-gccrs` for this, so a cargo subcommand which intercepts arguments given to `rustc` and converts them into `gccrs` arguments :)
https://github.com/rust-GCC/cargo-gccrs/
it's still in a relatively early stage as we are focusing on the compiler. But the idea is for it to be a drop-in replacement for compilation and execution operations, so you'd have `cargo gccrs build`, `cargo gccrs run`, `cargo gccrs test`, etc
-
GCC gets a new frontend for Rust
gccrs is the compiler (like rustc). You can use cargo with gccrs : https://github.com/Rust-GCC/cargo-gccrs
-
GCC Rust front-end approved by GCC Steering Committee
See https://github.com/Rust-GCC/cargo-gccrs. There will definetly some sort of cargo support in the end. Either by having a behave-like-rustc wrapper around gccrs or by adding support directly to cargo or a cargo fork.
-
GCC Rust Approved by GCC Steering Committee
Cargo support for gccrs is part of this project:
https://github.com/Rust-GCC/cargo-gccrs
Moreover, modules are less interesting to me in embedded development as is access to Rust's borrow checker for gaining certainty of small portions of larger projects, which are written in other languages.
-
GCC Rust in 2021
- With the [cargo-gccrs](https://github.com/Rust-GCC/cargo-gccrs/) we want to integrate gccrs as seamless as possible into the Rust ecosystem. So yes.
KallistiOS
-
DreamShell: Operating System for the Sega Dreamcast
FTA:
"DreamShell
The Dreamshell is the operating system for the Sega Dreamcast based on the KallistiOS[0] kernel. It has a dynamic loadable modular system and interface for creating applications with XML UI and both C/C++ and Lua script on. You can see examples in ready-made applications and modules, drivers for various devices, formats and interfaces. Examples for audio and video decoding, compression, packaging, binding, network, emulation, scripts and more. From hardcore low-level assembler to high-level applications. There are also large subproject is the ISO Loader, which contains emulation of BIOS system calls, CDDA playback and VMU, also it can hooking interrupts for various SDKs and more."
"KallistiOS is an unofficial development kit for the SEGA Dreamcast game console with some support for the NAOMI and NAOMI 2 arcade boards.
KOS was developed from scratch over the internet by a group of free software developers and has no relation to the official Sega Katana or Microsoft Windows CE Dreamcast development kits. This has allowed it to fuel a thriving Dreamcast homebrew scene, powering many commercial releases for the platform over the years. It supports a significant portion of the Dreamcast's hardware capabilities and a wide variety of peripherals, accessories, and add-ons for the console, including custom hardware modifications that have been created by the scene.
Despite the console's age, KOS offers an extremely modern, programmer-friendly development environment. Using the latest GCC toolchain, it supports the entirety of C17 and C++20 including their standard libraries, along with support for portions of C23, C++23, Objective-C, and various POSIX APIs. Additionally, KOS-ports offers a rich set of add-on libraries such as SDL, OpenGL, OpenAL, and Lua for the platform."[0]
[0] https://github.com/KallistiOS/KallistiOS
- GCC gets a new frontend for Rust
-
How would I go about making my own game for the Dreamcast?
You’re going to want to use KallistiOS to get started: https://github.com/KallistiOS/KallistiOS. It’s essentially a pseudo-OS for the Dreamcast that provides a lot of Linux-like functions.
What are some alternatives?
rustc_codegen_gcc - libgccjit AOT codegen for rustc
DreamShell - Operating system for the Sega Dreamcast
simh - The Computer History Simulation Project
hubris - A lightweight, memory-protected, message-passing kernel for deeply embedded systems.
MaplePad - 🍁 Dreamcast controller emulator using RP2040. Supports 8-page memory card, SPI/I2C OLED for VMU LCD, and rumble.
gccrs - GCC Front-End for Rust
DCSpeedBall2 - SpeedBall 2 for Pocket PC/Dreamcast (WCE), with special thanks to Comby Laurent and LemonHaze
Rust-for-Linux - Adding support for the Rust language to the Linux kernel.
min-sized-rust - 🦀 How to minimize Rust binary size 📦
miri - An interpreter for Rust's mid-level intermediate representation
coreutils - Cross-platform Rust rewrite of the GNU coreutils