Profile avatar
dntstck.co.uk
β • Vim wizard πŸ§™β€β™‚οΈ β • Rust engineer πŸ¦€ β • blogs at https://dntstck.github.io/blog
73 posts 31 followers 101 following
Prolific Poster
Conversation Starter

I'm excited to share my latest @ratatui.rs project! πŸŽ‰πŸ₯³ 🎸 Tuitar β€” a tiny guitar tuner. πŸ¦€ Powered by embedded Rust & Ratatui (running on ESP32) 🚧 Work-in-progress, building it live: www.youtube.com/@orhundev ⭐ GitHub: github.com/orhun/tuitar #rustlang #ratatui #tui #embedded #esp32 #guitar

highly recommend these, which are now available as a newsletter. Olivia breaks down concepts beautifully in a clear, concise & visually engaging format πŸ¦€

Imagine running "cargo update" without fear, knowing it could never break your #rustlang code. What would that look like, and what will it take? Find out in my #RustWeek talk! www.youtube.com/watch?v=bUN5...

We're rewriting parts of Microsoft's SymCrypt cryptographic library in Rust to improve memory safety and defend against side-channel attacks, enabling formal verification while maintaining backward compatibility via a Rust-to-C compiler: msft.it/6011SU7Fc

πŸ™ πŸŒˆπŸ’œ

my little nook 🫢🏼

πŸͺ’ Trait Bounds in #rustlang Generics in #rustlang are powerful, but they can be tricky to master. One of the key concepts is trait bounds, which allow you to specify in an expressive way what a type can do. Let's look at a concrete example πŸ§΅πŸ‘‡

built a focused terminal for distraction free coding. needs some tweaking but it works great as is rpi zero2, rpi os lite x64, waveshare 4" hdmi lcd and a cheap mech keyboard. getting YCM to work on it however is another matter, so i may need to try a different code completion engine...

Last four #rustlang threads if you missed them πŸ‘©β€πŸ« Understanding the Deref Trait 🧬 Lifetimes πŸ’§ Drop trait πŸ“Ή Understanding threads bsky.app/profile/ioli... bsky.app/profile/ioli... bsky.app/profile/ioli... bsky.app/profile/ioli...

🧬 Lifetimes in #rustlang - Part 1 You've likely heard of the borrow checker. The borrow checker's main job is to ensure that borrowed references are valid. But in order for the compiler to make that work, it relies on a core concept called lifetimes. Let's learn how they work πŸ§΅πŸ‘‡

unsynn v0.1.0 is out! crates.io/crates/unsynn

πŸ“Ή Understanding threads in #rustlang How does a video player work? You start with an encoded video file, download tiny chunks of audio and video, decode them then push them to the rendering buffer to display them Sounds simple, except when trying to share data mutably across threads Why? 🧡 πŸ‘‡

Witch brewing!

πŸ’§Drop trait in #rustlang Why is the drop trait useful? When should you use it? Simply put, rust’s Drop trait lets you customize what happens when an object goes out of scope, think of it as a destructor in other languages. Let's explore it in detail 🧡 πŸ‘‡

this.

three fav things - coffee, keychron k11 max and good dev book. i've completed the first half of the book ~ im waiting until ive got Virgo to a place im happy with before attempting the final half of the book, still great to flick through though!

πŸ‘©β€πŸ« Understanding the Deref Trait in #rustlang Rust’s Deref trait lets you customize how your type behaves when dereferenced. It’s what makes smart pointers like Box<T> feel like magic, but how can you use it effectively? Let's explore it in detail 🧡 πŸ‘‡

virgo (vim & cargo) πŸ¦€ is coming along nicely. the basic features are solid now and modifiying your cargo.toml directly from vims command mode is an absolute breeze. currently working on more advanced features such as checking dependencies; showing outdated versions and breaking changes.

working on a vim plugin that manages crates directly from inside vim, basic functionality is working; searching for crates works beautifully and adding/removing them from the cargo.toml is so far producing no issues. 🀞🏼

game engine milestone: my rust game engine with C "scripting" (and hotreloading!) supports debug UI, via egui. This is interesting because egui is very callback-focused, but because I know my C code is built with clang (at least in debug builds), I can use Apple's block lang extension for callbacks

Omg I really did it 😱 I published my 1st ever Rust crate to crates io! It's nothing fancy but hey, if you're using Leptos and looking for a simple loader, I got you πŸ˜‰ Link here πŸ‘‰ crates.io/crates/spux #rustlang

Pixel art journey day 24 A small sleepy umbreon today before going to bed ! #pixelart #pokemon #umbreon

kitty with a sapling! spend so much time on this, i have long way to go but i can feel myself improve! #γƒ‰γƒƒγƒˆη΅΅ #pixelart

looking at the rust code I wrote last year: this is terrible. at least I've improved looking at the rust code I wrote last week: what the fuck

vim-rusted v0.1 includes airline theme. untested with other languages, use at your own visual mercy. github.com/dntstck/vim-... enjoy, dru x

I'm going to be on @memfault.com's YouTube live on Thursday: www.youtube.com/live/kflFgdH... One Q I want to answer is "where is Rust being used in production for embedded?", if anyone wants to share anything that is public I should namedrop, please let me know! Drop by and hype up the chat too!

#pixelart 'Salem Noir' A piece I made in 2016 after my first visit to the Balkans, a sort of tribute. 16 total colours with some other technical specs which sequester the warm and cool colours on the canvas. Exactly 50% of the canvas only uses 11 cool values and the other 50% uses 11 warm colours.

I’ve been doing pixel art projects with really tiny pixel stickers. The big one is about 10k pixel stickers.

Outside #pixelart

πŸ‘» Understanding PhantomData in #rustlang πŸ¦€ Ever wondered how to create a type that depends on another type but doesn't actually contain it? Let's explore PhantomData with a practical example of a course grading system! πŸ‘‡ 🧡

week 2 πŸ¦€

i am way late on this but: i am still looking for work! i’m a frontend focused fullstack dev (mainly rust/typescript) looking for jr or mid level swe roles. if you think i would be a good fit in your company, or if you have a solid lead, i would be extremely grateful!! feel free to dm!

vim & rust: unlocking rust in vim

Yes, indeed! I'm Soph. I helped create the programming language TypeScript, then helped shape the future of another language called Rust. These ended up impacting tens of millions of developers (hopefully for the better). I love and write trans fiction. Also, I'm a trans woman.

#θͺ•η”ŸηŸ³γ‚·γƒͺγƒΌγ‚Ίγ€€γ‚’γƒ‘γ‚Έγ‚Ήγƒˆ

Kids today will never understand the joy of sending β€œcupholder.exe” to a friend.

Reminder