Filter
Exclude
Time range
-
Near
#LSPPDay14 Dived deep into async concurrency, coroutine scheduling, asyncio.gather mechanics and aiohttp connection pooling. Understood the event loop fundamentals combined with ingestion code. @lftechnology #60DaysOfLearning2026 #LearningWithLeapfrog
5
自分の中で理由は完全に説明できないけど、たとえばkoinはJavaから使ってもJava側が無茶苦茶なコードにならない(インターフェースを先に書いておけば、koinはSupplier以上以下でもないから)混ぜてもいいけど、coroutineとかはヤバそうなのでRxJavaみたいなJavaで動く非同期に合わせたほうがいい?
62
この世のすべてが憎いちゃんの栽培は法律で禁止されていまlive2d 依頼受付中 retweeted
Live2D SDK for Unityでインタラクティブなゲームを作ろうぜのヤツ! とりあえず起動時に待機モーションをループで流すのと秩父を押したらモーションを再生してモーションを再生し終わったら Coroutine で待機モーションに戻す所まで実装した!
1
3
17
1,712
P4003 by @FalcoVinnie, Mungo Gill, and Steve Gerbino proposes IoAwaitable: a minimal coroutine execution protocol Implemented on three platforms. Designed as a companion to std::execution, not a replacement
1
2
57
When you write co_await f() in C , three questions need answers: Which thread resumes you? Should you stop? Where does the frame get allocated? Right now every coroutine library answers these differently. There's a proposal to unify them
1
6
256
Replying to @_yuchanns_
lua 做 DSL 非常灵活,metatable 和 coroutine 都是神器。
1
1
151
#TrueAsync is an experimental library bringing true asynchronous programming to #PHP — coroutines, async/await, and non-blocking I/O built into the language core. Write high-performance concurrent applications with clean, readable code and minimal changes. #opensource #devtools 🌀 Lightweight coroutines for efficient concurrent execution. No colored async functions — just call spawn() and go. 🔌 Non-blocking I/O for regular #PHP functions. fread, fwrite, file_get_contents, ob_start, curl, #MySQL, and #PostgreSQL now work asynchronously without extra effort. 🖥️ Built-in TrueAsync Server: a native HTTP/1.1, HTTP/2, and HTTP/3 web server written in C, running directly inside the #PHP process. 🛑 Cooperative cancellation with a simple, flexible API for coroutine cancellation via Scope::cancel(). 📦 Structured concurrency — control coroutine lifetime with the Scope sandbox and manage groups of coroutines via TaskGroup. 🗄️ PDO Pool: connection pooling built right into PDO with automatic connection management for maximum performance. 🔄 Channels & ThreadPool for data exchange between coroutines. Buffered and unbuffered channels for producer/consumer patterns, cross-thread via ThreadChannel, and parallel CPU tasks via Thread and ThreadPool. 🎯 Futures deliver deferred results for async computations, with composition via await_all and await_first. Context associates data with a coroutine for easy adaptation of global-variable code. 🗓️ Roadmap: Complete Async API (v0.6) shipped March 2026, with Threads & Stabilization in Summer 2026, Framework Adapters in Q3 2026, and a stable v1.0 release targeted for November 2026 on PHP 8.6. 🌐 true-async.github.io/en/ If you use #Laravel, check this out: github.com/YanGusik/thrun_la…
2
1
10
541
在这个过程中我了解了下 vue 和 react 的实现原理. 并和铁妹求证了下. 发现两者用 lua 实现都很方便, 一个是基于 proxy 和 observer 实现, 一个可以用 coroutine 实现. 最后我选择了前者, 因为我比较喜欢这种订阅发布的模式
1
2
348
siedlerchr retweeted
When a coroutine is cancelled, it cannot start children or make suspending calls. That means suspending cleanup functions need some special attention. Let me explain.
1
8
32
1,411
Consider the following case. If this coroutine get cancelled during requestDatabaseChanges, then finally block is called, but requestDatabaseCleanup will not work, because it is a suspending function, and suspending functions cannot be executed in cancelled coroutines.
1
6
320
💡How can Spring teams introduce Kotlin into their backend with relatively little friction? For many, trying Kotlin can be done gradually without disrupting your workflow, changing frameworks, rewriting services, or leaving the JVM ecosystem behind. Explore Kotlin with Spring using this official guide: spring.io/guides/tutorials/s… Here's why many teams find it easy to get started: Familiar syntax and object model → faster onboarding Kotlin feels natural to Java developers. Core concepts carry over, so backend engineers can stay productive while learning the language. Seamless interoperability → gradual adoption Kotlin and Java work side by side on the JVM. You can introduce Kotlin into existing Spring services, add new endpoints, or mix both languages within the same backend without disruption. Official Spring support → built for real-world use Spring provides Kotlin-first features such as coroutine-friendly APIs and extensions, making it easier to write concise, readable backend code while staying within the same ecosystem. Incremental adoption → evolve at your own pace Teams often start small, validate the benefits, and expand Kotlin usage over time. No rewrites, no forced migration, just steady evolution of backend systems. Kotlin fits naturally into Java and Spring projects, helping teams improve code clarity and maintainability while continuing to rely on the tools they already trust.
3
8
97
6,252
Paul Snively retweeted
Replying to @dbreunig
convolved context continuation condensation convincingly composes coalgebraic completion coroutine coherence
1
1
4
274