InfoQ Homepage async-await Content on InfoQ
-
OCaml 5 Brings Support for Concurrency and Shared Memory Parallelism
Several years in the making, OCaml 5 introduces runtime support for shared memory parallelism and effect handlers, which are the basis for exception handling, concurrency, async I/O, and more.
-
Swift 5.5 Brings Async/Await and Actor Support
At WWDC21, Apple has introduced Swift 5.5, available in beta. Among its new features, one of the most anticipated is better concurrency support using aysnc/await and actors.
-
Effectful Effects - Unifying Bidirectional Communication between Software Components
Yizhou Zhang, assistant professor at the University of Waterloo, presented bidirectional algebraic effects, a new programming abstraction that subsumes current control flow patterns (e.g., exceptions, promises, generators) while supporting bidirectional control flows. With the new typed abstraction, all declared effects are handled, and no effects are accidentally handled by the wrong handler.
-
Rust Asynchronous Runtime Tokio Reaches 1.0
Tokio aims to provide building blocks to write reliable and fast asynchronous programs in Rust. Recently announced Tokio 1.0 supports TCP, UDP, timers, a multi-threaded, work-stealing scheduler, and more.
-
Swift Aims to Become a Data Race-Free Concurrent Language
The Swift team has published its roadmap to improve concurrency support in Swift. In a first phase, Swift will gain the async syntax and actors, while in a second phase focus will be on eliminating data races and deadlocks.
-
Rust Gets Zero-Cost Async/Await Support in Rust 1.39
After getting support for futures in version 1.36, Rust has finally stabilized async/.await in version 1.39. As Rust core team member Niko Matsakis explains, contrary to other languages, async/.await is a zero-cost abstraction in Rust.
-
Google Labs Announces Squoosh: Image Compression PWA
At the 2018 Google Chrome Developer Summit, Google announced Squoosh, an open source image compression Progressive Web App (PWA) that doubles as a practical demonstration of modern web technologies.
-
Node 7.6 Brings Default Async/Await Support
Node.js 7.6 has shipped with official support for async/await enabled by default and better performance on low-memory devices.
-
Microsoft Edge Get Extensions, Better JavaScript in Windows 10 Anniversary Update
The Windows 10 Anniversary Update includes the latest version of Microsoft's Edge web browser. The newest version supports extensions and Windows Hello, and includes a number of HTML5 and JavaScript features.
-
Python 3.5 Promises New Syntax Features
The Python Software Foundation has announced new features expected in Python 3.5. Core developer Benjamin Petersen details new syntax features, new library modules, new built-in features and significantly improved library features.
-
Python 3.5 will Support Async/Await Asynchronous Programming
Python 3.5 will add support for coroutines with async and await syntax, according to Python Enhancement Proposal (PEP) #0492. The proposal aims at making coroutines a native Python language feature and to "establish a common, easily approachable, mental model of asynchronous programming."
-
Thoughts on Unit Testing vs Ad-hoc Testing with Asynchronous Code
One of the interesting features of the Task + async/await pattern is that you can easily decorate the results of any operation. Lucian Wischik of Microsoft shows how to take advantage of this in order to make your end-to-end testing more robust.
-
Async for .NET and Silverlight 4
Microsoft has released the final version of Microsoft.Bcl.Async. This package allows developers using .NET 4, Silverlight 4, and Windows Phone 7.5 to use the async features found in C# 5 and VB 11.
-
Asynchronous Gotchas in C#
Sometimes the best way to understand pitfalls in one language is to see how another language prevents them. Tomas Petricek, author of Real-World Functional Programming, discusses seven common mistakes found in asynchronous C# code and demonstrates how F# makes them less likely to occur.
-
Xamarin Introduces C# Async for iOS and Android
Xamarin has released a preview of their async-enabled libraries for iOS and Android development. This work is based heavily on Microsoft’s .NET 4.5, which was released late last year as part of Visual Studio 2012. Xamarin is the new name for the development platforms previously known as MonoTouch and Mono for Android.