Author of Asynchronous Programming in Rust

Joined February 2012
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
Carl Fredrik Samson retweeted
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
22
2
310
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
Carl Fredrik Samson retweeted
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
Carl Fredrik Samson retweeted
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.
3
72
2
237
Carl Fredrik Samson retweeted
This must be tweeted every Halloween. I don’t make the rules
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
6
452
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
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…
16
3
155
Carl Fredrik Samson retweeted
🦀🪟 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. ✨
8
71
7
631
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
1
10
Carl Fredrik Samson retweeted
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
Carl Fredrik Samson retweeted
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
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
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
Carl Fredrik Samson retweeted
Replying to @dlberes
Wait how did you get the aspect ratio to stay the same?
1
1
4