Emil Fresk / korken89

Emil Fresk / korken89

@emilfresk.com

PhD in Robotics, (embedded) Rust nerd, and embedded enthusiast. Develops and maintains http://rtic.rs.

1.2K followers40 following77 posts

Emil Fresk / korken89 reposted

Happy to share news of Ferrocene 26.08.0, the latest release of the quality-managed, TÜV SÜD-qualified, open source Rust toolchain. What's new: - Updates from Rust 1.96 and 1.97 - Three newly qualified targets 🔗 Read more: ferrocene.dev/blogs/ferroc... #Ferrocene #RustLang #SafetyCriticalSoftware

Emil Fresk / korken89 reposted

Please, install and test the latest probe-rs. @dbuga.bsky.social merged all of my proposed fixes/improvements. If you have cortex-m devices, make sure to check that there are no known regressions. I checked with STM32G071RB, MCXA266, MSPM0G3519, and STM32F405.

Emil Fresk / korken89 reposted

These embedded crates are peak software quality. Thank you for making durable software that serves as a foundation: - cortex_m - probe_rs - defmt - svd2rust - heapless #rustlang

You know when you get an idea, and start working on it ... and 70% in you ask yourself, what have I done? How will I ever finish this? When an idea wins ... 😅 Might as well finish the hardware right?

A fun experiment, tried spade-lang.org and made an Ethernet stack running GbE with UDP and ARP support. Nice (Rust) feeling for an HDL, might migrate to it from Amaranth :D Tested on a Colorlight 5A 75B, ECP5 25F. The stack is about 5k LUTs/4k FF, the rest debugging, UART and MDIO scanning.

Emil Fresk / korken89 reposted

My async compiler work got funded! So here's my first PR: github.com/rust-lang/ru... Roughly, it changes match x { true => foo(1).await, false => foo(2).await, } to match x { true => foo(1), false => foo(2), }.await This means the future will only have 1 state instead of 2

github.comAdd merge yields by diondokter · Pull Request #162429 · rust-lang/rustPart of Async statemachine optimisation project goal r? dingxiangfei2009 Added a pass that merges functionally identical yields right before the async StateTransform pass. The StateTransform pass c...

Emil Fresk / korken89 reposted

Emil Fresk / korken89 reposted

Final part of my async blog! tweedegolf.nl/en/blog/237/... 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 :)

tweedegolf.nlAsync Rust never left the MVP state - Blog - Tweede golfI've previously explained async bloat and some work-arounds for it, but would much prefer to solve the issue at the root, in the compiler. I've submitted a Project Goal, and am looking for help to ...

After poking the PL192 VIC registers in our Cortex-R5F for a few hours and wondering why nothing is happening (and no hardfaults 🤔), remember to double check that the vendor has not replaced the standard interrupt controller with their own 💔 Assumptions is the mother of all ... VIM != VIC

Maybe a stupid question, but why is schematics for PCB design not code? For more advanced "PCBs" (read ICs) we use HDL and in the end if there is an MCU we code it. If it was "code" I'm wondering what amazing linters, CI, checks, integrated knowledge about parts, type safe modules ... could be done.

Maybe a stupid question, but why is schematics for PCB design not code? For more advanced "PCBs" (read ICs) we use HDL and in the end if there is an MCU we code it. If it was "code" I'm wondering what amazing linters, CI, checks, integrated knowledge about parts, type safe modules ... could be done.

Parts could have their requirements, e.g. surrounding passives, differential pairs, length matching, current reoriented, ... encoded. And linters & CI could check that it's followed or a known "accept the risk of not following". I think the answer is "it's how it's always been done"

Maybe a stupid question, but why is schematics for PCB design not code? For more advanced "PCBs" (read ICs) we use HDL and in the end if there is an MCU we code it. If it was "code" I'm wondering what amazing linters, CI, checks, integrated knowledge about parts, type safe modules ... could be done.

Emil Fresk / korken89 reposted

Typst 0.14 is out now! Get ready for production with accessibility, PDFs as images, character-level justification, and more. Learn about more of the highlights in Typst 0.14 in the thread below ⤵️

Emil Fresk / korken89 reposted

I'm excited to share what I've been working on with @erikjee.bsky.social: RustNL's #rustlang Maintainers Fund! Many people and companies contributing to Rust, but there are fewer and fewer paid positions for general maintenance (reviews,cleanups,etc). We need to fix that. bsky.app/profile/rust...

RustNL@rustnl.bsky.social

We're excited to announce a new initiative to support the Rust Project, our Rust Maintainers Fund! We are setting out to employ 6 full-time maintainers and 6 interns in 2026 to make sure #rustlang is well maintained and bugs and contributions get the attention they need. Read more: rustnl.org/fund

Emil Fresk / korken89 reposted

We need your help to get Typst 0.14 over the finish line: The release candidate with accessible PDFs, character-level justification (not even in LaTeX!), and more landed today! Check your documents, packages and against "Typst 0.14.0 Testing" on the web or the new compiler.

Emil Fresk / korken89 reposted

I feel like there would be a HUGE amount of ecosystem value for Rust and async/await, if there was funding and the right dev(s) available to focus on improving: * Memory usage + copies of futures/async fns: particularly wrt overlapping data across yield * Improving codegen size/perf * opt-footguns

University took it's toll. Korken = bottle cap ... 😅

Jonathan Pallant@thejpster.org.uk

I can’t abide being called Jon, so I’d get my friends at school to call me JP instead. When I signed up to Force9 dial up in the mid 90s I needed a username for my email. I forget where I’d heard “the something-ster” as a format but that’s what I went with.

I remember reading long ago that COBS framing with CRCs as part of the data could greatly reduce the effectiveness of the CRC checksum and that care beds to be taken, but I'm unable to find where I read this. Does anyone know where this comes from, or if I'm mistaken?

Emil Fresk / korken89 reposted

🦀 Hello World! The Rust project now has an official presence on Bluesky! ✨ We'll be posting the same on our Mastodon and Bluesky accounts, so you won't miss anything on either platform.