 @frankel@mastodon.top
 @frankel@mastodon.top2025-09-27 13:44:53
#Cloudflare just got faster and more secure, powered by #Rust
https://blog.cloudflare.com/20-percent
 @frankel@mastodon.top
 @frankel@mastodon.top#Cloudflare just got faster and more secure, powered by #Rust
https://blog.cloudflare.com/20-percent
 @frankel@mastodon.top
 @frankel@mastodon.top @cyrevolt@mastodon.social
 @cyrevolt@mastodon.social @penguin42@mastodon.org.uk
 @penguin42@mastodon.org.ukI 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…
 @kubikpixel@chaos.social
 @kubikpixel@chaos.socialBe Simple - Don’t Be Clever - Code Rust
— by @…
🦀 #rust
 @cyrevolt@mastodon.social
 @cyrevolt@mastodon.social @penguin42@mastodon.org.uk
 @penguin42@mastodon.org.ukA #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…
 @frankel@mastodon.top
 @frankel@mastodon.topLet's write a #macro in #Rust - Part 1
https://hackeryarn.com/post/rust-macros-1/
 @cyrevolt@mastodon.social
 @cyrevolt@mastodon.socialWriting tests in #Rust is really nice.
I am enjoying it right now while working on the @… flash layout and boot flow library.
 @kubikpixel@chaos.social
 @kubikpixel@chaos.socialUnder the hood: Vec<T>
Let's look at Vec<T> to get a better understanding of its inner structure.
🦀 #rust
 @frankel@mastodon.top
 @frankel@mastodon.topNew #Rust Client Enables Building Safe, High-Performance Apps with #Aerospike
https://www.infoq.com/news/2025/08/…
 @cyrevolt@mastodon.social
 @cyrevolt@mastodon.socialWriting tests in #Rust is really nice.
I am enjoying it right now while working on the @… flash layout and boot flow library.
 @grifferz@social.bitfolk.com
 @grifferz@social.bitfolk.com"How to Optimize Rust for Slowness" – Carl Kadie
#rustlang
 @mgorny@social.treehouse.systems
 @mgorny@social.treehouse.systems @cyrevolt@mastodon.social
 @cyrevolt@mastodon.socialReally nice, @… have written about #Rust in their blog, providing 5 good reasons why you should "rewrite everything in Rust":
 @frankel@mastodon.top
 @frankel@mastodon.topElements of #Rust – Core Types and Traits
https://rustcurious.com/elements/
 @niklaskorz@rheinneckar.social
 @niklaskorz@rheinneckar.social#EuroRust2026 en España. 😮 Estoy muy deseando volver a #Barcelona. :amaze: Mi última visita fue hace ya 12 años.
#EuroRust 
 @cyrevolt@mastodon.social
 @cyrevolt@mastodon.socialSome #Rust shilling, retrofitting the "too grumpy to improve" meme, offering a Rust gear instead of the hexagon C wheel (logo).
 @frankel@mastodon.top
 @frankel@mastodon.topComparing transitive dependency version resolution in #Rust and #Java
https://blog.frankel.ch/dependency-ver
 @chrysn@chaos.social
 @chrysn@chaos.social @frankel@mastodon.top
 @frankel@mastodon.topThis Send/Sync Secret Separates Professional From Amateur #Rust Developers
https://blog.cuongle.dev/p/this-sendsync-secret-separates-professional-and-amat…
 @cyrevolt@mastodon.social
 @cyrevolt@mastodon.socialOh fun find, there was actually something called Oxide in the history of #Rust already - a formalization attempt:
https://arxiv.org/abs/1903.00982 🦀
cc @…
 @mgorny@social.treehouse.systems
 @mgorny@social.treehouse.systems#RustLang is great and rock solid. That's why when you build the Rust compiler against LLVM with assertions enabled, it crashes on unmet assertions.
 @cyrevolt@mastodon.social
 @cyrevolt@mastodon.social @beeb@hachyderm.io
 @beeb@hachyderm.ioNew 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
 @mgorny@social.treehouse.systems
 @mgorny@social.treehouse.systemsSequoia 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
 @cyrevolt@mastodon.social
 @cyrevolt@mastodon.socialInsight of the day from the functional safety panel discussion at #EuroRust25:
#Testing #engineers are more inclined to touch code written in 
 @cyrevolt@mastodon.social
 @cyrevolt@mastodon.social