#await — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #await, aggregated by home.social.
-
Как сломать Swift Concurrency
Нужно выполнять асинхронные операции, поддерживать многозадачность в приложении? Async/await к вашим услугам - просто и приятно. Кооперативный пул эффективно переключает потоки между задачами, а компилятор проверяет типы на потокобезопасность. И даже можно подсоединять старые части кода, написанные ещё на GCD! Вот только приложение на проде почему-то начало виснуть…
https://habr.com/ru/articles/1055810/
#swift #concurrency #async #await #gcd #task #ios #deadlock #threads
-
https://www.evshift.com/473080/how-does-the-jetour-t1-phev-feel-on-the-road-experience-handling-and-surprises-await/ How does the Jetour T1 PHEV feel on the road? Experience, handling, and surprises await. #await #ElectricCars #ElectricVehicles #EV #experience #feel #Handling #Hybrids #JETOUR #phev #PlugInHybrids #Road #surprises
-
Почему миллион корутин на Rust весит меньше, чем сто тысяч на Python
Миллион асинхронных задач на Rust спокойно живёт в нескольких сотнях мегабайт. Сто тысяч корутин на Python нередко упираются в память раньше. Дело не в том, что “Rust быстрый, а Python медленный” - дело в том, ГДЕ физически лежит состояние приостановленной задачи. Разбираю, во что превращается ваш async fn после компиляции: стейт-машина на стеке против объекта в куче. Сравниваю модели Rust (Tokio), Python (asyncio), C# и JavaScript - кто аллоцирует на каждый await, а кто нет, и почему это видно на счётчике RAM при 100k задач. Внутри: что генерирует компилятор, куда уезжает состояние между await, stackful против stackless, и что с этим делать сегодня.
https://habr.com/ru/articles/1046862/
#async #await #корутины #Rust #Tokio #asyncio #конкурентность
-
The German neobank Trade Republic has announced that it will serve as a distribution partner for private investors regarding the planned Initial Public Offering... https://news.osna.fm/?p=49275 | #news #await #billiondollar #details #ipo
-
https://www.evshift.com/459971/epic-journeys-await-%f0%9f%a7%9d%e2%99%82%ef%b8%8f-the-new-bmw-passenger-screen/ Epic journeys await 🧝♂️ | The new #BMW Passenger screen
. #await #bmw #ElectricCars #ElectricVehicles #epic #EV #Journeys #Passenger #screen -
[Перевод] Async/Await в C# это синтаксический сахар для конечного автомата
Перевод статьи, посвящённой устройству конечного автомата асинхронных методов. Разбор основных понятий, декомпилированный код с подробными комментариями, раскрытие секретов магии асинхронности и подробная схема.
https://habr.com/ru/articles/1035442/
#асинхронность #async #await #c# #конечный_автомат #awaiter #c#net #taskbuilder #statemachine
-
The U.S. stock markets ended Wednesday with mixed results. The Dow Jones Industrial Average closed at 49,693 points, marking a 0.1 percent decrease compared to... https://news.osna.fm/?p=45886 | #news #await #economy #global #investors
-
🥳🎉 Oh wow, #ClojureScript finally got async/await! 🚀 Just 1.12.145 releases later, they've caught up to JavaScript's 2017 #tech. 🎩✨ So innovative, it's practically cutting-edge... if you're living in the past. 📅🔄
https://clojurescript.org/news/2026-05-07-release #async #await #JavaScript #innovation #news #HackerNews #ngated -
🥳🎉 Oh wow, #ClojureScript finally got async/await! 🚀 Just 1.12.145 releases later, they've caught up to JavaScript's 2017 #tech. 🎩✨ So innovative, it's practically cutting-edge... if you're living in the past. 📅🔄
https://clojurescript.org/news/2026-05-07-release #async #await #JavaScript #innovation #news #HackerNews #ngated -
https://www.linkedin.com/posts/juliocasal_await-doesnt-create-a-new-thread-it-never-share-7444582351403151360-XWuH - What #dotNET #await does under the hood. Great tech breakdown https://www.linkedin.com/in/juliocasa.
-
https://www.linkedin.com/posts/juliocasal_await-doesnt-create-a-new-thread-it-never-share-7444582351403151360-XWuH - What #dotNET #await does under the hood. Great tech breakdown https://www.linkedin.com/in/juliocasa.
-
The DAX continued its upward trend on Tuesday afternoon after a positive start to the trading day. Around 12:30 PM, the leading index was measured at approximat... https://news.osna.fm/?p=41827 | #news #amid #await #corporate #dax
-
https://www.alojapan.com/1466449/luxury-golf-tours-await-wealthy-foreign-guests-at-japans-nikko/ Luxury golf tours await wealthy foreign guests at Japan’s Nikko #await #Foreign #golf #guests #JapanTours #Japans #luxury #nikko #tours #wealthy Travel & Leisure Tobu Railway offers play at five courses, visits to famous tourist spots Participants in a trial tour play golf at Tobu Fujigaoka Country Club in Tochigi, Japan. (Tobu Railway) TOKYO — Tobu Railway will launch luxury tours in October that combine golf and sightseeing in Tochigi
-
30 a..m., slightly below Friday's closing level. At the top of the daily leaders list was Commerzbank, while Unicredit had presented a takeover bid for the bank... https://news.osna.fm/?p=38346 | #news #await #bidmarkets #buyout #commerzbank
-
The DAX opened on Wednesday morning with losses. At 9:30 a.m. it was trading around 23,675 points, which was 1.2 percent below the previous day's closing level.... https://news.osna.fm/?p=37824 | #news #await #data #dax #inflation
-
The DAX opened on Wednesday morning with losses. At 9:30 a.m. it was trading around 23,675 points, which was 1.2 percent below the previous day's closing level.... https://news.osna.fm/?p=37824 | #news #await #data #dax #inflation
-
https://www.linkedin.com/posts/djokic-stefan_some-developers-still-think-asyncawait-makes-share-7435298935411331072-aggI - #dotNET #async & #await doesn't make it faster, it makes it so other things can happen while it waits.
-
https://www.linkedin.com/posts/djokic-stefan_some-developers-still-think-asyncawait-makes-share-7435298935411331072-aggI - #dotNET #async & #await doesn't make it faster, it makes it so other things can happen while it waits.
-
U.S. stock markets closed higher on Wednesday. At the close in New York, the Dow Jones Industrial Average settled at 48,739, up 0.5 percent from the previous da... https://news.osna.fm/?p=36879 | #news #await #investors #iran #negotiations
-
JavaScriptの `async/await` はどこから来たのか? C#、F#、Haskell……源流を辿ったら1958年にたどり着いた件
https://qiita.com/Maki-Daisuke/items/1da25e18c1bcb68880a3?utm_campaign=popular_items&utm_medium=feed&utm_source=popular_items -
Как устроены задачи (Task) в asyncio
В прошлой статье мы разобрали механику событийного цикла asyncio. В этот раз поговорим о задачах, объектах класса asyncio.Task (они же по-простому "таски"). Тема важная, потому что по сути вся работа событийного цикла сводится к постоянному жонглированию задачами: запустить, приостановить, разбудить, завершить. Если понять, как устроена таска изнутри, изрядная доля магии asyncio (как и нелюбви к нему) исчезнет. На десерт шок-контент: почему await далеко не всегда является точкой, где управление возвращается событийному циклу, чтобы он мог переключиться на другую задачу. Погружаемся
https://habr.com/ru/articles/1002690/
#asyncio #async #await #python #асинхронность #асинхронное_программирование #таски #event_loop
-
30 a..m., essentially mirroring yesterday's closing level. The top of the gains list included Scout24, Brenntag, and Symrise, while Qiagen, Rheinmetall, and Sie... https://news.osna.fm/?p=34746 | #news #await #corporate #data #dax
-
U.S. stocks closed unevenly on Tuesday. At the close in New York, the Dow climbed to 50,188 points, a 0.1 % gain from the previous day. The Nasdaq 100 finished... https://news.osna.fm/?p=33803 | #news #await #dow #grows #investors
-
CW: a rant with expletives about JavaScript
So the caller must await too. Ah no, rather return-immediately-with-a-fucking-promise. And so the caller's caller too and so on.
Now you hardly have a function call not preceded by await. Ask yourself: why is that not the default? For the other case, lets invent the keyword **getlost** to get the functionality we now have if we forget await.
😡 Sorry for venting. It is a relief.
-
CW: a rant with expletives about JavaScript
Because that's what it actually is. It does not wait at all. Quite contrary, it returns immediately, throwing the rest of the function code into a pool of stuff to be executed some day.
And the caller? Getting control back before things are really done? Without extra tooling the dev easily misses that the called async did exactly nothing and lets proceed the code as if. Fail!
-
CW: a rant with expletives about JavaScript
TypeScript is fun, but often I hate the JavaScript async/await crap.
Background: https://journal.stuffwithstuff.com/2015/02/01/what-color-is-your-function/
Async is like mold spreading through the code base. On top of it: why is it called **await** and not **return-immediately-with-a-fucking-promise**? ...
1/n
-
[Перевод] Тихий Promise, который убьёт ваш сервер Node.js
У вас есть продакшен-сервер. Он спокойно работает часами. А потом внезапно падает. Без предупреждения, без graceful-деградации. Просто мёртв. Виновник? Одна строчка кода, которая выглядит совершенно безобидно...
https://habr.com/ru/articles/988132/
#nodejs #промисы #асинхронность #promise #await #async #javascript #typescript #error_handling #обработка_ошибок
-
Await Digital Camera Uses ‘Film Rolls’ and Delivers 4 x 6 Prints https://petapixel.com/2026/01/15/await-digital-camera-uses-film-rolls-and-delivers-4-x-6-prints/ #digitalcamera #awaitcamera #Equipment #ces2026 #digicam #camera #await #News
-
Fucking Approachable Swift Concurrency
https://fuckingapproachableswiftconcurrency.com/en/
#ycombinator #Swift #concurrency #async #await #actors #Sendable #MainActor #iOS #macOS #Swift_6 #tutorial #guide -
Await своими руками в C#
Привет, Хабр! Многим кажется, что await работает только с Task и ValueTask , но на самом деле язык позволяет сделать любой объект ожидаемым — нужно лишь реализовать определённый паттерн. Итак, зачем нужен свой await? Бывают случаи, когда вам хочется написать асинхронный метод, но результат приходит не из готового Task или таймера. Например, ждёте какое-то событие, изменение файла, считывание из сокета, или просто хотите встроить задержку без запуска Task . Когда вы пишете await expr , компилятор в глубине понимает так: берётся результат expr.GetAwaiter() , затем вызывается awaiter.IsCompleted . Если false , он подписывается на awaiter.OnCompleted , когда завершится, и потом берёт awaiter.GetResult() .