kerla
smoltcp
kerla | smoltcp | |
---|---|---|
15 | 9 | |
3,310 | 3,560 | |
- | 1.3% | |
0.0 | 8.8 | |
about 1 year ago | 9 days ago | |
Rust | Rust | |
GNU General Public License v3.0 or later | BSD Zero Clause License |
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.
kerla
-
Tilck – A Tiny Linux-Compatible Kernel
> [..] in kernel mode while retaining the ability to compare how the very same usermode bits run on the Linux kernel as well. That's a unique feature in the realm of educational kernels.
There's also Kerla: https://github.com/nuta/kerla
-
Perfectly balanced
Is he Nuta? https://github.com/nuta/kerla
-
Rustaceans at the Border [Linux Kernel]
> How would that work in reality? Re-use the existing tests to build a new kernel from scratch? Sounds like a very far-out idea that wouldn't help with any of the current problems, but I'm happy to entertain the idea and hear your reasoning here.
While I would tend to agree that a full production replacement would be such a massive undertaking as to be impractical, https://github.com/nuta/kerla does something very like that - Linux userspace ABI on an all-new Rust kernel. (And even at this small scale, I find it mind-blowing that this worked)
- Rust takes a major step forward as Linux's second official language
- Kerla.dev: ¿un Linux hecho con Rust?
- Están haciendo una versión "open source" en Rust del kernel Linux
-
An OS made from Rust other than Redox
https://github.com/nuta/kerla was mentioned not too long ago - a hobby kernel that aims to reimplement the Linux syscall ABI
- Kerla: Monolithic kernel in Rust, aiming for Linux ABI compatibility
- Kerla: A new operating system kernel with Linux binary compatibility written in Rust.
smoltcp
-
Implementing TCP in Rust
There is also the Rust TCP/IP stack https://github.com/smoltcp-rs/smoltcp which is not mentioned as reference (and it's probably more useful to have a look there than querying ChatGPT).
- RFC2217 implementation written in Rust
-
Create TCP connection with Pnet
Trying to dig out a link for you, will edit when I find it; TCP and Layer 4 raw sockets do not play nicely together on many platforms. You’ll probably have to send at the datalink layer and/or use something like https://github.com/smoltcp-rs/smoltcp
-
Introduction to TCP and Sockets
This seems close to what you're asking for: https://github.com/smoltcp-rs/smoltcp
A small-ish tcp/ip stack, in rust.
- smoltcp is a standalone, event-driven TCP/IP stack that is designed for bare-metal, real-time systems. Its design goals are simplicity and robustness.
-
Rust embedded and networking
You can look into smoltcp
-
What are some low level networking libraries that y'all recommend?
smoltcp
-
Kerla: Monolithic kernel in Rust, aiming for Linux ABI compatibility
This here is a kernel including a memory-safe TCP/IP stack (https://github.com/smoltcp-rs/smoltcp/), and not having it crash or be full of security vulnerabilities due to preventable memory corruption is a quality beyond personal language preferences.
-
Let's suppose for a minute that I've COMPLETELY lost my mind
Oh, and you also probably want to check out smoltcp, a userspace/"no operating system required" networking stack that we often use in embedded rust.
What are some alternatives?
tock - A secure embedded operating system for microcontrollers
embassy - Modern embedded framework, using Rust and async.
redshirt - 🧑🔬 Operating system
rust-raspberrypi-OS-tutorials - :books: Learn to write an embedded OS in Rust :crab:
axum - Ergonomic and modular web framework built with Tokio, Tower, and Hyper
Rust-for-Linux - Adding support for the Rust language to the Linux kernel.
mosys
warp - A super-easy, composable, web server framework for warp speeds.
headcrab - A modern Rust debugging library 🦀
OpenSK - OpenSK is an open-source implementation for security keys written in Rust that supports both FIDO U2F and FIDO2 standards.