Ladybird adopts Rust, with help from AI - Ladybird

We're adopting Rust as our C++ successor language, and using AI agents to accelerate the transition.

GitHub - Ragnaroek/iron-wolf: wolf3D in Rust

wolf3D in Rust. Contribute to Ragnaroek/iron-wolf development by creating an account on GitHub.

GitHub

I've recently been rewriting my substitution-tiling transducers code in #RustLang, replacing the old Sage code.

One reason is that Sage is harder to run these days. It vanished from Ubuntu some time between 22.04 and 24.04 and hasn't (yet?) come back.

Another reason was that reimplementing all my algorithms from scratch was a valuable exercise in making sure I understood them, when I wrote them up for my arXiv preprint. (Which I'm hoping to produce an improved edition of at some point, filling in some gaps.)

But the third reason is shown in these pictures. The hexagonal one is straight from one of my blog posts, showing the centre of one of the 6-way 'singular' instances of the Spectre tiling. It takes my Sage code 2 minutes in total to generate that SVG.

The second image is the result of the Rust version of the code working for the same 2 minutes. The hexagon marked in the middle shows the boundary of what the Sage code had calculated. Much faster!

#TilingTuesday #RiiR

A port on #localhost open only to one process. Can #linux #network namespaces help me?

Let's find out.

The idea is to MitM between my IMAP server and Claws Mail. The proxy would ignore the password and instead use #TLS with a client #certificate to authenticate me (mTLS style).

This way, there's one less #password to store in RAM and accidentally exfiltrate.

As much as I like the Claws UI, it's crashy and I don't trust its #security a lot. #RiiR anyone :P?

#email #networking #dovecot

Just found out about the RiiR of ffmpeg and it’s called ffmpReg. I can’t be the only who thinks having mpreg in the name is funny
https://github.com/yazaldefilimone/ffmpreg
#rust #ffmpeg #riir
GitHub - yazaldefilimone/ffmpreg: An experimental safe multimedia toolkit

An experimental safe multimedia toolkit. Contribute to yazaldefilimone/ffmpreg development by creating an account on GitHub.

GitHub
here's an idea for the #RIIR crowd: #X11, for those use-cases where #wayland fails utterly. more useful than rewriting cat and ls in rust...

CPython core developers are considering introducing Rust to the codebase. A lot of them are in favor, including Guido.

“Rust will initially only be allowed for writing optional extension modules, but eventually will become a required dependency of CPython and allowed to be used throughout the CPython code base.”

https://discuss.python.org/t/pre-pep-rust-for-cpython/104906

#rustlang #python #riir

Pre-PEP: Rust for CPython

I recently elected to try learning C++ after an entire professional career of Rust + Python, because I wanted to make a build system that can be bootstrapped in as few jumps as possible (so that it could be invoked from inside other build systems like cargo or pip). Having worked a lot on the pants build tool in python + rust, I have strong feelings about affordances the build system should provide to users—feelings I will try to quell to achieve a productive discussion. The pants build tool ha...

Discussions on Python.org

Android team at Google posted another update of their use of Rust as a replacement for C and C++.

Switching to Rust for writing performance sensitive and low level code allowed them to reduce memory safety vulnerabilities from ~70% to below 20% of total vulnerabilities for the first time.

Notable quotes:

"We adopted Rust for its security and are seeing a 1000x reduction in memory safety vulnerability density compared to Android’s C and C++ code. But the biggest surprise was Rust's impact on software delivery. With Rust changes having a 4x lower rollback rate and spending 25% less time in code review, the safer path is now also the faster one."

"For medium and large changes, the rollback rate of Rust changes in Android is ~4x lower than C++. This low rollback rate doesn't just indicate stability; it actively improves overall development throughput. Rollbacks are highly disruptive to productivity, introducing organizational friction and mobilizing resources far beyond the developer who submitted the faulty change. Rollbacks necessitate rework and more code reviews, can also lead to build respins, postmortems, and blockage of other teams. Resulting postmortems often introduce new safeguards that add even more development overhead."

"In a self-reported survey from 2022, Google software engineers reported that Rust is both easier to review and more likely to be correct. The hard data on rollback rates and review times validates those impressions."

"With roughly 5 million lines of Rust in the Android platform and one potential memory safety vulnerability found (and fixed pre-release), our estimated vulnerability density for Rust is 0.2 vuln per 1 million lines (MLOC)."

"Our historical data for C and C++ shows a density of closer to 1,000 memory safety vulnerabilities per MLOC. Our Rust code is currently tracking at a density orders of magnitude lower: a more than 1000x reduction."

Do read the whole blog post. It's very informative.

https://security.googleblog.com/2025/11/rust-in-android-move-fast-fix-things.html

#rustlang #android #google #riir

Yes, but it’s an unpopular opinion 😬:

“Are We Chasing Language Hype Over Solving Real Problems?”, Dayvi Schuster (https://dayvster.com/blog/are-we-chasing-language-hype-over-solving-real-problems/).

Via HN: https://news.ycombinator.com/item?id=45313211

#Rust #C #CoreUtils #Unix #Linux #RIIR #RESF #Hype #Fad #SoftwareEngineering

Are We Chasing Language Hype Over Solving Real Problems?

The Allure of New Languages vs. The Necessity of Problem-Solving

Remember when I was nerd-sniped and built a viewer for french communes border data?

Well, I rewrote all the data processing in Rust (and SQLite) and made it generic, so now instead of just french communes, there are 400+ categories of places to view. A few examples:
1️⃣ Brazil municipalities
2️⃣ Quarters of Limassol
3️⃣ Provinces in Thailand
4️⃣ Romanian counties (județ)

#RustLang #SQLite #Wikidata #maplibre #RiiR