Author of Asynchronous Programming in Rust

Joined February 2012
12 Photos and videos
I found this great post porting the stackful coroutine example in chapter 5 of my book to Aarch64 while explaining some fundamental differences between x86_64 and ARM64. It's definitely worth a read if you're into this kind of stuff: monoid.github.io/posts/arm-c…
1
24
1,386
Carl Fredrik Samson retweeted
23 Feb 2025
They rewrote part of Amazon Prime Video in Rust and it crashed 10x less often, frame time decreased by 1/3, and memory consumption decreased 10 MB
7
21
303
19,667
My book, Asynchronous Programming in Rust, is now on sale for just $9.99 if you buy it directly from the publisher! If you’ve been wanting to learn Asynchronous Programming from first principles, or have a colleague that you want to give a gift that really shows you care about them, this is a perfect opportunity. Take a look here: packtpub.com/en-us/product/a… #TechDeals #PacktSale #Rust

1
11
42
3,282
Carl Fredrik Samson retweeted
21 Nov 2024
Just finished “Asynchronous Programming in Rust” by @cf_samson. Wow. This book cleared up so many questions I had around green threads and async/await. I’d recommend this book for general insights into async programming even if Rust isn’t your language of choice.
1
2
10
692
Carl Fredrik Samson retweeted
15 Oct 2024
Excited to share Google's memory safety strategy! We're working to build safer software by migrating to memory-safe languages like Rust as well as hardening our existing C : security.googleblog.com/2024…. We'll be sharing more details in upcoming posts.
2
71
231
63,123
Carl Fredrik Samson retweeted
This must be tweeted every Halloween. I don’t make the rules
165
9,822
70,067
3,704,070
Carl Fredrik Samson retweeted
Admittedly, I barely know anything about (space) flight and rockets, so this might be common knowledge, but control software having to account for fuel sloshing around is impressive. news.ycombinator.com/item?id…
9
22
437
73,386
If you’re interested in async Rust and runtimes, take a look at this 👇. I really like the amount of references to interesting talks and articles provided throughout. Great writeup @redixhumayun 👍
Wrote a final piece in this series around building a single threaded async runtime (redixhumayun.github.io/async…) I've built up a small repo along the way that involves building small pieces of an async runtime for anyone interested (github.com/redixhumayun/asyn…) :)
1
3
9
925
Carl Fredrik Samson retweeted
Wrote a final piece in this series around building a single threaded async runtime (redixhumayun.github.io/async…) I've built up a small repo along the way that involves building small pieces of an async runtime for anyone interested (github.com/redixhumayun/asyn…) :)
My journey into understanding async runtime internals continues. This time, wrote a follow up piece around building an event loop with async i/o involved for a basic web server redixhumayun.github.io/async…
15
152
19,606
Carl Fredrik Samson retweeted
2 Oct 2024
🦀🪟 Really exciting to see that Microsoft is not only shipping Rust in the kernel, but also considers their use of Rust a major security feature worthy of being one of the highlights in their update announcement. ✨
7
69
615
38,242
Thanks for posting @abeeujah hackmd.io/@Abeeujah/By3cDUXA… When I first wrote the 4/5 gitbooks many years ago that ultimately formed the basis of my book about asynchronous programming in Rust, my main motivation was to make the journey easier for anyone wanting to learn asynchronous programming from the bottom up. It’s always amazing to learn firsthand that it’s valuable for others, just as I hoped it would be.
1
2
10
445
Carl Fredrik Samson retweeted
26 Sep 2024
Just finished chapter 4 on asynchronous programming in Rust. Learned a ton about mio, epoll, syscalls, and Event queues, more on these here hackmd.io/@Abeeujah/By3cDUXA… . Feeling more confident in my understanding of low-level I/O! #rustlang #asynchronousprogramming #networking
1
2
11
311
Carl Fredrik Samson retweeted
25 Sep 2024
Building scalable and efficient systems leveraging Rust's fearless concurrency 🦀 Thanks to @cf_samson awesome book, I've got a better grasp of interrupts, scheduling, threads, coroutines, and more. #RustLang #AsyncProgramming #Concurrency #TechGrowth #LearningJourney
2
9
238
Listening to the inspiring story of @tnachen on the @corecursive podcast, made me think about how his story would have been virtually impossible in Norway today. Norwegian citizens pay roughly 1 % of their net worth in taxes (net worth above a certain threshold that is). When you start something, or invest in something, that gets an increasingly high valuation, but that valuation is based on a potential cash profit long in the future, you could end up ruined if that cash out never comes (due to taxes already paid annually on the valuation each year since you don’t get them back), or if you can’t find a way to get a loan based on your stocks to pay your taxes as the company grows. People still take that added risk, but it’s an added risk to an already very risky business of starting a new business. When I studied business 6/7 startups failed for some reason, and I don’t think that number is that different today.
1
2
242
It's not often I laugh to the point of almost crying when watching something alone on my laptop, but the videos from Space Ice just cracks me up every time, and this must the best one yet: youtu.be/q7-Xpa4f55Y?si=0LmR…

1
149
I just discovered this podcast and I love format and the type of topics covered so far: sdr-podcast.com. I have no idea how I’ve missed it for so long! Great work @fasterthanlime and @bitshiftmask!
2
3
12
2,029
Carl Fredrik Samson retweeted
Replying to @dlberes
Wait how did you get the aspect ratio to stay the same?
1
1
4
7,941