Dion Dokter
banner
diondokter.nl
Dion Dokter
@diondokter.nl
520 followers 88 following 640 posts
Embedded tech lead at Tweede golf. I love programming in Rust. Also at: @[email protected] Netherlands
Posts Media Videos Starter Packs
Reposted by Dion Dokter
so glad I can be learning Rust from the experts at Adobe, their beautiful elegant code is really an inspiration 😊
Reposted by Dion Dokter
Rust 1.91.0 has been released! 🌈 🦀

This version brings you tier 1 support for aarch64-pc-windows-msvc, warnings for dangling pointers to locals, new methods on AtomicPtr, array::repeat, BTreeMap::extract_if, const TypeId::of, and more!

Check out the announcement: blog.rust-lang.org/2025/10/30/R...
Announcing Rust 1.91.0 | Rust Blog
Empowering everyone to build reliable and efficient software.
blog.rust-lang.org
Hmmm, not sure!
Maybe check this toggle?
How though? I think my counter is on 7000+ days.
Do you never shut your PC down?

An update has to be pending really long before windows auto-reboots
Ok, so there are two coalitions possible I think.

Center: D66 VVD GL-PVDA CDA
Center right: D66 VVD CDA JA21

I hope for the former.

I had hoped we could do without the VVD for once, but alas.
Exit poll in half an hour!
On my way to the voting booth 😁
Reposted by Dion Dokter
Hello, Rat 👋🐁

🦀 New embedded Rust + @ratatui.rs tutorial dropped!

🔥 Learn how to build embedded TUIs on ESP32!

➡️ Read on impl Rust book: esp32.implrust.com/ratatui/hell...

#rustlang #ratatui #embedded #esp32 #tutorial #tui #rustembedded #opensource
Probably easiest to look at what an existing HAL does, like embassy
Ha lol, yeah there's lots of cursed stuff around!

On cortex-m, if you have a function at address 0x1000, your function pointer must be 0x1001 or your chip will crash (sometimes) :P
Reposted by Dion Dokter
Folkert has become a co-maintainer of rust-lang/stdarch, which defines vendor-specific APIs that are used by the Rust standard library and Rust users writing explicit SIMD code.

In this blog, Folkert explains how they try to reduce the maintenance burden: buff.ly/X0F6yei

#rustlang #simd
Fixing rust-lang stdarch issues in LLVM - Blog - Tweede golf
A couple of months ago I became a co-maintainer of rust-lang/stdarch, which defines vendor-specific APIs that are used by the Rust standard library and Rust users writing explicit SIMD code.
tweedegolf.nl
Reposted by Dion Dokter
New #rust blog post on how we could get types that cannot be forgotten, types that must be moved, async and const drop, and other fun stuff:

smallcultfollowing.com/babysteps/bl...
Move, Destruct, Leak, and Rust · baby steps
smallcultfollowing.com
Copy types cannot impl drop. So T: Drop is !Copy.
Not exactly what you're asking, but maybe close enough?
Neutral: AI features on by default. First time I've ever worked with AI suggestions. They're terrible and a net negative in productivity. But it's customizable and with one button click all AI features can be disabled.
Plus: Rust support is good and the available extensions are plenty enough and good enough.

Minus: Very little color by default. A lot of gray with relatively low contrast text. Same for icons. Can be fixed with themes though.
Plus: Everything worked well from the start. No weird problems.

Minus: The git gui doesn't have tools to interact with branches (creating, merging, etc). This is something I really miss.
You won't have to when you can just attach a normal connector :P
If I had 3 wishes from a genie, the first one would be:

Make every hardware designer stop using 2.54 mm pin headers for debug ports.

Give me a Tag-Connect, 10-pin FTSH-105 or anything civilized!
Nice big refactor done on device-driver.

The 'device' is no longer the only thing the compiler knows about. It's deeper integrated, which unlocks the ability to have multiple devices in one manifest.

On its own not too exciting, but the plan is to add templates so device families can be supported.