Advertisement · 728 × 90
#
Hashtag
#Coroutines
Advertisement · 728 × 90
Preview
Join my C++ coroutines self-study course

C++ coroutines are a game-changer for asynchronous programming. But trying to grasp them can be pretty tough. Join my self-study course and finally make asynchronous programming work for you!

https://fertig.to/slcoro

#cpp20 #programming #coroutines #cpp

2 1 0 0
Post image

Как автор книг по Kotlin проверял мой проект: разбор ошибок в Coroutines и архитектуре Проведя аудит GitHub, я обнаружи...

#Android #Kotlin #Coroutines #Jetpack #Compose #AI #Gemini #AI #Structured #Concurrency #Проектирование

Origin | Interest | Match

0 0 0 0
Post image

IntelliJ IDEA’s New Kotlin Coroutine Inspections, Explained This article was written by an external contributor. Every technology has its misuses, and different ecosystems use different approache...

#kotlin #coroutines #inspections

Origin | Interest | Match

0 0 0 0
Preview
Kotlin Coroutines: From Callback Hell to Clean Async Code I spent years writing callback-based Android code. Nested callbacks inside callbacks, trying to chain...

Kotlin Coroutines: From Callback Hell to Clean Async Code I spent years writing callback-based Android code. Nested callbacks inside callbacks, trying to chain API calls, handling errors at every l...

#kotlin #android #androiddev #coroutines

Origin | Interest | Match

2 0 0 0
Intro to Flow: You Can't Do THAT with Collections...
Intro to Flow: You Can't Do THAT with Collections... Even though Kotlin flows have familiar operators from the Collection and Sequence APIs, they run on coroutines, so they can do things that collections and sequences just can't do. And that means they have some unique operators that you won't find on those other APIs. In this video we'll explore several of them. 🎉 Thanks so much to RevenueCat for sponsoring this video! Learn more here: https://www.revenuecat.com/ 🏆 Vote in the Golden Kodee Community Awards: https://golden-kodee.awardsplatform.com/auth/login/ElzeDyJV 📚 Chapters 00:00 Introduction 00:36 transform() 02:53 Event-Based Operators 04:55 sample() 06:18 Wrap-up and What's Next

Intro to Flow: You Can't Do THAT with Collections…

#collections #coroutines #java #kotlin

youtube.com/watch?v=SfS...

2 1 0 0
Preview
Thread, Handler, Coroutine. Do You Actually Know What Runs Where — and Why It Matters? Android concurrency interviews don’t just ask what a Coroutine is. They ask why the Main thread exists, what ANR actually means at the OS…

I just published Thread, Handler, Coroutine.
Do You Actually Know What Runs Where — and Why It Matters? medium.com/p/thread-han...
#Android #Kotlin #Coroutines #AndroidDev #Concurrency #Handler #Looper #AndroidInterview #WorkManager #Dispatchers #ANR #ViewModel #TechInterview

1 0 0 0
Preview
You Think You Know Kotlin Flow. Here’s What the Interviewer Is Actually Testing. Cold flows, hot flows, StateFlow, SharedFlow, lifecycle-safe collection, backpressure, and the operator questions that trip up even…

I just published You Think You Know Kotlin Flow.
Here’s What the Interviewer Is Actually Testing. medium.com/p/you-think-...
#Android #KotlinFlow #Kotlin #Coroutines #StateFlow #SharedFlow #ReactiveProgramming #AndroidInterview #Jetpack #ViewModel #AndroidDev #TechInterview #MobileDevelopment

1 0 0 0
Preview
You’re Using ViewModel. But Can You Explain Why?Android State Management, Unmasked. The real Q&A, Kotlin code, and architectural thinking that hiring managers at top Android teams want to hear — all in one essential read.

I just published You’re Using ViewModel. But Can You Explain Why?Android State Management, Unmasked. medium.com/p/youre-usin...
#AndroidDevelopment #Kotlin #StateManagement #JetpackCompose #ViewModel #MVI #MVVM #StateFlow #AndroidArchitecture #AndroidInterview #Coroutines #MobileEngineering

0 0 0 0
Preview
Coroutinen in .NET Coroutinen sind ein leistungsstarkes Konzept in .NET, das Entwickler:innen hilft, asynchrone und nebenläufige Prozesse effizient zu steuern. Sie ermöglichen eine effiziente Handhabung komplexer Abläufe und tragen so zur Optimierung der Leistung und Stabilität von Anwendungen bei.

⏳ Asynchroner Code – aber bitte ohne Thread-Chaos?

In seinem Artikel zeigt Diego Correa, zeigt Diego Correa, wie Du mit yield & IAsyncEnumerable performante, nicht-blockierende Abläufe umsetzt.

📖 Tiefer einsteigen:  https://tinyurl.com/3s5xdv85

#dotnet #CSharp #Coroutines #bastacon

0 0 0 0
Preview
They Asked Me “How Do You Structure Your Data Layer?” The Repository Pattern in Kotlin: Coroutines, Flow, Room, Retrofit — and the interview answers that prove you think in systems, not just…

I just published They Asked Me ‘How Do You Structure Your Data Layer?’ medium.com/p/they-asked...
#AndroidDevelopment #Kotlin #CleanArchitecture #RepositoryPattern #AndroidInterview #MVVM #JetpackCompose #Coroutines #KotlinFlow #Room #Retrofit #Hilt #MobileDevelopment #SoftwareArchitecture

1 0 0 0
Preview
C++Online 2026 Session: Coroutines and C++ - Async Without the Pain? C++ Coroutines

C++Online 2026 SESSION SPOTLIGHT: Coroutines and C++ - Async Without the Pain? C++ Coroutines by Tamas Kovacs

Find out more and register your ticket today!

#coding #coroutines #cplusplus #cpp

1 0 0 0
YouTube
YouTube Share your videos with friends, family, and the world

Episode 336 - Interview Kotlin avec Arnaud Giuliani #Kotlin #Android #Coroutines #MobileDevelopment #KotlinMultiplatform #ReactiveProgramming #OpenSource #Backend #DeveloperCommunity sur www.youtube.com/watch?v=07TM... et en podcast lescastcodeurs.com/2026/02/06/l...

4 2 0 0
Preview
Join my C++ coroutines self-study course

Why struggle with complex asynchronous code when coroutines can simplify it all? My self-study course breaks down everything you need to know—in just three hours of video content. Learn now, apply tomorrow!

https://fertig.to/slcoro

#cpp20 #programming #coroutines #cpp

1 0 0 0
Original post on fantastic.earth

I wrote the fifth part of my #blog series “Implementing Co, a small programming language with #coroutines”. This time, we add support for sleep in #Co for time-based executions. https://abhinavsarkar.net/posts/implementing-co-5/

#Programming #PLT #ProgrammingLanguages #Compilers #Haskell […]

2 4 0 1

struct EchoServer {
  Task<void> handler(IO &io, tcp::ClientInfo info);
  Task<void> run(IO &io, int port);
};

// the echo server handler just waits for incoming messages and echos them back
// out
Task<void> EchoServer::handler(IO &io, tcp::ClientInfo info) {
  Defer defer([&info]() { close(info.clientfd); });

  char buf[255];
  memset(buf, 0, 254);

  while (true) {
    auto len = co_await io.read(info.clientfd, buf, 128);
    if (len <= 0) {
      co_return;
    }
    co_await io.write(info.clientfd, buf, len);
  }
}

// the main server loop that waits for connections coming out of
// the TCP server generator.
Task<void> EchoServer::run(IO &io, int port) {
  tcp::Server server;
  std::list<Task<void>> tasks;

  auto dead_task_cleanup = [&tasks]() {
    // TODO: don't iterate the whole list, just sections of it.
    auto count = std::erase_if(tasks, [](auto &t) { return t.done(); });
    if (count > 0) {
      std::print("cleaned up {} tasks\n", count);
    }
  };

  co_await server.listen4(io, "127.0.0.1", port);

  // run server, which will generate ClientInfo structs
  Generator<tcp::ClientInfo> gen = server.run(io);

  // adapt the uring io.sleep to task<bool>. annoying but required.
  // for using io.sleep with co_await make_tuple
  auto sleeper = [&io]() -> Task<bool> {
    co_await io.sleep(4, 0);
    co_return true;
  };

  while (true) {
    //
    // adapt a co_await make_tuple (which will run all) to a
    // co_await any_of{make_tuple} which will return on the first.
    //
    auto [_, timeout] =
        co_await (coro::any_of{std::make_tuple(gen.next(), sleeper())});

    if (timeout.has_value() && timeout.value() == true) {
      dead_task_cleanup();
    } else {
      tasks.push_back(handler(io, *gen));
    }
  }
}

struct EchoServer { Task<void> handler(IO &io, tcp::ClientInfo info); Task<void> run(IO &io, int port); }; // the echo server handler just waits for incoming messages and echos them back // out Task<void> EchoServer::handler(IO &io, tcp::ClientInfo info) { Defer defer([&info]() { close(info.clientfd); }); char buf[255]; memset(buf, 0, 254); while (true) { auto len = co_await io.read(info.clientfd, buf, 128); if (len <= 0) { co_return; } co_await io.write(info.clientfd, buf, len); } } // the main server loop that waits for connections coming out of // the TCP server generator. Task<void> EchoServer::run(IO &io, int port) { tcp::Server server; std::list<Task<void>> tasks; auto dead_task_cleanup = [&tasks]() { // TODO: don't iterate the whole list, just sections of it. auto count = std::erase_if(tasks, [](auto &t) { return t.done(); }); if (count > 0) { std::print("cleaned up {} tasks\n", count); } }; co_await server.listen4(io, "127.0.0.1", port); // run server, which will generate ClientInfo structs Generator<tcp::ClientInfo> gen = server.run(io); // adapt the uring io.sleep to task<bool>. annoying but required. // for using io.sleep with co_await make_tuple auto sleeper = [&io]() -> Task<bool> { co_await io.sleep(4, 0); co_return true; }; while (true) { // // adapt a co_await make_tuple (which will run all) to a // co_await any_of{make_tuple} which will return on the first. // auto [_, timeout] = co_await (coro::any_of{std::make_tuple(gen.next(), sleeper())}); if (timeout.has_value() && timeout.value() == true) { dead_task_cleanup(); } else { tasks.push_back(handler(io, *gen)); } } }

this works better than i could have thought. #c++ #coroutines #cpp

any coroutine, K, can be given timeout by doing this:

```
co_await any_of{make_tuple(K(), timeout_co())}
```

The existing support code that allows `co_await make_tuple(...)` was used, just count is 1 instead of tuple_size_v

1 0 0 1
Preview
KRepo: Spring Data для Ktor — без Spring и без боли Представь: ты пишешь микросервис на Ktor, всё летает на корутинах, код минималистичный и всё прекрасно... До того момента, когда ты касаешься базы данных. Все мечты разбиваются об Spring Data и Koin,...

KRepo: Spring Data для Ktor — без Spring и без боли KRepo: Никаких имплементаций или инъекций. Под капотом — динамический пр...

#kotlin #kotlin #coroutines #ktor #spring #data #jdbc

Origin | Interest | Match

0 0 0 0
Post image

🚀 Built payment workflow using Kotlin's structured concurrency.

Three checks in parallel: validation, fraud, inventory. ✅

All succeed → charge on Dispatchers.IO
Any fail → cancel safely 🛡️

Clean, fast
Kotlin coroutines FTW ⚡️

#Kotlin #Coroutines #AndroidDev

0 0 0 0

🚀 Kotlin Tips ✨

**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

1 0 0 0
Preview
Join my C++ coroutines self-study course

Ever feel stuck when it comes to asynchronous programming in C++? Coroutines simplify your code and make it more readable—but only if you know how to use them. Get yourself the Howto.

https://fertig.to/slcoro

#cpp20 #programming #coroutines #cpp

3 1 0 0
Post image

Построение KMP SDK: базовая архитектура для общей библиотеки В прошлой статье было много текста о том, почему...

#kotlin #kotlin #multiplatform #kotlin #coroutines #android #ios #sdk #мобильная #разработка #разработка

Origin | Interest | Match

0 0 0 0
Preview
The Golden Rule of Coroutine Exceptions At its heart, exception handling in coroutines is all about structured concurrency. Think of it like a family tree. If a child coroutine fails with an exception, it tells its parent. The parent then c...

Exception handling in #coroutines relies on structured concurrency.

www.droidcon.com/2025/09/29/t...

3 0 0 1
Post image

Sam Cooper helps you choose the right coroutine builder for the job. Not just launch blocks, but structured, predictable tools.
#kotlin #coroutines #bestpractices
pragprog.com/titles/...

1 0 0 0
Preview
Join my C++ coroutines self-study course

No live sessions to miss, no deadlines to stress over. Learn coroutines at your pace with lifetime access to my self-study course. Let’s simplify async programming!

https://fertig.to/slcoro

#cpp20 #programming #coroutines #cpp

1 0 0 0
Post image

Finished the Coroutines Codelabs🎊 and I'm a bit puzzled. Why is LaunchedEffect placed outside the composable it affects? Does this have to do with the composable's lifecycle? I'm curious to know the reasoning behind it!

#AndroidDev #Kotlin #JetpackCompose #Coroutines

1 0 0 0
Post image

📢 [Last call for Android enthusiasts] 📢

TONIGHT at hubraum, meet with fellow #AndroidDev and talk about #Kotlin #Coroutines, #JetpackCompose, or what Google just announced 🤔🤔🤔

www.meetup.com/berlindroid/...

4 2 0 0
Video

Lately I’ve been diving into handling multiple events at once with coroutines. It was tricky to set it up, but exciting stuff.

After playing Dreamed Away, I’m more motivated than ever to create my own thing! 🎮✨

#GameDev #IndieDev #Coroutines #DreamedAway #Godot

16 4 0 0
Post image

Kotlin для бэкенд разработки: преимущества и примеры Kotlin, современный язык программирования от JetBrains, уже давн...

#kotlin #Backend #Java #JVM #Spring #Null-safety #Data #classes #Coroutines #Migration #Ktor

Origin | Interest | Match

0 0 0 0
Preview
Bad Nesting in Kotlin Coroutines: The Bug That's not a Bug (Until it is) “Wait… why is this coroutine still running after my function ended?” – Me, a few months ago,...

Bad Nesting in Kotlin Coroutines: The Bug That's not a Bug (Until it is) “Wait… why is this coroutine still running after my function ended?” – Me, a few months ago, squinting at logs a...

#kotlin #android #coroutines #programming

Origin | Interest | Match

0 0 0 0
Preview
https://blog.stackademic.com/retrofit-3-0-the-future-of-android-networking-with-migration-guide-25322d75cd64?source=rss----d1baaa8417a4---4 For years, Retrofit 2.x has been the de facto networking library for Android development. But with the rise of Kotlin-first practices…

Exciting news for Android devs! #Retrofit3 is here with a Kotlin-first approach, coroutines, and a sleeker API. Get ready to upgrade and boost your network layers! #AndroidDev #Kotlin #Coroutines blog.stackademic.com/retrofit-3-0-the-future-...

1 0 0 0