2025-10-03 10:29:07
Really nice, @… have written about #Rust in their blog, providing 5 good reasons why you should "rewrite everything in Rust":
Really nice, @… have written about #Rust in their blog, providing 5 good reasons why you should "rewrite everything in Rust":
Making the case that #Cargo features could be improved to alleviate #Rust compile times
https://saghm.com/cargo-features-rust-…
Oh fun find, there was actually something called Oxide in the history of #Rust already - a formalization attempt:
https://arxiv.org/abs/1903.00982 🦀
cc @…
rust-script | Run Rust files and expressions as scripts without any setup or compilation step.
#rust
Be Simple - Don’t Be Clever - Code Rust
— by @…
🦀 #rust
#Cloudflare just got faster and more secure, powered by #Rust
https://blog.cloudflare.com/20-percent
Today's #AdventOfCode problem was more about parsing than about complex logic, but it was fun!
I opted to keep the parsing with winnow simple and do most of it by hand from the raw characters, to exercise my #rust iterators a bit.
#AoC #AoC2025 #AdventOfCode2025 #RustLang
Hrmm, so created a HashMap (`HashMap::<&str, fn(u8) -> u8>`) in Rust without too much issue which was kinda nice. Then decided to try and make this work inside of an `impl` which...err...Rust has some rather strong opinions about, most of which is telling me to stop what I'm doing because this isn't gonna work.
Kinda fun to try though...lol
#rust
I know of HX-Tape, but I decided to write my own demodulator to read Epson HX-20 tape data; mostly because I wanted to refresh my #rust skills, but also because I had this realisation it would work as a set of chained iterators. It does (I'm straight from HX-20 ext-cassette to PC audio); I've got a layer that does levels (high/low/0) with hysteresis, that passes it to one that does transiti…
A #rust warning just found a mistake I was in the middle of making; I had a match clause like:
(_, Bad) =>
and the warning was that the variable 'Bad' should be lower case; But hang on...that's no variable - that should be an enum member of State::Bad. Which is a nice find.
(Although I can't tell why it didn't figure out it was a member of State automatical…
Under the hood: Vec<T>
Let's look at Vec<T> to get a better understanding of its inner structure.
🦀 #rust
"How to Optimize Rust for Slowness" – Carl Kadie
#rustlang
I have been learning #Rust for a couple of years, and using it for pet projects and demos alike. Working for a JVM-heavy company, I thought it would be my fate forever. Last week, I had a nice surprise: I convinced my management that using Rust for a particular project was the right choice. It’s not a huge project, but I want to describe my experience using Rust in a "real" project.
Canonical is doing a good job working with #Rust based #coreutils for their distro. Their work will help the #Linux community as a whole.
In the future, I would be interested in trying them …
Another easy challenge in today's #AdventOfCode puzzle.
Part 1 is straightforward, and for part 2, the trick was to sort the list of ID ranges first, which made the merging pretty easy.
#AoC #AoC2025 #AdventOfCode2025 #rust #RustLang
Let's write a #macro in #Rust - Part 1
https://hackeryarn.com/post/rust-macros-1/
#EuroRust2026 en España. 😮 Estoy muy deseando volver a #Barcelona. :amaze: Mi última visita fue hace ya 12 años.
#EuroRust
Writing tests in #Rust is really nice.
I am enjoying it right now while working on the @… flash layout and boot flow library.
Elements of #Rust – Core Types and Traits
https://rustcurious.com/elements/
Writing tests in #Rust is really nice.
I am enjoying it right now while working on the @… flash layout and boot flow library.
Didn't feel like thinking too much for today's problem of #AdventOfCode, so my solution is quite naive and runs in a few tens of milliseconds for part 2 (thanks, #RustLang!).
I went for a HashSet for the grid just because it made looking up neighbours simpler at the edges, probably also not the most performant solution, but gets better as the grid becomes sparser.
#AoC #AoC2025 #AdventOfCode2025 #rust
Some #Rust shilling, retrofitting the "too grumpy to improve" meme, offering a Rust gear instead of the hexagon C wheel (logo).
Comparing transitive dependency version resolution in #Rust and #Java
https://blog.frankel.ch/dependency-ver
Sequoia PGP exemplifies everything that's wrong about #RustLang (don't mean this against Sequoia). It features a bunch of different CLIs, which is a reasonable design.
If Sequoia were written in C, these CLIs would probably be using some shared library. If Sequoia were written in Python, they would probably use a shared Python package. However, it's written in Rust, so every CLI is a huge binary with its own copy of subset of shared Sequoia code, built separately:
-rwxr-xr-x 1 root root 12M 10-08 06:36 /usr/bin/gpg-sq
-rwxr-xr-x 1 root root 4,7M 10-08 06:36 /usr/bin/gpgv-sq
-rwxr-xr-x 1 root root 21M 10-08 08:38 /usr/bin/sq
-rwxr-xr-x 1 root root 6,9M 10-08 08:38 /usr/bin/sqop
-rwxr-xr-x 1 root root 3,1M 10-08 08:32 /usr/bin/sqv
Comparison Traits - Understanding Equality and Ordering
#Rust
Super happy with my solution for today's #AdventOfCode problem!
It initially took me a little bit of time to find a suitable strategy, but it all clicked when I noticed that the left-most selected digit had the most significance in the final value. Thus, I maximized the value of that left-most digit, leaving enough digits on the right side to be able to pick the required total number of batteries in the bank.
The solution is relatively short and sweet:
#AdventOfCode2025 #AoC #AoC2025 #RustLang #rust
This #Linux #bluescreen brought to you by #Rust. 🦀
Today's #AdventOfCode problem was fun! I kept a different implementation for part 1 vs part 2 as they both run relatively fast.
For part 1, I iterated over all IDs (the ranges are quite small) and split them in half mathematically (no string representation) to compare both halves.
For part 2, I instead generated all interestings IDs (mathematically again) up to a length of 10 digits (the max in my input) and checked if any of the ranges contained them.
#AoC #AoC2025 #AdventOfCode2025 #RustLang #rust
Tiago Manczak from Infineon gave a nice overview of #Rust tooling for safety-critical projects at the first #MunichEmbedded meetup - very useful, not only for #embedded development, but also other …
Insight of the day from the functional safety panel discussion at #EuroRust25:
#Testing #engineers are more inclined to touch code written in
New article on the blog!
This time, it's about how I optimized an algorithm which turns byte offsets into line/column numbers and UTF-16 offsets.
Most of the performance improvement came from the use of SIMD to efficiently count ASCII characters.
#rust #RustLang #SIMD #optimization #blog