Pinned
Dion Dokter
Dion Dokter
@diondokter.nl
Embedded tech lead at Tweede golf. I love programming in Rust. Netherlands
717 followers108 following1.1K posts
Dion Dokter reposted
Finding out how many panics your Rust code contains isn't trivial. When existing methods weren't a good fit for our client, Wouter created Call Graph Analyzer, the first tool to make this practical. Read how it works: tweedegolf.nl/en/blog/242/... @wassasin.bsky.social #rustlang #embeddedrust
Dion Dokter reposted
It's patch day for cargo-nextest! Please update your installations to address a 7.8 High vulnerability. cargo nextest self update or install from your distro as soon as it's available!
On the latest nightly you can pass `-Z async-panic=false` which disables all panic generation for async blocks and functions. This is an unstable flag since the project first wants to see if it's desirable to have. Looking for feedback! rust-lang.zulipchat.com#narrow/chann...
Also on open-vsx now! open-vsx.org/extension/di... This cost more effort than it has any right to, but it's done haha
To update, run: > cargo install device-driver-cli Then head over to marketplace.visualstudio.com/items?itemNa... and install the vscode extension
Dion Dokter reposted
To update, run: > cargo install device-driver-cli Then head over to marketplace.visualstudio.com/items?itemNa... and install the vscode extension
I have UI tests, but that's a kinda blunt weapon. Ideally I'd be able to spawn some MIR from source and then assert certain properties hold before/after certain MIR passes. Rustc has some nice infra for this: github.com/rust-lang/ru...
Dion Dokter reposted
2026 is a big year for Rust! Check out this blog post by Matyáš Racek: yoyo-code.com/2026-is-exci...
Dion Dokter reposted
For his internship, Camiel dove into using TrustZone-M with Rust. In this blog, he describes how TrustZone-M currently helps you secure your embedded device and shares a minimal working example for the Raspberry Pi Pico 2: buff.ly/mrqtUs2 #rustlang #embeddedrust #security
Dion Dokter reposted
Please, install and test the latest probe-rs. @dbuga.bsky.social merged all of my proposed fixes/improvements. If you have cortex-m devices, make sure to check that there are no known regressions. I checked with STM32G071RB, MCXA266, MSPM0G3519, and STM32F405.
Dion Dokter reposted
i rebooted minesweeper as a AAA shooter. loot boxes coming soon minesweeper.mikelacher.com
Dion Dokter reposted
rip Deno, glad I was too lazy to switch deno.com/blog/cloudfl... > We will support the Deno runtime for another year with monthly releases containing bug fixes and security updates. After that year we will end our development of the Deno runtime.
Dion Dokter reposted
svd2rust is 10 years old today github.com/rust-embedde...
Dion Dokter reposted
Hyperfine 2.0 is out, and it supports lots of new metrics, e.g. benchmarking RAM usage, CPU instructions, cache hit/miss etc! (screenshot from Charlie Marsh) github.com/sharkdp/hype...
Since the start of this month I've been with @tweedegolf.bsky.social for 5 years!
Dion Dokter reposted
ah damn, RIP Margaret Hamilton. she took safety-critical software engineering seriously, and got people to the moon and back. news.mit.edu/2026/margare...
Dion Dokter reposted
Rust 1.99.0 has been released, and this time both Folkert and Björn have 100+ contributions to their name, and Folkert co-hosted the Changelog video! Watch the video here: buff.ly/vjDOnDE Read the blog here: buff.ly/PmnSmbd @trifectatech.bsky.social #rustlang
So it seems like some people like to have control over the impl'd traits regardless of breakage. Interesting. Maybe my compiler should have a way to opt in or out trait impls somehow as a flag. But I'm not sure I like that because you'd have to provide that flag at every compilation. Annoying
Question: You're using a macro that generates a new type. You decide to impl a trait on that generated type. Later you update the macro crate and now it too impls that trait which causes your compilation to fail. The macro crate update was released as a minor semver bump. Would you be angry?
(This is really a question about whether implementing this feature would warrant major version bump or not: github.com/diondokter/d...)
Dion Dokter reposted
The Call for Proposals for RustWeek 2027 is now open! If you’d like to give a talk, go here: 2027.rustweek.org/blog/2026-10... The CFP closes Jan 10, 2027 #rustweek2027 #rustlang
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...
Dion Dokter reposted
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...
Dion Dokter reposted
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? https://blog.glyph.im/2026/09/serious-ai-product.html
Dion Dokter reposted
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-...