Advertisement · 728 × 90

Posts by 9names

a whale: "I'm hungry"

another whale: "krill issue, bro"

1 month ago 211 14 14 0
Intro to Embedded Rust Part 8: Lifetimes and Lifetime Annotations | DigiKey
Intro to Embedded Rust Part 8: Lifetimes and Lifetime Annotations | DigiKey YouTube video by DigiKey

Time for another #Rust video! This time, I show how lifetimes and lifetime annotations work. They come up a lot when working with embassy, so it's useful to know what that 'a means.
👇
www.youtube.com/watch?v=3hzr...

#embedded #microcontroller #programming #RaspberryPiPico @digikey.bsky.social

1 month ago 109 10 3 0

Happy name day Alice! 🥳

1 month ago 1 0 0 0

Due to popular demand, here is a demonstration video of how to make 3D printed PCBs using just vector drawing software, a 3D printed (PETG filament for mine) and self-adhesive copper tape. Any questions, let me know!

2 months ago 775 295 33 15
Preview
GitHub - dani-garcia/vaultwarden: Unofficial Bitwarden compatible server written in Rust, formerly known as bitwarden_rs Unofficial Bitwarden compatible server written in Rust, formerly known as bitwarden_rs - dani-garcia/vaultwarden

Shout out to github.com/dani-garcia/..., which:

* Is a Rust compatible server for the Bitwarden password manager
* Is easy to self-host
* Still works with the official desktop/mobile/browser apps, which also work to store/sync TOTP

It means I now have password syncing, across devices, self hosted!

2 months ago 53 3 3 2

It’s always a good idea before you say anything publicly about someone’s intentions or ideas to figure out if you are comfortable with the same being done to yourself

2 months ago 29 2 2 0
Preview
Michael Stapelberg 🐧🐹😺 (@zekjur@mas.to) Attached: 4 images PSA: Did you know that it’s **unsafe** to put code diffs into your commit messages? Like https://github.com/i3/i3/pull/6564 for example Such diffs will be applied by patch(1) (also git-am(1)) as part of the code change! This is how a sleep(1) made it into i3 4.25-2 in Debian unstable.

in-band signaling is always a mistake and unix tooling is full of in-band signaling https://mas.to/@zekjur/116022397626943871

2 months ago 96 28 1 5
Advertisement

I don't think I've peeked under the covers of device-driver for a long time, those are some fun-looking functions! I should find some time on the weekend to investigate how device-driver works these days

3 months ago 1 0 1 0
A screenshot of the compiler explorer website. In the left-most pane are some functions calling operations on Rust's u32 type (reverse_bits, count_ones, leading_zeros, trailing_zeros, to_be, isolate_highest_one, lowest_one).

the center pane has the assembly output for the riscv32IMAC target. most of the functions generate 10's of instructions with a total output length of 186 lines.

the right pane is also targeting riscv32IMAC but has additional riscv bitmap extensions enabled. these versions generate 1 to 4 instructions per function, so they all fit on the page. the total length of the output is 33 lines.

A screenshot of the compiler explorer website. In the left-most pane are some functions calling operations on Rust's u32 type (reverse_bits, count_ones, leading_zeros, trailing_zeros, to_be, isolate_highest_one, lowest_one). the center pane has the assembly output for the riscv32IMAC target. most of the functions generate 10's of instructions with a total output length of 186 lines. the right pane is also targeting riscv32IMAC but has additional riscv bitmap extensions enabled. these versions generate 1 to 4 instructions per function, so they all fit on the page. the total length of the output is 33 lines.

A screenshot of the compiler explorer generated asm in case that's easier on mobile:

3 months ago 0 0 0 0
Compiler Explorer - Rust #![no_std] #![feature(isolate_most_least_significant_one)] #![feature(int_lowest_highest_one)] #[unsafe(no_mangle)] pub fn u32_reverse_bits(a: u32) -> u32 { a.reverse_bits() } #[unsafe(no_mangle...

(retoot of my mastodon post)
I'm having fun finding out how much less code Rust's integer functions generate for rp2350's RISCV cores (when all of it's bitmanip extensions are enabled):
godbolt.org/z/1Geq5rdnv

3 months ago 1 1 2 0

ASCII text is a perfectly valid option here.
would have to be a particularly cursed chip to choose that option though!

3 months ago 0 0 1 0
Video

please enjoy: my Wasm-hosted, Wasm-targeting build of Clang/Clang++/LLD: a self-contained, 25 MiB (gzipped) pure function
www.npmjs.com/package/@yow...

5 months ago 154 30 4 3

Finally getting around to listening to the Wookash Podcast where defer is, apparently, mentioned. I guess I should listen to this thing in ful-- oh my god it's two hours?? Well, time for the 2x speed buff.

6 months ago 8 1 2 1

Alright, with a last minute async Rust bug fixed (thanks 2024 edition), it's time for the first #bevymergetrain of Bevy 0.18! The release branch has been cut, and we're merging feature work again!

Let's go over the 10 open community-reviewed PRs in our backlog for this week <3

6 months ago 26 5 1 0
Post image

This is why I love @ratatui.rs

Running on STM32 with 320kB of RAM... and using only half of it.

6 months ago 33 9 3 0
status.matrix.org showing an ongoing database incident since 17:39 UTC today, they are currently restoring from a backup

status.matrix.org showing an ongoing database incident since 17:39 UTC today, they are currently restoring from a backup

matrix.org is in the middle of a big oopsie it looks like

7 months ago 29 5 4 0

James' Munns'

8 months ago 3 0 0 0
Advertisement

Ooh you're doing office hours again? Looking forward to it!

8 months ago 1 0 0 0

If you think AI is punk rock, you don’t understand technology and you don’t understand punk rock

8 months ago 330 39 8 0

It’s a good thing we’re keeping our dependency count low, I think to myself, as I read about how my UI framework also provides threads, networking utilities, data structures, floating point math, D-Bus, cryptographic utilities, geographic utilities, and a Bluetooth implementation

1 year ago 64 9 2 2

There are three hard problems in CS: naming things, naming things, and elision of copies

9 months ago 10 1 0 0
Preview
The provenance memory model for C A years-long effort led by Kayvan Memarian and Peter Sewell from Cambridge University, UK, Martin Uecker from Graz University of Technology, Austria, and myself (from ICube/Inria, France) has guide…

The provenance memory model for C

gustedt.wordpress.com/2025/06/30/t...

9 months ago 33 6 2 0
Video

Why Does Oxide Use Rust?

9 months ago 130 20 1 3
Post image

lovemhz.com/blog/xbox-sc...

10 months ago 29 11 0 2
Some gentoo penguins

Some gentoo penguins

I asked them what their USE flags are and they wouldn’t tell me

10 months ago 46 5 4 0
Post image

My thesis is now published online! 🎉

urn.kb.se/resolve?urn=...

10 months ago 24 9 3 0
Preview
Announcing Rust 1.87.0 and ten years of Rust! | Rust Blog Empowering everyone to build reliable and efficient software.

blog.rust-lang.org/2025/05/15/R...

10 years of Rust, as of today.

Well done, everyone.

11 months ago 34 6 2 0
Advertisement
The "Back to the Future" movie poster, but with the title replaced by "Box<impl Future>". On top it says "1.21 gigabytes". The license plate of the DeLorean reads "ENOMEM".

The "Back to the Future" movie poster, but with the title replaced by "Box<impl Future>". On top it says "1.21 gigabytes". The license plate of the DeLorean reads "ENOMEM".

Here are all the posters I designed for RustWeek 2025!

1. "Box<impl Future>" (Back tot the Future)

#rustweek #rustweek2025

11 months ago 186 52 5 4
Post image

implemented a high performance ARM JTAG debug probe (for ARM7TDMI) that can do about 1 MB/s of useful bandwidth at 24 MHz TCK, bottlenecking on waiting for core synchronization

11 months ago 62 9 2 0