2025-11-16 15:23:58
rust-script | Run Rust files and expressions as scripts without any setup or compilation step.
#rust
rust-script | Run Rust files and expressions as scripts without any setup or compilation step.
#rust
"How to Optimize Rust for Slowness" – Carl Kadie
#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
Be Simple - Don’t Be Clever - Code Rust
— by @…
🦀 #rust
Elements of #Rust – Core Types and Traits
https://rustcurious.com/elements/
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
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 …
Really nice, @… have written about #Rust in their blog, providing 5 good reasons why you should "rewrite everything in Rust":
#EuroRust2026 en España. 😮 Estoy muy deseando volver a #Barcelona. :amaze: Mi última visita fue hace ya 12 años.
#EuroRust
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…
Comparison Traits - Understanding Equality and Ordering
#Rust
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
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 @…
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
This #Linux #bluescreen brought to you by #Rust. 🦀
#Cloudflare just got faster and more secure, powered by #Rust
https://blog.cloudflare.com/20-percent
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…
Under the hood: Vec<T>
Let's look at Vec<T> to get a better understanding of its inner structure.
🦀 #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 …
Let's write a #macro in #Rust - Part 1
https://hackeryarn.com/post/rust-macros-1/
Insight of the day from the functional safety panel discussion at #EuroRust25:
#Testing #engineers are more inclined to touch code written in
Writing tests in #Rust is really nice.
I am enjoying it right now while working on the @… flash layout and boot flow library.
Writing tests in #Rust is really nice.
I am enjoying it right now while working on the @… flash layout and boot flow library.