Elektrine
EN
Log in Register
Paige Chat Timeline Communities Gallery Videos Email DNS VPN Uptime Kairo
Back to Timeline
Remote

Dion Dokter

@diondokter@fosstodon.org
mastodon 4.6.6
  • Open on fosstodon.org

Embedded tech lead at Tweede golf. I love programming in Rust.

0 Followers
0 Following
26 Posts
Joined November 11, 2022
Github:
https://github.com/diondokter
Country:
The Netherlands
Bluesky:
https://bsky.app/profile/diondokter.nl
Main project:
https://device-driver.com

Posts

Open post
diondokter
Dion Dokter @diondokter@fosstodon.org · Jul 08, 2026
Dion Dokter
@diondokter@fosstodon.org

Embedded tech lead at Tweede golf. I love programming in Rust.

fosstodon.org
I've been successfully nerdsniped, so here is sequential-storage version 8.0.0: https://crates.io/crates/sequential-storage Most notable are changes in caching and a new page state cache that has a fixed 24 byte cost instead of 1 byte per flash page. So it's great for large storages and has almost the same perf.
0
0
1
0
Open post
diondokter
Dion Dokter @diondokter@fosstodon.org · Jul 05, 2026
Dion Dokter
@diondokter@fosstodon.org

Embedded tech lead at Tweede golf. I love programming in Rust.

fosstodon.org
Oh, this is cool! New rust-analyzer command. "rust-analyzer: Evaluate Predicate" Then type in the type and bound and it'll tell you whether it holds. So, you don't have to go through source code anymore. #rustlang
7
0
5
0
Open post
diondokter
Dion Dokter @diondokter@fosstodon.org · May 23, 2026
Dion Dokter
@diondokter@fosstodon.org

Embedded tech lead at Tweede golf. I love programming in Rust.

fosstodon.org
Replying to @thejpster@hachyderm.io
@thejpster@hachyderm.io sadly, no. They even named it 'malus'. It's transparently evil
0
1
0
0
Open post
diondokter
Dion Dokter @diondokter@fosstodon.org · May 22, 2026
Dion Dokter
@diondokter@fosstodon.org

Embedded tech lead at Tweede golf. I love programming in Rust.

fosstodon.org
Replying to @chrysn@chaos.social
@chrysn@chaos.social ha nice!
0
0
0
0
Open post
diondokter
Dion Dokter @diondokter@fosstodon.org · May 19, 2026
Dion Dokter
@diondokter@fosstodon.org

Embedded tech lead at Tweede golf. I love programming in Rust.

fosstodon.org

Intercity trains: Zoom through the country with very little stops

Also intercity trains for some reason: Stop at a town of 18k people

1
0
0
0
Open post
diondokter
Dion Dokter @diondokter@fosstodon.org · May 18, 2026
Dion Dokter
@diondokter@fosstodon.org

Embedded tech lead at Tweede golf. I love programming in Rust.

fosstodon.org

RE: @tweedegolf@fosstodon.org

I'll be at RustWeek too!

I'd love to talk with you all about my OSS project like device-driver or my async optimization plans, but also any general embedded Rust topic :)

So if you see me around, feel free to walk up!

3
0
2
0
Open post
diondokter
Dion Dokter @diondokter@fosstodon.org · May 16, 2026
Dion Dokter
@diondokter@fosstodon.org

Embedded tech lead at Tweede golf. I love programming in Rust.

fosstodon.org

I've been a fan of Delta for like 10 years now. Performed well on stage!

#eurovision #australia

3
0
0
0
Open post
diondokter
Dion Dokter @diondokter@fosstodon.org · May 15, 2026
Dion Dokter
@diondokter@fosstodon.org

Embedded tech lead at Tweede golf. I love programming in Rust.

fosstodon.org

This whole Rust project LLM policy thing is weird.

It seems they're gonna err on the side of not allowing or limiting LLM generated contributions, except there's this 'experiment' thing that would allow veterans to use LLMs regardless.

To me that seems like a cop-out to keep some people happy

0
2
0
0
Open post
diondokter
Dion Dokter @diondokter@fosstodon.org · May 15, 2026
Dion Dokter
@diondokter@fosstodon.org

Embedded tech lead at Tweede golf. I love programming in Rust.

fosstodon.org

Dude who's doing some unethical shit asks everybody to please not consider the ethical implications

5
0
1
0
Open post
diondokter
Dion Dokter @diondokter@fosstodon.org · May 05, 2026
Dion Dokter
@diondokter@fosstodon.org

Embedded tech lead at Tweede golf. I love programming in Rust.

fosstodon.org
Replying to @itamarst@hachyderm.io
@itamarst@hachyderm.io Anything that impls Try yes: https://doc.rust-lang.org/std/ops/trait.Try.html#implementors
0
1
0
0
Open post
diondokter
Dion Dokter @diondokter@fosstodon.org · May 04, 2026
Dion Dokter
@diondokter@fosstodon.org

Embedded tech lead at Tweede golf. I love programming in Rust.

fosstodon.org
Replying to @chrysn@chaos.social
@chrysn Could? Well yes of course in the literal sense of the word. Futures have surprisingly few guarantees, so them being lazy is one of the only ones. If I were to guess, you would not get consensus on this. Luckily you can do it manually fairly easily: fn foo() -> impl Future { // Eager sync stuff ... async { // Deferred async stuff ... } }
1
1
0
0
Open post
diondokter
Dion Dokter @diondokter@fosstodon.org · May 04, 2026
Dion Dokter
@diondokter@fosstodon.org

Embedded tech lead at Tweede golf. I love programming in Rust.

fosstodon.org

Final part of my async blog!

https://tweedegolf.nl/en/blog/237/async-rust-never-left-the-mvp-state

Last time I shared some tips for improving your async code. Now we look at why the compiler doesn't do it for us.

I want to fix it in the compiler, but I need your help! If you can help with funding, reach out to me.

Please share :)

15
2
15
0
Open post
diondokter
Dion Dokter @diondokter@fosstodon.org · Apr 15, 2026
Dion Dokter
@diondokter@fosstodon.org

Embedded tech lead at Tweede golf. I love programming in Rust.

fosstodon.org
Replying to @diondokter@fosstodon.org
@cliffle also, I remember you tweeting about some stats you gathered about the scraping and such. Maybe just turn off those metrics. Ignorance is bliss 🙂
0
0
0
0
Open post
diondokter
Dion Dokter @diondokter@fosstodon.org · Apr 15, 2026
Dion Dokter
@diondokter@fosstodon.org

Embedded tech lead at Tweede golf. I love programming in Rust.

fosstodon.org
Replying to @cliffle@hachyderm.io
@cliffle well, then maybe it's ok if you don't write words on the internet right now. Whenever I write something, and I have to force myself to do it, it rarely comes out any good. So yeah, maybe this spring (and summer) it's yard time and not writing time
0
1
0
0
Open post
diondokter
Dion Dokter @diondokter@fosstodon.org · Apr 15, 2026
Dion Dokter
@diondokter@fosstodon.org

Embedded tech lead at Tweede golf. I love programming in Rust.

fosstodon.org
Replying to @cliffle@hachyderm.io
@cliffle when I'm tidying my front yard, I don't do it for the Streetview car that drives by
0
3
0
0
Open post
diondokter
Dion Dokter @diondokter@fosstodon.org · Apr 14, 2026
Dion Dokter
@diondokter@fosstodon.org

Embedded tech lead at Tweede golf. I love programming in Rust.

fosstodon.org
Replying to @chrysn@chaos.social
@chrysn Yep, an async block *always* generates a full statemachine
1
0
0
0
Open post
diondokter
Dion Dokter @diondokter@fosstodon.org · Apr 13, 2026
Dion Dokter
@diondokter@fosstodon.org

Embedded tech lead at Tweede golf. I love programming in Rust.

fosstodon.org
Replying to @chrysn@chaos.social
@chrysn You still create a future object with a poll function. And then in poll you return the value
0
1
0
0
Open post
diondokter
Dion Dokter @diondokter@fosstodon.org · Apr 13, 2026
Dion Dokter
@diondokter@fosstodon.org

Embedded tech lead at Tweede golf. I love programming in Rust.

fosstodon.org
Replying to @chrysn@chaos.social

@chrysn That's what the part 2 is about :)

Here's a sneak peek of the title: Async Rust never left the MVP state

1
1
0
0
Open post
diondokter
Dion Dokter @diondokter@fosstodon.org · Apr 13, 2026
Dion Dokter
@diondokter@fosstodon.org

Embedded tech lead at Tweede golf. I love programming in Rust.

fosstodon.org

RE: @tweedegolf@fosstodon.org

Is your async too fat? You can trim it down with these tips!

Please share as I've noticed not many people are aware of this. This is also just part 1 of a 2 part series. Part 2 should be out soon!

8
0
7
0
Open post
diondokter
Dion Dokter @diondokter@fosstodon.org · Apr 12, 2026
Dion Dokter
@diondokter@fosstodon.org

Embedded tech lead at Tweede golf. I love programming in Rust.

fosstodon.org

Anybody know why rust-analyzer is showing me an extra '/' in the inline doc view?

This happens when I generate code using the doc attr and with '///'.

Rustdoc is rendering it fine, so... RA bug?

Just wanna make sure I'm not missing anything before I open an issue :)

0
2
1
0
Open post
diondokter
Dion Dokter @diondokter@fosstodon.org · Mar 23, 2026
Dion Dokter
@diondokter@fosstodon.org

Embedded tech lead at Tweede golf. I love programming in Rust.

fosstodon.org
Replying to @epage@hachyderm.io
@epage yeah fair! But like I said, I'm not opposed to these guidelines. Just small disagreements and it seems like you're more relaxed about them than the writeup suggested (to me). For someone new to Rust they're good tips
0
0
0
0
Open post
diondokter
Dion Dokter @diondokter@fosstodon.org · Mar 23, 2026
Dion Dokter
@diondokter@fosstodon.org

Embedded tech lead at Tweede golf. I love programming in Rust.

fosstodon.org
Replying to @diondokter@fosstodon.org
@epage https://epage.github.io/dev/rust-style/#m-type-assoc Enum should go under the impl bar. Now Bar is split with the enum in the middle. Feels wrong. I think that's all...
0
2
1
0
Open post
diondokter
Dion Dokter @diondokter@fosstodon.org · Mar 23, 2026
Dion Dokter
@diondokter@fosstodon.org

Embedded tech lead at Tweede golf. I love programming in Rust.

fosstodon.org
Replying to @epage@hachyderm.io
@epage In no particular order: https://epage.github.io/dev/rust-style/#m-pub-priv I generally agree with it. But it is possible for a private type to be more relevant to user understanding than another public type and thus warrants being put above it. https://epage.github.io/dev/rust-style/#m-assoc-trait Sometimes a trait impl is more important than seeing the functions. Probably not true for normal trait impls like Clone or Display. Definitely put those last yeah
0
4
0
0
Open post
diondokter
Dion Dokter @diondokter@fosstodon.org · Mar 23, 2026
Dion Dokter
@diondokter@fosstodon.org

Embedded tech lead at Tweede golf. I love programming in Rust.

fosstodon.org
Replying to @epage@hachyderm.io
@epage cool, nice writeup! I'll say that I wouldn't like this style to be enforced on the code I produce. Some of the item ordering stuff seems a little too strict to me and I have slight disagreements. I also think it's fine for lib and mod to contain more than just reexports, within some definition of reason of course. But I'd definitely accept PRs like this into my codebases! It's not too far off from what I naturally already do
0
6
0
0
Open post
diondokter
Dion Dokter @diondokter@fosstodon.org · Mar 17, 2026
Dion Dokter
@diondokter@fosstodon.org

Embedded tech lead at Tweede golf. I love programming in Rust.

fosstodon.org
Replying to @pndc@social.treehouse.systems
@pndc@social.treehouse.systems Just opened today: https://ferrous-systems.com/blog/ide-compiler-engineer-hiring/ I don't know you, so I don't know if it suits you...
0
0
0
0
Open post
diondokter
Dion Dokter @diondokter@fosstodon.org · Mar 13, 2026
Dion Dokter
@diondokter@fosstodon.org

Embedded tech lead at Tweede golf. I love programming in Rust.

fosstodon.org
Replying to @epage@hachyderm.io
@epage oh dang, that sucks! You've done an amazing job
0
0
0
0

Remote instance

fosstodon.org
Open on original server

Media

313k7r1n3
Elektrine

Tor hidden service

elekhj7afj4qnrr4yd3bkzslsyo5jgfxw3orgjkhlcxifueodybyiiad.onion

Platform

  • Email
  • Chat
  • Timeline
  • Communities
  • VPN
  • DNS

Company

  • About
  • Contact
  • FAQ

Legal

  • Terms of Service
  • Privacy Policy
  • Warrant Canary
  • Lite (no JS)
  • VPN Policy
  • Source code

Support

  • support@elektrine.com
  • Report Security Issue
Mail client setup IMAP mail.elektrine.com:993 POP3 mail.elektrine.com:995 SMTP mail.elektrine.com:465
© 2026 Elektrine. All rights reserved. Server: 21:05:53 UTC