Throttles for Python coroutines.
Author: Konstantin Togoi
📖Documentation
📦Download
🏠Homepage
Throttles for Python coroutines.
Author: Konstantin Togoi
📖Documentation
📦Download
🏠Homepage
💬 Comments highlight minor clarifications on coroutines and monitors but revel in coding humor. 🤓
https://news.ycombinator.com/item?id=45808899
💬 Comments highlight minor clarifications on coroutines and monitors but revel in coding humor. 🤓
https://news.ycombinator.com/item?id=45808899
They can be paused and unpaused (making them great for actual videogame scripting, like you'd script a scene in a movie), they work a lot like preemptive multitasking (which is a cool model imo), and they […]
They can be paused and unpaused (making them great for actual videogame scripting, like you'd script a scene in a movie), they work a lot like preemptive multitasking (which is a cool model imo), and they […]
🚀 Discover this insightful post from Hacker News 📖 📂 Category: 📌 Key idea: My tutorial and take on C++20 coroutines Over the last 25 years, I’ve written a lot of event-driven code in C++. A typical example of event-driven code is registering a callback that…
🚀 Discover this insightful post from Hacker News 📖 📂 Category: 📌 Key idea: My tutorial and take on C++20 coroutines Over the last 25 years, I’ve written a lot of event-driven code in C++. A typical example of event-driven code is registering a callback that…
My little `f(x) { prefetch(x); yield; compute(x); }` benchmark is ~8ns per call with explicit prefetching in a loop, and ~9ns per call when using coroutine abstractions :)
(I first spent a full day struggling with async, which I only got down to 14ns with much pain.)
My little `f(x) { prefetch(x); yield; compute(x); }` benchmark is ~8ns per call with explicit prefetching in a loop, and ~9ns per call when using coroutine abstractions :)
(I first spent a full day struggling with async, which I only got down to 14ns with much pain.)
https://www.scs.stanford.edu/~dm/blog/c++-coroutines.html
https://www.scs.stanford.edu/~dm/blog/c++-coroutines.html
L: https://www.scs.stanford.edu/~dm/blog/c++-coroutines.html
C: https://news.ycombinator.com/item?id=45842815
posted on 2025.11.06 at 21:03:57 (c=0, p=4)
L: https://www.scs.stanford.edu/~dm/blog/c++-coroutines.html
C: https://news.ycombinator.com/item?id=45842815
posted on 2025.11.06 at 21:03:57 (c=0, p=4)
C++ Coroutines for Qt
🔗 https://qcoro.dev
#homebrew #newpkg #macos #linux #formula
C++ Coroutines for Qt
🔗 https://qcoro.dev
#homebrew #newpkg #macos #linux #formula
I've worked for years to write better coroutines tests (see here! www.youtube.com/watch?v=uk8k...), and it is just so much less work to write tests that I think suck.
I've worked for years to write better coroutines tests (see here! www.youtube.com/watch?v=uk8k...), and it is just so much less work to write tests that I think suck.
Question: Anyone have any experience using them in their games?
#gamedev #indiedev #solodev
The ticking system of minecraft really makes it suitable to what i already have now
The ticking system of minecraft really makes it suitable to what i already have now
**Null Safety**
• Use sealed over nullable
• Prevents crashes & when
**Structured Concurrency**
• viewModelScope > GlobalScope
• Prevents memory leaks
**Extension Functions**
• Add functionality without inherit
• Idiomatic code
#Kotlin #AndroidDev #NullSafety #Coroutines #DevTips
**Null Safety**
• Use sealed over nullable
• Prevents crashes & when
**Structured Concurrency**
• viewModelScope > GlobalScope
• Prevents memory leaks
**Extension Functions**
• Add functionality without inherit
• Idiomatic code
#Kotlin #AndroidDev #NullSafety #Coroutines #DevTips
Kotlin coroutines adapter for the Neo4j Java driver (async)
https://github.com/xemantic/xemantic-neo4j-kotlin-driver/releases/tag/v0.2.2
Kotlin coroutines adapter for the Neo4j Java driver (async)
https://github.com/xemantic/xemantic-neo4j-kotlin-driver/releases/tag/v0.2.2