utils
rusty-dos
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.
utils
-
Announcing `compact_str` version 0.7! A small string optimization for Rust
I didn't use any inline asm, instead I wrote the simplest if statement possible, which I confirmed on x86_64, x86, and aarch64 compiles down to use the platform's supported conditional move instructions. If this changes in the future and there's a need to write inline asm, you can do so in a portable way, e.g. the cmov crate.
-
Shoot me straight.
There's also cpufeatures which might suit your use case better (depending on exactly how you want to do it).
-
Crate for AES256 - which one to choose? Questions about block cipher modes and AEAD too.
I have seen that RustCrypto also offers a create for securely zeroing memory with: zeroize
-
`kindly`: a simplistic (and hopefully educational) implementation of a set-user-ID-root program (think mini `sudo`) for Linux
The zeroing routine itself looks fine to me. You might want to compare your code with the (already mentioned) zeroize crate, which does something similar (or maybe identical?).
-
Maybe found a Y2k bug in the rust-crypto DER-encoding util?
To save a few clicks, this was found to be, indeed, a Y2K issue, and der v0.4.1 has just been released to fix it. Citing the comment added to the issue after the fact:
-
Incredibly fast UTF-8 validation
I opened a tracking issue for that.
-
Now that the long-awaited const generics (MVP) have come to stable in 1.51, what crates are going to gain the most from it?
https://github.com/RustCrypto/utils/pull/325#issuecomment-791503136
rusty-dos
-
Moving from Rust to C++
Some kind of framework: https://github.com/Serentty/rusty-dos
-
How can I compile rust for 16bit x86 (Intel 8086)?
I assume that's what rusty-dos is using, given this bit from the README:
- Shoot me straight.
-
Are these misconceptions about rust?
I know, but if you want to do dos, you can .
-
Writing bindings to `dos-like` for Rust: some lessons learned
Now, being both a Rust enthusiast and MS-DOS nostalgic, I have, multiple times, tried closing the gap on writing applications for real DOS systems in Rust. Unfortunately, this is not without issues, and there is not a clear path on how to go with this yet. More on existing efforts here.
What are some alternatives?
reference - The Rust Reference
rustc-perf - Website for graphing performance of rustc
sudo_pair - Plugin for sudo that requires another human to approve and monitor privileged sudo sessions
gcc-ia16 - Fork of Lambertsen & Jenner (& al.)'s IA-16 (Intel 16-bit x86) port of GNU compilers ― added far pointers & more • use https://github.com/tkchia/build-ia16 to build • Ubuntu binaries at https://launchpad.net/%7Etkchia/+archive/ubuntu/build-ia16/ • DJGPP/MS-DOS binaries at https://gitlab.com/tkchia/build-ia16/-/releases • mirror of https://gitlab.com/tkchia/gcc-ia16
block-ciphers - Collection of block cipher algorithms written in pure Rust
rv51 - A RISC-V emulator for the 8051 (MCS-51) microcontroller.
heapless - Heapless, `static` friendly data structures
dos-like - Engine for making things with a MS-DOS feel, but for modern platforms
rust-crypto - A (mostly) pure-Rust implementation of various cryptographic algorithms.
wajic - WebAssembly JavaScript Interface Creator
tinyvec - Just, really the littlest Vec you could need. So smol.
rust_dos - Rust DOS : Creating a DOS executable with Rust