Tweets
- Tweets, current page.
- Tweets & replies
- Media
You blocked @lewissbaker
Are you sure you want to view these Tweets? Viewing Tweets won't unblock @lewissbaker
-
Lewis Baker Retweeted
A Universal I/O Abstraction for C++ New blog post about executors, asynchronous I/O, io_uring, coroutines and more !
https://cor3ntin.github.io/posts/iouring/
pic.twitter.com/orSvys0cdo
Thanks. Twitter will use this to make your timeline better. UndoUndo -
Lewis Baker Retweeted
This paper by
@ned14 should go a long way toward answering the question: Is the sender/receiver pattern from p0443 fast? Answer: Yes, definitely. http://wg21.link/p2052 Many thanks to Niall for demonstrating how to max out an OS's low-level IO with sender/receiver.#cppThanks. Twitter will use this to make your timeline better. UndoUndo -
Lewis Baker Retweeted
New Blog Post A Universal Async Abstraction for C++ https://cor3ntin.github.io/posts/executors/ …
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo -
Lewis Baker Retweeted
Here are a couple of papers aiming to improve customization points in C++ https://wg21.link/p1292r0 -
@CppSage https://wg21.link/p1895r0 -@lewissbaker@ericniebler@kirkshoop (also https://wg21.link/p1665r0 ) Ship it. Ship _something_ . The current state of affair is unwieldy
Thanks. Twitter will use this to make your timeline better. UndoUndo -
Lewis Baker Retweeted
Among the best and most enlightening presentations I've ever seen. Anyone interested in asynchronous programming should give this a watch. https://www.youtube.com/watch?v=tF-Nz4aRWAM … Great work
@ericniebler and@TheWholeDavid!Thanks. Twitter will use this to make your timeline better. UndoUndo -
Great talk by
@ericniebler and@TheWholeDavid on “A Unifying Abstraction for Async in C++”. https://youtu.be/tF-Nz4aRWAM Explains why eager futures are slow and why using lazy futures can be more efficient. Also one of the clearest explainations of concurrency vs parallelism.Thanks. Twitter will use this to make your timeline better. UndoUndo -
Lewis Baker Retweeted
CppCon 2019: Adi Shavit “Generators, Coroutines and Other Brain Unrolling Sweetness” https://www.youtube.com/watch?v=qYHDERleSL8 …
#CppCon#cpp#cplusplusThanks. Twitter will use this to make your timeline better. UndoUndo -
Treating an executor transition as just another async operation allows us to compose executor transitions with other async operations in a generic way. We can use the same tools available for working with any async operations. We don’t need to treat executors differently.
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo -
In some sense, any abstraction over a queue of items is a “kind” of executor. e.g. An async_mutex holds a queue of continuations waiting to acquire the lock. Its “schedule” operation happens to be named m.lock_async() and the next item is dequeued when someone calls m.unlock().
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo -
Executors can be thought of as a queue. They provide an async operation, “schedule”, that enqueues an item when launched. The “schedule” operation completes when some thread dequeues the item and calls the operation’s continuation, which is now running on the executor’s thread.
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo -
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Lewis Baker Retweeted
Third and final talk is: Eric Niebler (
@ericniebler) - A Unifying Abstraction for Async in C++ (June 11th 18:40 CEST)https://www.youtube.com/watch?v=KJIluFH011k …Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo -
Lewis Baker Retweeted
Next week I'm organizing next
@avast_cppmeetup in Prague! This time with@blelbach and@ericniebler! We will talk about modules and async. The event will be streamed (with links provided on the meetup twitter page soon). If you are in the area, visit us!https://www.meetup.com/avast-prague-cpp/events/259923465/ …Thanks. Twitter will use this to make your timeline better. UndoUndo -
Hot Take: co_await == (call/cc) An awaitable object is like a function that is invoked with the continuation of the call expression. The coroutine_handle is like a callback that when invoked resumes the coroutine using the callback argument as the result of co_await expression.
Thanks. Twitter will use this to make your timeline better. UndoUndo -
Can’t wait to see what you come up with
@modocache! https://twitter.com/modocache/status/1110382178402291712 …This Tweet is unavailable.Thanks. Twitter will use this to make your timeline better. UndoUndo -
Lewis Baker Retweeted
Join us live, tomorrow, at 9pm GMT/ 2pm PDT, as we chat with
@gornishanov about Coroutines, as has just been merged into the C++20 working draft. http://cpp.chat/liveThanks. Twitter will use this to make your timeline better. UndoUndo -
From the C++ WD [except.ctor]: > ... If an exception is thrown during the destruction of temporaries or local variables for a return statement, the destructor for the returned object (if any) is also invoked. ...
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo -
For some context - I was wondering what the behaviour should be if an exception is thrown during destruction/cleanup of local state in a coroutine after a co_return. I thought it should be consistent with normal functions. Now I'm not so sure...
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo -
MSVC calls the destructor for the return-value in the first case, but not in the second. Is this a bug in three major compilers or am I just entering UB territory by throwing from a destructor?
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo -
What should happen in
#cpp if an exception is thrown from a local variable destructor called after executing a return statement? What if the exception is caught and a new value returned? GCC/Clang doesn't destruct first return-value in both cases:https://wandbox.org/permlink/EYaWoDGVeYPvWf3H …Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.