Carl Fredrik Samson Profile
Carl Fredrik Samson

@cf_samson

Followers
343
Following
150
Media
12
Statuses
125

Author of Asynchronous Programming in Rust

Joined February 2012
Don't wanna be here? Send us removal request.
@cf_samson
Carl Fredrik Samson
7 months
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
The amazing book Asynchronous Programming in Rust by Carl Fredrik Samson has a chapter on implementing stackful coroutines (fibers) in Rust for x86_64 architecture, both Linux and MacOS. But unlike...
0
1
24
@Sauers_
Sauers
10 months
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
310
@cf_samson
Carl Fredrik Samson
1 year
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
1
11
42
@eliloz_
cerca7rova
1 year
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
@ayper
Alex Rebert
1 year
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++: https://t.co/UdmcghPhbO. We'll be sharing more details in upcoming posts.
Tweet card summary image
security.googleblog.com
Posted by Alex Rebert, Security Foundations, and Chandler Carruth, Jen Engel, Andy Qin, Core Developers Error-prone interactions between ...
3
72
236
@LongFormMath
Jay Cummings
1 year
This must be tweeted every Halloween. I don’t make the rules
165
10K
71K
@thorstenball
Thorsten Ball
1 year
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. https://t.co/cXoICdRMwn
9
21
448
@cf_samson
Carl Fredrik Samson
1 year
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 👍
@redixhumayun
Zaid Humayun
1 year
Wrote a final piece in this series around building a single threaded async runtime ( https://t.co/3OjSb4K6I2) I've built up a small repo along the way that involves building small pieces of an async runtime for anyone interested ( https://t.co/5urOKUJZCf) :)
1
3
9
@redixhumayun
Zaid Humayun
1 year
Wrote a final piece in this series around building a single threaded async runtime ( https://t.co/3OjSb4K6I2) I've built up a small repo along the way that involves building small pieces of an async runtime for anyone interested ( https://t.co/5urOKUJZCf) :)
github.com
Contribute to redixhumayun/async-rust development by creating an account on GitHub.
@redixhumayun
Zaid Humayun
1 year
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 https://t.co/pQ7RHvBjVU
0
16
154
@m_ou_se
Mara
1 year
🦀🪟 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
70
632
@cf_samson
Carl Fredrik Samson
1 year
Thanks for posting @abeeujah https://t.co/l31WJ09RK1 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
Tweet card summary image
hackmd.io
## Asynchronous Programming in Rust! Just wrapped up Chapter 4 of Asynchronous Programming in Rust
1
2
10
@abeeujah
Abeeujah
1 year
Just finished chapter 4 on asynchronous programming in Rust. Learned a ton about mio, epoll, syscalls, and Event queues, more on these here https://t.co/bq3feWzQoz . Feeling more confident in my understanding of low-level I/O! #rustlang #asynchronousprogramming #networking
1
2
11
@abeeujah
Abeeujah
1 year
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
0
2
9
@cf_samson
Carl Fredrik Samson
1 year
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
1
0
2
@cf_samson
Carl Fredrik Samson
1 year
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:
0
0
1
@cf_samson
Carl Fredrik Samson
1 year
I just discovered this podcast and I love format and the type of topics covered so far: https://t.co/04uMCagGaG. I have no idea how I’ve missed it for so long! Great work @fasterthanlime and @bitshiftmask!
Tweet card summary image
sdr-podcast.com
Your weekly treat: Rust, embedded, web servers, and more.
2
3
12
@timClicks
Tim McNamara
1 year
@dlberes Wait how did you get the aspect ratio to stay the same?
1
1
4