blog.yoshuawuyts.com
Iterator as an Alias— 2023-11-08 iterators vs coroutines iterators as an alias for coroutines fallible functions support for pin conclusion This is another short post covering another short idea: I want to explain the mechanics required to...
Observations/Thoughts
2023-11-15
~8 min read
blog.yoshuawuyts.com
What is a team?— 2023-11-08 update (2023-11-08): I've swapped the usage of "horizontal" and "vertical" in this post based on feedback. This is going to be an ultra-short post to share an idea I've been mulling over in my head for a while. Y...
Observations/Thoughts
2023-11-15
~4 min read
blog.yoshuawuyts.com
fn poll_ vs async fn performance self-referential iterators unpin bounds implementation vs usage object safety "cancellation safety" pin ergonomics evolution conclusion This post is part of the Async Iteration series: Async Iteration I: Asy...
Observations/Thoughts
2023-10-04
~29 min read
blog.yoshuawuyts.com
nesting allocators— 2023-08-09 kinds of allocation nesting allocators passing allocators scoped allocators conclusion I regularly point people to Tmandry's 2021 post "Contexts and Capabilities in Rust". While nobody is actively working on t...
Observations/Thoughts
2023-08-09
~9 min read
blog.yoshuawuyts.com
Totality— 2023-07-20 total functions functions which cannot panic functions which guarantee termination const functions evolving totality conclusion Recently Eric and I have been chatting with Daan Leijen, of Koka fame, discussing among oth...
Observations/Thoughts
2023-07-26
~13 min read
blog.yoshuawuyts.com
fuzzing vs property testing structured inputs heckcheck: property testing using arbitrary automated testing strategies conclusion It's been over three years since Fitzgen published: "Announcing Better Support for Fuzzing with Structured Inp...
Observations/Thoughts
2023-07-12
~9 min read
blog.yoshuawuyts.com
what is structured concurrency? unstructured concurrency: an example structured concurrency: an example what's the worst that can happen? applying structured concurrency to your programs pattern: managed background tasks guaranteeing struct...
Observations/Thoughts
2023-07-05
~15 min read
blog.yoshuawuyts.com
What is WASI?— 2023-06-02 introduction what is webassembly? bytecode, webassembly, and the jvm what are webassembly components? what is wasi? categorizing webassembly iterating on wasi the future of wasi conclusion appendix a: terminology c...
Rust Walkthroughs
2023-06-07
~12 min read
blog.yoshuawuyts.com
Pattern Extensions— 2023-05-26 shapes of types pattern initializers pattern matching pattern types the "is" keyword on product patterns on string patterns conclusion Microsoft Build is happening this week, and with it come new announcements...
Observations/Thoughts
2023-05-31
~12 min read
blog.yoshuawuyts.com
Linearity and Control— 2023-03-23 introduction what are linear types? create and consume linear types linear functions linear contexts linear methods linear drop control control points liveness abort points async and linearity cycles and sa...
Observations/Thoughts
2023-03-29
~33 min read
blog.yoshuawuyts.com
Linear Types One-Pager— 2023-03-28 prior reading what are linear types? a minimal implementation interactions with control flow drawbacks and challenges updates This post represents an overview of an MVP "linear types" design which we could...
Rust Walkthroughs
2023-03-29
~5 min read
blog.yoshuawuyts.com
a taste of html type-safe html type-safe semantic represenation embracing compilation conclusion If you've been around an industry for long enough you end up with Opinions™ about things. Here's one of mine: I think one of the biggest missin...
Observations/Thoughts
2023-02-08
~10 min read
blog.yoshuawuyts.com
Capability-Safety I: Prelude— 2023-01-24 introduction capability-safety the plan Introduction In 2021 Tmandry published the post: "Contexts and Capabilities". In it they present the idea of with-clauses, providing a means of passing types s...
Observations/Thoughts
2023-01-25
~3 min read
blog.yoshuawuyts.com
what is ensure? pairing errors with macros new keywords stdlib conclusion When I write custom errors in a project, I also like to write a few small error macros to accompany them. In my opinion this can make error handling just a little nic...
Rust Walkthroughs
2023-01-25
~4 min read
blog.yoshuawuyts.com
introduction integration done right debuggers today towards a coherent experience conclusion Introduction 40% of Rust Developers believe Rust's debugging experience could use improvement. And that's not surprising: when we write code we mak...
Observations/Thoughts
2023-01-18
~6 min read
blog.yoshuawuyts.com
setting the stage where type states run into trouble doing better with enums embedding in structs enum method unification enums as type params enum variant tracking narrowing of state modifications language feature overview conclusion I've...
Observations/Thoughts
2023-01-04
~14 min read