Sign in

Dion Dokter

@diondokter.nl
695 followers 106 following 1.1K posts

Embedded tech lead at Tweede golf. I love programming in Rust. Also at: @diondokter@fosstodon.org Check out device-driver.com Netherlands

PostsRepliesMedia
Dion Dokter @diondokter.nl · 12h
Apparently Firefox decided it would look better with that awful vibecodey LLM style. Gradients and neons, all the stuff I would have loved as an 8 year old. You can install this neutral theme to have it colored relatively normal again: addons.mozilla.org/en-US/firefo...
New updateWith the proton theme
030
Reposted by Dion Dokter
Nicholas Nethercote @nnethercote.bsky.social · 17h
New blog post: nnethercote.github.io/2026/09/30/h...
nnethercote.github.io
How to speed up the Rust compiler in September 2026
My last post on the Rust compiler’s performance was two months ago and a lot has happened since then.
05411
Dion Dokter @diondokter.nl · 29/09/2026
Want to have an SDR in the BLE/Wifi bands? You've probably already got one in your drawer! espargos.net/espsdr/ mastodon.social/@jakecopping...
espargos.net
ESPARGOS - ESP-SDR: Raw IQ Capture with Espressif's ESP32 Chips
ESPARGOS is a phase-coherent, ESP32-based WiFi antenna array designed for low-cost sensing applications.
042
Reposted by Dion Dokter
Glyph @glyph.im · 28/09/2026
New Blog: What Would A Serious AI Product Look Like? Every “AI” tool is missing critical features that you would need if you wanted to do real work with them. What would those look like, if they existed? blog.glyph.im/2026/09/serious-ai-pr…
blog.glyph.im
Deciphering Glyph :: What Would A Serious AI Product Look Like?
Deciphering Glyph, the blog of Glyph Lefkowitz.
4418
Dion Dokter @diondokter.nl · 25/09/2026
Who knew caching would make an LSP faster!? The change here is that the translations from byte spans to line/columns is now somewhat cached (line index to byte offset)
Very slow LSP operations with some of them pushing well into 200msVery fast LSP operations where those previously slow ones are now all less than a millisecond
1180
Reposted by Dion Dokter
reto @galactic-forensics.space · 23/09/2026
At long last: Here's an update on the instrumentRs v0.2.0 idea. I wrote a new driver for SMC HRR chillers, which communicate via MODBUS RTU. I think the framework is starting to get there. As always, questions, comments, ideas very welcome! #Rust blog.galactic-forensics.space/blog/11-smc-...
blog.galactic-forensics.space
Controlling an SMC HRR chiller via MODBUS
Thoughts and ideas...
053
Dion Dokter @diondokter.nl · 23/09/2026
You know, maybe one of the worst things of LLM output is that they simply don't know when to shut up.
0120
Dion Dokter @diondokter.nl · 22/09/2026
Ooohhh, changing my spans from 2x usize to 2x u32 makes the compiler 2% faster, for free! The only downside is that the compiler can no longer work with >4GiB files. So, no downside pretty much
2120
Reposted by Dion Dokter
TheZoq2 @thezoq2.bsky.social · 20/09/2026
One of the coolest things to happen in Spade yet 👀 @breakingtaps.com wrote and taped out a Transport Triggered Architecture processor from scratch in a month with 0 prior experience! www.youtube.com/watch?v=q6yt...
youtube.com
I designed a microprocessor
YouTube video by Breaking Taps
0205
Dion Dokter @diondokter.nl · 20/09/2026
Happy new embedded-storage release day! github.com/rust-embedde...
github.com
Release v0.3.2 + v0.4.2 (async) · rust-embedded-community/embedded-storage
Includes 0.3.2 for blocking and 0.4.2 for async What's Changed Switch to stable toolchain by @aurelj in #50 Add async version of the Storage trait and RmwNorFlashStorage implementation by @aurelj ...
1132
Reposted by Dion Dokter
nia (cia asset) @nia.is.fckn.gay · 19/09/2026
allocator stabilisation FCP passed. we're getting stable allocators in rust 1.100. we've never been so back github.com/rust-lang/ru...
github.com
alloc: stabilise `Allocator` by nia-e · Pull Request #156882 · rust-lang/rust
View all comments See the current proposed stabilisation report for up-to-date information on the proposed stable API. outdated former status Stabilise a bare-minimum (dyn-incompatible, but cou...
39519
Dion Dokter @diondokter.nl · 19/09/2026
"We don't want to use Rust because we don't want hundreds of dependencies" Ok, then just don't add dependencies? You're in control of your own destiny here! sudo-rs has only 2 which they deemed better than 0
4441
Dion Dokter @diondokter.nl · 17/09/2026
Thanks for the links y'all! I've written down some ideas I'm having: github.com/diondokter/d... (feedback welcome 😊) It's gonna be a while before I can get to it, so I've got plenty more time to stew on it. Or maybe I decide this is all not worth it. Who knows!
github.com
Add native finite state machines · Issue #309 · diondokter/device-driver
Many of the bigger devices have explicit and implicit states. We should be able to encode those. They can range from simple ones to more complex ones: uninitialized | initialized shutdown | sleepin...
000
Reposted by Dion Dokter
Rust Language @rust-lang.org · 17/09/2026
⚠️ We believe that there is an ongoing campaign targeting owners of popular crates and rust-lang team members that is attempting to compromise devices and accounts in order to use them to publish malware. See our blog post for details: blog.rust-lang.org/2026/09/17/t...
blog.rust-lang.org
Be alert: targeted attacks on prominent Rustaceans | Rust Blog
Empowering everyone to build reliable and efficient software.
121990
Reposted by Dion Dokter
Mara Bos @mara.bsky.social · 17/09/2026
You can now sponsor RustNL's Rust Maintainer Team through GitHub Sponsors: github.com/sponsors/rus... The page also lists other options to send us money. With your support, we can make sure the Rust project stays well maintained and grow our team with new talent. 💛
github.com
Sponsor @rustnl on GitHub Sponsors
Support our Rust Maintainers Team: https://rustnl.org/maintainers/ Over 30% of all pull requests on https://github.com/rust-lang/rust/ are either authored by or reviewed by our team.
1278
Dion Dokter @diondokter.nl · 17/09/2026
Are there programming languages with built-in (finite) state machines that are actually part of the language? I want to get some inspiration
350
Reposted by Dion Dokter
DEI Speedwagon @myrrlyn.net · 16/09/2026
dang i heard drew got woke i didn’t realize he got WOKE
4387
Dion Dokter @diondokter.nl · 16/09/2026
No joke, I think 1 in 3 text lines on the slides of the presentation I'm attending does *not* have an em dash
1111
Dion Dokter @diondokter.nl · 13/09/2026
LSP preview! Outline, semantic highlighting and inlay hints. I was hoping to get away with not having to implement a textmate grammar, but I think I have to. Comments are not captured in the AST, so I can't give them a semantic highlight and thus will have the default text color
Vscode window with outline, semantic highlights and inlay hints
2110
Dion Dokter @diondokter.nl · 10/09/2026
RIP dioxuslabs.com/blog/joining... Hope Jonathan made bank at least
dioxuslabs.com
Dioxus | Fullstack crossplatform app framework for Rust
A fullstack crossplatform app framework for Rust. Supports Web, Desktop, SSR, Liveview, and Mobile.
0181
Dion Dokter @diondokter.nl · 10/09/2026
Working on an LSP is quite fun actually
260
Reposted by Dion Dokter
RustNL @rustnl.bsky.social · 10/09/2026
** Ticket sales now open ** Get your tickets for RustWeek 2027! We lowered the ticket prices: privately-paid tickets are now 199 instead of 249 euro. A checkbox enables a 100 euro discount for those who can't afford the full price ✨️. See you in Utrecht! 2027.rustweek.org #rustweek2027 #rust
2027.rustweek.org
RustWeek 2027 - RustWeek 2027
RustWeek 2027, The Netherlands - May 24–29 2027. The world's biggest Rust conference returns to beautiful Utrecht, welcoming over 900+ community members, professionals and the maintainers of Rust.
01810
Dion Dokter @diondokter.nl · 07/09/2026
Rust has dynamically sized structs and C has flexible array members. But C++ doesn't seem to have anything like it? That's strange. C++ can't even fully interop with C...
050
Dion Dokter @diondokter.nl · 07/09/2026
My async compiler work got funded! So here's my first PR: github.com/rust-lang/ru... Roughly, it changes match x { true => foo(1).await, false => foo(2).await, } to match x { true => foo(1), false => foo(2), }.await This means the future will only have 1 state instead of 2
github.com
Add merge yields by diondokter · Pull Request #162429 · rust-lang/rust
Part of Async statemachine optimisation project goal r? dingxiangfei2009 Added a pass that merges functionally identical yields right before the async StateTransform pass. The StateTransform pass c...
41126
Dion Dokter @diondokter.nl · 06/09/2026
Started work on an LSP for device-driver
Some DDSL code in vscode with error and warning squiggles
050
Dion Dokter @diondokter.nl · 03/09/2026
No need for subscriptions anymore! Just train your natural intelligence with pirated movies and series. Fair use! www.theguardian.com/technology/2...
theguardian.com
Trump administration sides with OpenAI in lawsuit against New York Times
The Times and many companies are accusing OpenAI of misusing their material to train AI systems without compensation
120
Reposted by Dion Dokter
reto @galactic-forensics.space · 02/09/2026
Proof of first low-level driver version :) 2 channels in ext. driven dither mode. Figure shows the signals & trigger. Working with device-driver by @diondokter.nl and Pico de Gallo by @balbi.sh is amazing! Working repo: github.com/trappitsch/l... See example: ll_dither_ext.rs #EmbeddedRust
Oscilloscope traces showing the output square wave (10kHz, 0 to 3.3V) and two input channels. Both input channels show sine waves. The first input 1 has a level of 2V and amplitude of 1V, the green input 2 a level of 5V and amplitude of 2.5V. The green input 2 is phase shifted with respect to the yellow input 1 by 90 degrees. Both inputs have periods of exactly 32 square pulses of the output.
132
Dion Dokter @diondokter.nl · 02/09/2026
Still in the back of my mind is moving some of my projects away from github. But where to? I don't want to self-host. Codeberg is obvious, but that's another centralized host and yet another account people need to create. So, Tangled? But I haven't seen anyone move there, so what does that mean?
100
Dion Dokter @diondokter.nl · 01/09/2026
Yes! Who else will be there? I'd love to meet up
140
Dion Dokter @diondokter.nl · 30/08/2026
Nice (Quite specific benchmark, but an O(n) algo was replaced with an O(1) algo, which is great for big drivers)
New ddc is 2.9 times faster. Hyperfine shows the old executable took 240ms and the new one took 83ms
140
Reposted by Dion Dokter
James Munns @jamesmunns.com · 29/08/2026
A thread about my opinions on non-self-describing types, API versioning, and comms in general (nothing new for folks who have heard these rants before". It's a thread that should be a blog post and maybe a podcast episode and maybe a conference talk. But for now it's a thread.
1181
Reposted by Dion Dokter
Felipe Balbi @handle.invalid · 28/08/2026
Must say, seeing folks outside my team at work using pico de gallo is a really nice feeling :-) Cheers @galactic-forensics.space
041
Dion Dokter @diondokter.nl · 28/08/2026
There could be a flag to turn off async Rust panics. It's good for binary size, but not better than panic-immediate-abort already is Would you use the flag while not using panic-immediate-abort (assuming both are stable)? I need to pursue or drop this flag and I want input to make the decision
200
Dion Dokter @diondokter.nl · 27/08/2026
I'm glad that we're able to update the Rust compiler so freely. My youtube just recommended a 2026 talk with the title: Hand-Rolling C++20 Coroutines in C++17 Imagine if it was: Hand-Rolling Rust Edition 2018 futures in Edition 2015 Why would anybody be talking about that? We have the technology!
2342
Dion Dokter @diondokter.nl · 26/08/2026
You just type what you want and the machine will output the results you want. Sounds like AI. But also sounds like calculators when they were new. And yet, calculators are an afterthought in day-to-day life now. So in 50 years, will AI take up any significance day-to-day for the people then?
300
Reposted by Dion Dokter
waffle .-. @waffle.pet · 25/08/2026
blog.ihatereality.space/0C-never-type/
blog.ihatereality.space
I stabilized never type | I hate reality
yeah
2122737
Reposted by Dion Dokter
Dion Dokter @diondokter.nl · 21/08/2026
‼️device-driver v2.0 has been released ‼️ It has been a lot of work, but after almost 1.5 years a new major version of the toolkit is out now! Get it on crates-io: crates.io/crates/devic... Visit the website: device-driver.com Join the matrix chat: matrix.to#/#device-dri...
device-driver.com
device-driver
A toolkit to write better device drivers, faster
2337
Reposted by Dion Dokter
Justin @just-be.dev · 21/08/2026
mood
Screenshot of a commit message that says "Why do I make commits so big"
111
Dion Dokter @diondokter.nl · 21/08/2026
‼️device-driver v2.0 has been released ‼️ It has been a lot of work, but after almost 1.5 years a new major version of the toolkit is out now! Get it on crates-io: crates.io/crates/devic... Visit the website: device-driver.com Join the matrix chat: matrix.to#/#device-dri...
device-driver.com
device-driver
A toolkit to write better device drivers, faster
2337
Dion Dokter @diondokter.nl · 21/08/2026
youtu.be/pcs5Q5DKUJU
youtu.be
Device-driver road to 2.0
YouTube video by Dion Dokter
010
Dion Dokter @diondokter.nl · 20/08/2026
> These instruments are typically low-power (12 volts), ... Thanks Wikipedia
010
Reposted by Dion Dokter
Rust Language @rust-lang.org · 20/08/2026
⚠️ A few hours ago, a malicious crate was discovered on crates.​io which spread as a dependency of `arrayref` and some other crates, likely due to compromised credentials. The affected versions have been deleted. For details and how to see if you are impacted, see: blog.rust-lang.org/2026/08/20/s...
blog.rust-lang.org
Supply chain attack on arrayref | Rust Blog
Empowering everyone to build reliable and efficient software.
119481
Dion Dokter @diondokter.nl · 20/08/2026
Function overloading in Rust? blog.rust-lang.org/inside-rust/...
blog.rust-lang.org
Rust Function Overloading - Call for Experimentation | Inside Rust Blog
Want to follow along with Rust development? Curious how you might get involved? Take a look!
061
Dion Dokter @diondokter.nl · 20/08/2026
Here's an idea not everybody has thought of apparently: Maybe, ehh, just maybe don't vibe code a secure bootloader
181
Reposted by Dion Dokter
Oxidize Conference @oxidizeconf.bsky.social · 17/08/2026
Two weeks left to grab your #Oxidize2026 ticket - Berlin, Sept 14-16. Choose from two ticket options: "Conference only" gets you all the talks, panels, lightning sessions, and the networking event, while "Conference + Workshop" adds a full day of hands-on training: oxidizeconf.com #RustLang
Promotional graphic for Oxidize, the applied Rust conference in Berlin, Sept 14–16, 2026. The image features the Oxidize logo along with the text "Only two weeks left to secure a ticket". Next to this text is calendar symbol showing August 31 as the deadline. Below this text, it states the general event info: September 14th-16th, 2026 in Berlin, Germany. Furthermore, there's the Rust crab holding a ticket. Next to the crab it says " Get your tickets at oxidizeconf.com". The background is light blue with abstract curved shapes, and to the right is an impression from Oxidize.
001
Dion Dokter @diondokter.nl · 13/08/2026
Solar + battery is OP. Since April, only 4% of my electricity was imported from the grid. The rest has been direct consumption from solar or from discharging the battery.
0150
Reposted by Dion Dokter
Jonathan Pallant @thejpster.org.uk · 12/08/2026
Godbolt's Compiler Explorer now supports build systems (like cargo). This is so cool! I use Compiler Explorer quite a bit when playing with AArch32 stuff in Rust, to check I'm getting the kind of instructions I expected but I was limited to single files. Having cargo support is game changing.
26510
Reposted by Dion Dokter
AstraKernel 💫 @astrakernel.bsky.social · 12/08/2026
Today noticed this #rustlang
Watch out the old "esp-rs dot org" now going to some scam site. Use the new url in domain espressif.com
0124
Dion Dokter @diondokter.nl · 11/08/2026
Getting close to device-driver v2 release :) So I've been working on a v1 to v2 converter as I promised long ago. Was simpler than I expected! github.com/diondokter/d...
github.com
Converter by diondokter · Pull Request #273 · diondokter/device-driver
Adds a convert command to the CLI that can ingest v1 manifests and output ddsl. Closes #116 Todo: Write migrations guide Document the limitations of the converter Ref blocks don't exist any...
131
Reposted by Dion Dokter
Mara Bos @mara.bsky.social · 11/08/2026
I was asked recently about the cost of running a #rustlang conference and why the ticket prices are what they are. We figured we can just publicly share the numbers for RustWeek, in the name of #transparency. :) 1/9
216637