#async

JavaScriptBuzzJavaScriptBuzz
2026-02-10

How to Prevent Async Functions From Returning undefined

Missing return resolves to undefined.

youtube.com/watch?v=rNpnpVXSqSE

Marcus Fihlon (McPringle)mcpringle_jugch@videos.ijug.eu
2026-02-10

Async Code Reviews Are Killing Your Company’s Throughput

videos.ijug.eu/w/7jS1UZWqK6Ltw

2026-02-10

Практический подход к миграции большой базы C# кода на async

Итак, Вам не повезло, Вы – техлид (тимлид, главный инженер etc) большого и старого проекта на C#, который был написан в доисторические времена, когда async еще не завезли. Проект старый и большой, но живой и развивается . Может быть даже, что проект использует современный .NET, современную версию C#, но вот незадача – не использует async, а очень бы хотелось. Как осуществить такой рефакторинг и какие трудности ожидают на этом пути?

habr.com/ru/articles/994708/

#async #source_generators

2026-02-09

Wenn du schon eine Weile mit Java arbeitest, bist du sicher über den Begriff `Future` gestolpert. Ein `Future` ist ein Platzhalter für ein Ergebnis, das erst in der Zukunft verfügbar ist - also das Ergebnis einer asynchronen Operation. Doch das klassische `Fu...

magicmarcy.de/completablefutur

#CompletableFuture #asynchrone_Programmierung #async #asynchron #Threads #Hauptthread #Verkettung #kombinieren #exceptionally #Parallelität #reaktiv

2026-02-06

I have to remember that my programming skill isn't regressing because I'm not using async in C++, I'm learning a new language and only starting using async in VB .NET in 2020 when I was using it for almost 8 years. Only been learning and using C++ regularly for a year and a half (I did watch a big tutorial playlist in 2021 and modified a few lines in the wf-shell C++ files to add menu size configuration in January 2022 but that doesn't count much).

#programming #CPlusPlus #VBNet #async

2026-02-04

Actually planned out a state machine with a diagram. It is for button presses on my epub reader. Aside from just handling open/closed it handles debounces, long presses, and multipresses(double click). The state is backed up by Rusts type system so it can never practically be in a bad state. It uses async with timers and interrupts on rising/falling edge of the pins to detect state changes and creates events for notable transitions.

#rust #async

for as much as I complain about async I will still use it.

There are about 10 lines of code where if a state change did happened I would miss it. I could reduce it with my own interrupt handler but mhe.

This cleans up my UI code a bit.

2026-02-02

My #FOSDEM discovery: #ArielOS .
#Rust, both #async and preemptive scheduling, microcontroller-friendly. Based on #embassyrs .
Sounds promising, gonna have to check it out once I'm back home.

ariel-os.org/

musicmatze :rust: :nixos:musicmatze@social.linux.pizza
2026-02-02

Okay, I now have to write a #async #dag data structure, where each node can be loaded, retrieved, added and possibly also removed in an async way.

#rust #rustlang #softwaredevelopment #opensource

2026-02-01
2026-02-01
2026-02-01
2026-01-30

Сегодня я для себя открыл: Project Loom

"Loom" означает "ткацкий станок" - так назывался проект по добавлению асинхронности в джаву. Тяжёлые системные потоки заменили легковесными виртуальными потоками. Потоки и нити в английском называются одинаково - thread - отсюда название. Проект успешно внедрили пару лет назад, и я, к сожалению, это полностью пропустил. Основная причина, конечно - что я в принципе не ожидал от джавы никаких прорывов (и оказался на 100% неправ!) Ну и, как бэкенд-разработчик на питоне, я не очень-то слежу за развитием JVM-языков. Но исправляюсь: Project Loom - это блестящая идея. Учитывая, что его внедрили совместимым образом, и почти не было ломающих изменений. Я считаю, это оптимальная реализация асинхронности для высокоуровневого серверного языка. Уже почти все использующие JVM языки переехали на новую JVM, и, таким образом, на проект Loom: деваться им некуда. Так что, есть надежда, что это изменение откроет новую главу для некоторых из них. Есть также предположение, как оно может повлиять на скриптовые языки, такие как питон. Гипотеза только. Также, вы узнаете, почему Гвидо ван Россум не ошибся, когда добавлял async/await в питон, а Мацумото - создатель Ruby - тоже угадал, когда, наоборот, отказался от async/await.

habr.com/ru/articles/990356/

#async #python #loom #graalpy #jvm

Mahmoud Zaltzalt
2026-01-30

How do you go from plain functions to a distributed conversation? This piece on StateGraphs digs into how that transformation actually works.

Read More: zalt.me/blog/2026/01/stategrap

2026-01-27

Thảo luận về sync, async và event-driven trong yêu cầu AI trong sản xuất thực tế. Làm thế nào để xử lý các cuộc gọi AI dài hạn hoặc phát trực tuyến? #AI #TríTuệNhânTạo #LậpTrình #Async #EventDriven #SảnXuấtThựcTế #MachineLearning #HọcMáy

reddit.com/r/programming/comme

Mahmoud Zaltzalt
2026-01-27

When async clients refuse to hang, everything about reliability changes. If you care about async behavior under failure, this one’s worth a read.

Read More: zalt.me/blog/2026/01/async-cli

Boris Cherny (@bcherny)

Claude Code의 훅(hook) 기능 업데이트: 훅을 비동기 백그라운드로 실행해 Claude Code 실행을 차단하지 않도록 지원함. hook 설정에 async: true만 추가하면 로깅·알림 등 부작용 작업을 본체 실행 속도를 늦추지 않고 처리할 수 있음.

x.com/bcherny/status/201552446

#claude #claudecode #developertools #async

JavaScriptBuzzJavaScriptBuzz
2026-01-25

How to Prevent Promise.all From Hiding Failures

One rejection nukes all results.

youtube.com/watch?v=7Z6b2aQJpZM

Bobulous :rust: :codeberg:bobulous@fosstodon.org
2026-01-24

Out of curiosity, I'd like to see how an async approach would look, because async is reportedly perfect for high-volume network fetches. (I'm more curious about how elegant the code might be, rather than the raw performance.)

But I'm not keen on adding Tokio because it has a dependency tree that looks like an operating system.

Is there another async runtime for Rust that doesn't drag any dependencies with it?

#Rust #RustLang #Tokio #Async

2026-01-23

RE: mastodon.social/@hackeryarn/11

It's become an article of faith that "async must be better" even when processes such as web-apps are not even close to being CPU bound.

These benchmarks of Django and FastAPI in various configurations tell a different story, it's interesting stuff.

As the conclusion says, async comes with a cognitive cost and if it's providing no benefit then it should be left alone.

#python #async #django #fastapi

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst