AstraKernel 💫
@astrakernel.bsky.social
Love computers and coding.
While I'm particularly passionate about Rust, it's not the only language I work with.
Recently started loving embedded programming
While I'm particularly passionate about Rust, it's not the only language I work with.
Recently started loving embedded programming
🪲Official Rust Youtube channel appears to be got hacked
> We hid the channel, reset permissions,and we are investigating whose account got compromised. Once the folks managing the YouTube channel wake up we'll ensure everything is back to normal
source:
www.reddit.com/r/rust/comme...
#rustlang
> We hid the channel, reset permissions,and we are investigating whose account got compromised. Once the folks managing the YouTube channel wake up we'll ensure everything is back to normal
source:
www.reddit.com/r/rust/comme...
#rustlang
November 9, 2025 at 4:40 PM
🪲Official Rust Youtube channel appears to be got hacked
> We hid the channel, reset permissions,and we are investigating whose account got compromised. Once the folks managing the YouTube channel wake up we'll ensure everything is back to normal
source:
www.reddit.com/r/rust/comme...
#rustlang
> We hid the channel, reset permissions,and we are investigating whose account got compromised. Once the folks managing the YouTube channel wake up we'll ensure everything is back to normal
source:
www.reddit.com/r/rust/comme...
#rustlang
⚡ Running Rust on device with 2kb RAM
- WinChipHead CH32V003 microcontroller
- 16kb flash storage for the program
--
It is an old article. I came across it after someone asked about Rust's ability to run on devices with limited memory
noxim.xyz/blog/rust-ch...
#rustlang #embedded
- WinChipHead CH32V003 microcontroller
- 16kb flash storage for the program
--
It is an old article. I came across it after someone asked about Rust's ability to run on devices with limited memory
noxim.xyz/blog/rust-ch...
#rustlang #embedded
November 4, 2025 at 7:03 AM
⚡ Running Rust on device with 2kb RAM
- WinChipHead CH32V003 microcontroller
- 16kb flash storage for the program
--
It is an old article. I came across it after someone asked about Rust's ability to run on devices with limited memory
noxim.xyz/blog/rust-ch...
#rustlang #embedded
- WinChipHead CH32V003 microcontroller
- 16kb flash storage for the program
--
It is an old article. I came across it after someone asked about Rust's ability to run on devices with limited memory
noxim.xyz/blog/rust-ch...
#rustlang #embedded
Platform in which rust used the most
November 3, 2025 at 8:03 AM
Platform in which rust used the most
Rust usage by country
November 3, 2025 at 8:03 AM
Rust usage by country
🦀 Dioxus v0.7.0 is released
- Hot-patching of Rust code at runtime
- Fullstack: Revamp of Server Functions with full Axum integration
- WGPU-based HTML/CSS renderer for Dioxus
- tailwind support
And more
github.com/DioxusLabs/d...
#rustlang #dioxus
- Hot-patching of Rust code at runtime
- Fullstack: Revamp of Server Functions with full Axum integration
- WGPU-based HTML/CSS renderer for Dioxus
- tailwind support
And more
github.com/DioxusLabs/d...
#rustlang #dioxus
October 31, 2025 at 6:57 PM
🦀 Dioxus v0.7.0 is released
- Hot-patching of Rust code at runtime
- Fullstack: Revamp of Server Functions with full Axum integration
- WGPU-based HTML/CSS renderer for Dioxus
- tailwind support
And more
github.com/DioxusLabs/d...
#rustlang #dioxus
- Hot-patching of Rust code at runtime
- Fullstack: Revamp of Server Functions with full Axum integration
- WGPU-based HTML/CSS renderer for Dioxus
- tailwind support
And more
github.com/DioxusLabs/d...
#rustlang #dioxus
October 30, 2025 at 6:21 PM
🏮Noticed `apt` speed improved in latest debian and ui also nice
Just out of curiosity, checked
- It now uses Sequoia(sqv) to verify package signatures. Written in Rust
- Not sure it contributed in end-user performance but happy to know Rust in apt
lwn.net/Articles/101...
#rustlang #debian
Just out of curiosity, checked
- It now uses Sequoia(sqv) to verify package signatures. Written in Rust
- Not sure it contributed in end-user performance but happy to know Rust in apt
lwn.net/Articles/101...
#rustlang #debian
October 29, 2025 at 8:19 AM
🏮Noticed `apt` speed improved in latest debian and ui also nice
Just out of curiosity, checked
- It now uses Sequoia(sqv) to verify package signatures. Written in Rust
- Not sure it contributed in end-user performance but happy to know Rust in apt
lwn.net/Articles/101...
#rustlang #debian
Just out of curiosity, checked
- It now uses Sequoia(sqv) to verify package signatures. Written in Rust
- Not sure it contributed in end-user performance but happy to know Rust in apt
lwn.net/Articles/101...
#rustlang #debian
⚡️ Learn how to build embedded TUIs on ESP32
- New chapter added in "impl Rust for ESP32" Book
- Teaches how to use mousefood crate to use Ratatui in embedded environment (no_std)
esp32.implrust.com/ratatui/inde...
#rustlang
- New chapter added in "impl Rust for ESP32" Book
- Teaches how to use mousefood crate to use Ratatui in embedded environment (no_std)
esp32.implrust.com/ratatui/inde...
#rustlang
October 28, 2025 at 3:32 PM
⚡️ Learn how to build embedded TUIs on ESP32
- New chapter added in "impl Rust for ESP32" Book
- Teaches how to use mousefood crate to use Ratatui in embedded environment (no_std)
esp32.implrust.com/ratatui/inde...
#rustlang
- New chapter added in "impl Rust for ESP32" Book
- Teaches how to use mousefood crate to use Ratatui in embedded environment (no_std)
esp32.implrust.com/ratatui/inde...
#rustlang
✨ VectorWare, building the first GPU-native software company
Blog Post:
www.vectorware.com/blog/announc...
Discussion:
www.reddit.com/r/rust/s/mcl...
They are also hiring
#rustlang #programming
Blog Post:
www.vectorware.com/blog/announc...
Discussion:
www.reddit.com/r/rust/s/mcl...
They are also hiring
#rustlang #programming
October 23, 2025 at 10:41 PM
✨ VectorWare, building the first GPU-native software company
Blog Post:
www.vectorware.com/blog/announc...
Discussion:
www.reddit.com/r/rust/s/mcl...
They are also hiring
#rustlang #programming
Blog Post:
www.vectorware.com/blog/announc...
Discussion:
www.reddit.com/r/rust/s/mcl...
They are also hiring
#rustlang #programming
🦀 Embedded Rust: Rat(a tui) inside ESP32
- ESP32 Dev Kit v1 & TFT Display
- no_std & esp-hal
- just quick check, yet to explore fully
#rustlang
- ESP32 Dev Kit v1 & TFT Display
- no_std & esp-hal
- just quick check, yet to explore fully
#rustlang
October 14, 2025 at 5:39 PM
🦀 Embedded Rust: Rat(a tui) inside ESP32
- ESP32 Dev Kit v1 & TFT Display
- no_std & esp-hal
- just quick check, yet to explore fully
#rustlang
- ESP32 Dev Kit v1 & TFT Display
- no_std & esp-hal
- just quick check, yet to explore fully
#rustlang
When people share the GitHub project links, I love to see this color in the preview thumbnail
October 11, 2025 at 5:59 AM
When people share the GitHub project links, I love to see this color in the preview thumbnail
September 24, 2025 at 5:26 AM
🏮Found in a crate (This was shared in another platform)
> but at some point you decide to let the f*cking compiler win and go on with your life.
😄
github.com/flashbots/rb...
#rustlang
> but at some point you decide to let the f*cking compiler win and go on with your life.
😄
github.com/flashbots/rb...
#rustlang
September 18, 2025 at 9:03 AM
🏮Found in a crate (This was shared in another platform)
> but at some point you decide to let the f*cking compiler win and go on with your life.
😄
github.com/flashbots/rb...
#rustlang
> but at some point you decide to let the f*cking compiler win and go on with your life.
😄
github.com/flashbots/rb...
#rustlang
⚡️STMicroelectronics recently creating Rust drivers for their sensors and other components
- One of the largest semiconductor companies in Europe, specializing in chips for automotive, industrial, and consumer electronics applications
github.com/orgs/STMicro...
#rustlang #embedded #stm32
- One of the largest semiconductor companies in Europe, specializing in chips for automotive, industrial, and consumer electronics applications
github.com/orgs/STMicro...
#rustlang #embedded #stm32
September 17, 2025 at 4:57 PM
⚡️STMicroelectronics recently creating Rust drivers for their sensors and other components
- One of the largest semiconductor companies in Europe, specializing in chips for automotive, industrial, and consumer electronics applications
github.com/orgs/STMicro...
#rustlang #embedded #stm32
- One of the largest semiconductor companies in Europe, specializing in chips for automotive, industrial, and consumer electronics applications
github.com/orgs/STMicro...
#rustlang #embedded #stm32
⚡️ RTC HAL Chapter completed: Learn to Write RTC HAL & drivers for Real Time Clock in Rust
- Create RTC HAL from scratch. Provides traits like embedded-hal
- Implement those traits and create driver for DS1307 and DS3231
- Generic Demo code
github.com/implferris/r...
#rustlang #embedded
- Create RTC HAL from scratch. Provides traits like embedded-hal
- Implement those traits and create driver for DS1307 and DS3231
- Generic Demo code
github.com/implferris/r...
#rustlang #embedded
September 17, 2025 at 3:21 AM
⚡️ RTC HAL Chapter completed: Learn to Write RTC HAL & drivers for Real Time Clock in Rust
- Create RTC HAL from scratch. Provides traits like embedded-hal
- Implement those traits and create driver for DS1307 and DS3231
- Generic Demo code
github.com/implferris/r...
#rustlang #embedded
- Create RTC HAL from scratch. Provides traits like embedded-hal
- Implement those traits and create driver for DS1307 and DS3231
- Generic Demo code
github.com/implferris/r...
#rustlang #embedded
⚡️ Writing Embedded Rust Driver for Real Time Clock DS1307 (part 2)
- Second part of the RTC HAL Chapter
- Implement the RTC HAL for the DS1307 driver
red.implrust.com/rtc/ds1307/i...
#rustlang
- Second part of the RTC HAL Chapter
- Implement the RTC HAL for the DS1307 driver
red.implrust.com/rtc/ds1307/i...
#rustlang
September 12, 2025 at 2:53 AM
⚡️ Writing Embedded Rust Driver for Real Time Clock DS1307 (part 2)
- Second part of the RTC HAL Chapter
- Implement the RTC HAL for the DS1307 driver
red.implrust.com/rtc/ds1307/i...
#rustlang
- Second part of the RTC HAL Chapter
- Implement the RTC HAL for the DS1307 driver
red.implrust.com/rtc/ds1307/i...
#rustlang
⚡️ RED Book: Learn to Write Platform-Agnostic RTC Drivers in Rust (Part 1)
- RTC => Real Time Clock
- In this 1st part, you will learn how to design and structure the RTC HAL that provides traits(like embedded-hal) to be used by driver crates
Github:
github.com/ImplFerris/r...
#rustlang #embedded
- RTC => Real Time Clock
- In this 1st part, you will learn how to design and structure the RTC HAL that provides traits(like embedded-hal) to be used by driver crates
Github:
github.com/ImplFerris/r...
#rustlang #embedded
September 9, 2025 at 1:11 AM
⚡️ RED Book: Learn to Write Platform-Agnostic RTC Drivers in Rust (Part 1)
- RTC => Real Time Clock
- In this 1st part, you will learn how to design and structure the RTC HAL that provides traits(like embedded-hal) to be used by driver crates
Github:
github.com/ImplFerris/r...
#rustlang #embedded
- RTC => Real Time Clock
- In this 1st part, you will learn how to design and structure the RTC HAL that provides traits(like embedded-hal) to be used by driver crates
Github:
github.com/ImplFerris/r...
#rustlang #embedded
✨ Declarative macros in Rust - a way of writing your own syntax
> Macros are code that generate code
A nice tutorial that explains how to write declarative macro
themkat.net/2024/09/13/r...
#rustlang
> Macros are code that generate code
A nice tutorial that explains how to write declarative macro
themkat.net/2024/09/13/r...
#rustlang
September 8, 2025 at 10:03 AM
✨ Declarative macros in Rust - a way of writing your own syntax
> Macros are code that generate code
A nice tutorial that explains how to write declarative macro
themkat.net/2024/09/13/r...
#rustlang
> Macros are code that generate code
A nice tutorial that explains how to write declarative macro
themkat.net/2024/09/13/r...
#rustlang
🦀 Avoiding Breaking Changes with Rust’s `non_exhaustive` attribute
> The non_exhaustive attribute indicates that a type or variant may have more fields or variants added in the future.
blog.implrust.com/posts/2025/0...
#rustlang
> The non_exhaustive attribute indicates that a type or variant may have more fields or variants added in the future.
blog.implrust.com/posts/2025/0...
#rustlang
September 7, 2025 at 4:26 PM
🦀 Avoiding Breaking Changes with Rust’s `non_exhaustive` attribute
> The non_exhaustive attribute indicates that a type or variant may have more fields or variants added in the future.
blog.implrust.com/posts/2025/0...
#rustlang
> The non_exhaustive attribute indicates that a type or variant may have more fields or variants added in the future.
blog.implrust.com/posts/2025/0...
#rustlang
🦀#[non_exhaustive] attribute
- If you mark your enum with non_exhaustive attribute, it enforces users to always use wildcards in match statements
- You can add more variants to your library without breaking users' code; no major version bump required
- If you mark your enum with non_exhaustive attribute, it enforces users to always use wildcards in match statements
- You can add more variants to your library without breaking users' code; no major version bump required
September 5, 2025 at 4:09 PM
🦀#[non_exhaustive] attribute
- If you mark your enum with non_exhaustive attribute, it enforces users to always use wildcards in match statements
- You can add more variants to your library without breaking users' code; no major version bump required
- If you mark your enum with non_exhaustive attribute, it enforces users to always use wildcards in match statements
- You can add more variants to your library without breaking users' code; no major version bump required
🦀Without `non_exhaustive` attribute
- Let's say we create a library with Menu enum;when you add more variants in the future, it will be a breaking change because users' match statements won't compile
- As library dev, you should bump to next major version (e.g: 1.0.0 to 2.0.0)
- Let's say we create a library with Menu enum;when you add more variants in the future, it will be a breaking change because users' match statements won't compile
- As library dev, you should bump to next major version (e.g: 1.0.0 to 2.0.0)
September 5, 2025 at 4:09 PM
🦀Without `non_exhaustive` attribute
- Let's say we create a library with Menu enum;when you add more variants in the future, it will be a breaking change because users' match statements won't compile
- As library dev, you should bump to next major version (e.g: 1.0.0 to 2.0.0)
- Let's say we create a library with Menu enum;when you add more variants in the future, it will be a breaking change because users' match statements won't compile
- As library dev, you should bump to next major version (e.g: 1.0.0 to 2.0.0)
RTC HAL Error Handling Architecture
September 4, 2025 at 6:44 PM
RTC HAL Error Handling Architecture
⚡Example use case of Blanket implementation
- Here is simplified version of embedded-hal's I2C blanket implementation
- Implements I2C trait for mutable references (&mut T) to all types(T) that implement I2C trait
- Why? This allows drivers to take ownership or reference
#rustlang
- Here is simplified version of embedded-hal's I2C blanket implementation
- Implements I2C trait for mutable references (&mut T) to all types(T) that implement I2C trait
- Why? This allows drivers to take ownership or reference
#rustlang
September 4, 2025 at 3:26 PM
⚡Example use case of Blanket implementation
- Here is simplified version of embedded-hal's I2C blanket implementation
- Implements I2C trait for mutable references (&mut T) to all types(T) that implement I2C trait
- Why? This allows drivers to take ownership or reference
#rustlang
- Here is simplified version of embedded-hal's I2C blanket implementation
- Implements I2C trait for mutable references (&mut T) to all types(T) that implement I2C trait
- Why? This allows drivers to take ownership or reference
#rustlang
✨ Blanket implementation in standard library
Btw, this is extensively used in the Rust standard library
> For example, the standard library implements the ToString trait on any type that implements the Display trait
doc.rust-lang.org/book/ch10-02...
#rustlang
Btw, this is extensively used in the Rust standard library
> For example, the standard library implements the ToString trait on any type that implements the Display trait
doc.rust-lang.org/book/ch10-02...
#rustlang
September 4, 2025 at 8:25 AM
✨ Blanket implementation in standard library
Btw, this is extensively used in the Rust standard library
> For example, the standard library implements the ToString trait on any type that implements the Display trait
doc.rust-lang.org/book/ch10-02...
#rustlang
Btw, this is extensively used in the Rust standard library
> For example, the standard library implements the ToString trait on any type that implements the Display trait
doc.rust-lang.org/book/ch10-02...
#rustlang