nomicon
Theseus
Our great sponsors
nomicon | Theseus | |
---|---|---|
68 | 24 | |
1,316 | 2,354 | |
3.3% | 4.3% | |
6.3 | 8.4 | |
14 days ago | 5 days ago | |
CSS | Rust | |
Apache License 2.0 | MIT 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.
nomicon
-
Bypassing the borrow checker with unsafe?
If you are interested in learning more about unsafe rust, read the nomicon.
-
I love rust, I have a pet peeve with the community
Have you read the nomicon? I'm not sure it fits "in between," but it's definitely not on the "BNF and little explanation" spectrum of things. But if you're coming from years of C or C++ and are totally cool with raw pointers and just want to do stuff with them, then I'd probably point you to the nomicon.
-
I wanna be a crab.
The Nomicon for learning the dark arts of unsafe rust 😳
-
How to Practice and Learn Rust for Production Level Code?
Also rust book https://doc.rust-lang.org/book/ and Rustonomicon https://doc.rust-lang.org/nomicon/ should be enough
-
Wondering if my project can be ported to rust
Because of this you should really read the Rustonomicon before you go anywhere near unsafe Rust: a lot of things can go very wrong very quickly.
-
What's everyone working on this week (6/2023)?
You should read The Rustonomicon before you use unsafe since it's essentially the unsafe guidelines and covers much more than I can here
-
Stop Comparing Rust to Old C++
Rust doesn't have similar obscure details? May I interest you with the Rustonomicon?
-
Rust from a security perspective, where is it vulnerable?
For more details on this kind of thing, you might be interested in the Rustonomicon, which is the goto guide for the details of writing unsafe Rust code.
The "Rustonomicon" is a book about unsafe code in Rust: https://doc.rust-lang.org/nomicon/
-
Red Black Tree in Rust
Getting into unsafe Rust is generally more for intermediate to advanced users, but the Rustonomicon has good information on how to do it safely: https://doc.rust-lang.org/nomicon/
Theseus
-
[concept] Modular kernel
Not to rain on your parade, but you've essentially just described Theseus OS.
-
Planning to make a video on cool Rust apps focused on the end user. Make recommendations!
Operating System: Theseus, Redox
-
Svelte Compiler Rewritten in Rust
Erlang is a bytecode VM, so "compiled" for sure, and is pretty much the pioneer of hot reloading.
Plenty of Lisps and Schemes are compiled (though often to bytecode) and can typically dynamically replace parts of the program.
I think ability to hot upgrade seamlessly more a statement of "how much of the data structure shape is carried at runtime" / "how likely it is old and new API data structures happen to interoperate", and how likely it is that one can convert old runtime state to new runtime state. And that one can be seen as a trade-off; close to the metal control over memory layout is a performance gain, but in practice trades off this kind of flexibility (in theory you could make it work, but it's probably a lot of work).
https://www.theseus-os.com/ is an experimental kernel that can restart/reload/upgrade Rust components at ELF library boundaries. (State internal to a component has to be discarded unless you program a converter. Then again most JS web development hot reload discards internal state of a component.)
-
Official /r/rust "Who's Hiring" thread for job-seekers and job-offerers [Rust 1.61]
DESCRIPTION: As an OS developer, you will independently lead a major open-source development project within Theseus OS.Theseus OS is a novel operating system written from scratch entirely in Rust, with the objective of realizing next-generation safety and efficiency guarantees for workloads in a variety of execution environments. Theseus's goals span the gamut from supporting cutting-edge exploratory research topics to more practical concerns of achieving legacy compatibility and usability.Lately, our focus is on deep support for WebAssembly (WASM) interfaces and runtimes, universal cross-platform device drivers, and porting Theseus to additional architectures (e.g., ARM, RISC-V).
-
Resources to learn os concepts
One of the best tutorials i've come across is https://os.phil-opp.com/. I myself used it years ago to get a fast start on our system, Theseus OS.
-
How is Redox OS (and similar projects) planning to deal with the lack of dynamic linking support?
Hi, author of Theseus OS here. Great post, and really close to my heart.
-
So You Want to Rust the Linux Kernel?
There are OS like Redox, Theseus.
-
OS design innovations and theory
How about no syscalls, and loading ELF blobs? https://github.com/theseus-os/Theseus does language based security with Rust.
- SeL4 on RISC-V Verified to Binary Code
-
Are there major OS projects in Rust?
Check it out here: https://github.com/theseus-os/Theseus
What are some alternatives?
book - The Rust Programming Language
mdBook - Create book from markdown files. Like Gitbook but implemented in Rust
rust-raspberrypi-OS-tutorials - :books: Learn to write an embedded OS in Rust :crab:
miri - An interpreter for Rust's mid-level intermediate representation
Exercism - website - The codebase for Exercism's website.
seL4 - The seL4 microkernel
rust-ffmpeg - Safe FFmpeg wrapper.
patterns - A catalogue of Rust design patterns, anti-patterns and idioms
CppCoreGuidelines - The C++ Core Guidelines are a set of tried-and-true guidelines, rules, and best practices about coding in C++
actix-web - Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust.
unsafe-code-guidelines - Forum for discussion about what unsafe code can and can't do
rust - Empowering everyone to build reliable and efficient software.