TIL in C++ `BasClass&` can be created from a `Derived&`, thereby it does dynamic dispatch through the vtable instead of the reference being a guarantee that static dispatch is enough. Huh. This proves to be a mild issue with my C++/Rust interop crimes.
AapoAlas
@aapoalas.trynova.dev
Nova JavaScript engine developer and OSS contributor by day and night. Avid choir singer. He/him. Give me data-oriented design or else (I will cry). https://trynova.dev/
People don't change: in my Rust/C++ interop crimes I wanted to build an enum over "one-shot Request" vs "multi-response Request" even though both are just a C++ Request object at its core. An epiphany: this is what I always do in TypeScript as well! No wonder it felt so familiar and safe!
So lately I've been having obscene amounts of fun during absolutely hair-brained and -raising FFI crimes between Rust and C++. "Look ma, no C ABI!" Just going in raw, binding to C++ ABIs, inheriting C++ classes, creating C++ template instances like std::function's, all that good jazz direct in Rust.
'Can I borrow that? (Reborrow traits)' by Aapo Alasuutari at RustWeek 2026! www.youtube.com/watch?v=2GE0... @aapoalas.trynova.dev #rustlang #RustWeek
Can I borrow that? (Reborrow traits) (Aapo Alasuutari at RustWeek)
Can I borrow that? (Reborrow traits) by Aapo Alasuutari. Exclusive references make Rust, yet they cannot be built within Rust: the core act of reborrowing, that is giving temporary exclusive access…
youtube.com
So I'm taking a choir conductor camp, and in the same music camp is a man who is a total doppelganger of a coworker of mine, like not just looks similar but they really look like a clone sometimes! Turns out: they're identical twins. I guess that explains that.
'Common Pitfalls of Rewriting Things In Rust' by Cliff L. Biffle at RustWeek 2026! www.youtube.com/watch?v=Wv88... #rustlang #RustWeek
Common Pitfalls of Rewriting Things In Rust (Cliff L. Biffle at RustWeek)
Common Pitfalls of Rewriting Things In Rust by Cliff L. Biffle. While a lot of systems code can be expressed easily in Rust, there are common patterns from C, C++, and Go that are just more effort…
youtube.com
So in other news today, I had a terrible/fun time with figuring out printing of WebComponent elements in response to a user button click without blocking the event loop! Can't use print() because it blocks, can't use iframe.src URL because it loses DOM state. Painful world out there!
This paper finds that Rust on an microcontroller costs you about 10% extra flash space, actually saves you a bunch of RAM, and takes no extra time to deliver (as compared to C). Seems about right - especially as the C version needed a heap and the Rust version did not. arxiv.org/pdf/2604.25679
arxiv.org
A night in the light. Terrible photography, but a beautiful scene. Also an obscenely warm end-of-April night that feels nearly tropical.
Music for today: youtu.be/-8jFKl0GPh8?... Everything begins with tomorrow
Kaikki alkaa huomisesta
YouTube video by Kuusumun Profeetta - Topic
youtu.be
I'm *very* excited to report that we got initial funding and have hired our first Rust maintainers! RustNL's Rust Maintainers Team starts out with two full time maintainers, one intern, and five part-time maintainers, now stably employed to continue their work on Rust! 🎉 rustnl.org/maintainers/
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...
** Speaker announcement ** Aapo Alasuutari has proposed a project goal to make exclusive references buildable within the language. Hear the how, why(-nots), and what's to come at RustWeek 2026! Info & tickets: buff.ly/KExGb22 Utrecht May 18-23, 2026! @aapoalas.trynova.dev #rustweek2026 #rustlang
Out of left field @mattkeeter.com: missed opportunity to name this PR "Make the vibes of task-hiffy less iffy" Also, cool stuff.
Improve the vibes of `task-hiffy` by mkeeter · Pull Request #2475 · oxidecomputer/hubris
task-hiffy has bad vibes: it uses static mut arrays, and accesses them without an obvious SAFETY comment. The task is necessarily in a weird no man's land, because the debugger writes to those ...
github.com
Oh, here's some music and video for you today: www.youtube.com/watch?v=c2MQ...
WHISPERED - IKIKAERE (OFFICIAL MUSIC VIDEO)
YouTube video by Whispered (Official)
youtube.com
Yesterday I cut a chunk off my finger using just my own bodyweight and a chair with a little play. Nothing else to report.
Job opportunity: We're looking to add an IDE Compiler Engineer to our team! This is a great role for someone who really knows the Rust compiler and is keen to work with our customers on improvements to our compiler and tooling. Details here: ferrous-systems.com/blog/ide-com... #RustLang #RustJobs
You won't believe it (I'm not sure we do), but Nova is now in the major version era!
Nova 1.0 · Nova
Entering the major release era.
trynova.dev
How to use storytelling to fit inline assembly into #rustlang www.ralfj.de/blog/2026/03...
How to use storytelling to fit inline assembly into Rust
The Rust Abstract Machine is full of wonderful oddities that do not exist on the actual hardware. Inevitably, every time this is discussed, someone asks: “But, what if I use inline assembly...
ralfj.de
I blogged some more about lifetime contravariance of garbage collected references: trynova.dev/blog/contrar...
Contrarian thinking part 2 - The Reckoning · Nova
Making sense and finding limits of contravariance of garbage collected handles.
trynova.dev
I want a reasonably fast ECMAScript RegExp engine using WTF-8 encoding built in #Rustlang, and preferably without JIT'ing for safety. Is that really too much to ask? /s
EP Release day! "More Memory" is a collection of five new songs that together form the sequel to the previously released album "Core Memory". idol-io.ffm.to/morememory Next week we're on tour to celebrate this! More info & dates at www.marblesounds.com/tour
Marble Sounds - More Memory
Listen to Marble Sounds - More Memory
idol-io.ffm.to
Here's some music for you this night: Toivo Kuula's Rukous (Prayer), not necessarily quite as Christian as you might expect. "I am tired of the lie that is my song: oh lord, make me a child again! I wish to take my broken song to the great tuner."
Kuula: Rukous Op.34b / 1 (Prayer)
YouTube video by The Candomino Choir - Topic
youtu.be
My #JavaScript SoA adventures are bearing fruit: a test creating a data flow graph of 750k nodes, 250k graph entry/exit points ("inputs"), and who knows how many inputs not participating in the graph, it takes <400ms to run. That's ~400ns per node or input, which is pretty cool I think!
Meh, none of my three talks made it past the sieve :D And I had such a banger topic line for one of the talks as well: "Data race you to UB!", I was really looking forward to giving that one. Better luck next time I guess!
After carefully reading and ranking a record number of 185 submissions from 148 speakers, we finally finished the talk selection for RustWeek 2026! I'm *really* excited about the lineup! Check it out here: 2026.rustweek.org/blog/2026-02... Don't forget to buy your ticket! See you in Utrecht!
ある親切な日本人がフロリダの自然に大変興味を持って、英語があまり出来なかったけれど一人で旅行することにしました。着いたら彼が皆に自然ツアーのことを尋ねて、無視されなっか場合必ず「ありがとう!ありがとう!」って言いました。 やっとあるツアーをやってくれる人を見つけて、2人で沼を見に行きました。沼に着いたらガイドは指差しで興味深いな所を指さして、日本語で「ありがとう」って言いました。日本人が近くに見に行きました。 わにでした。
Fun Finglish thing: "service" seems to conjugate to "servikse-", so it sounds like people are talking about the cervix. "Our cervix did great work in driving our EBITDA up!"
Today's music: an absolute banger of modern choir music.
Jaakko Mäntyjärvi: Väinämöinen uneksii lentävästä veneestään
YouTube video by Kampin Laulu Chamber Choir - Topic
youtu.be