← All stories
● Covered by 1 source Β· 1 reportMedium impact

FoundationDB Introduces Flow for Actor-Based Concurrency in C++11

Aggregated by BrevFeed dev Β· updated 3h ago
πŸ”– Save

FoundationDB has launched Flow, a new programming language designed to integrate actor-based concurrency in C++11. Flow enables developers to handle asynchronous processes more efficiently, supporting FoundationDB's performance and scalability objectives.

Key points

Introduction of Flow

FoundationDB has developed Flow, a new programming language aimed at overcoming engineering challenges related to high performance and scalability. Flow facilitates efficient asynchronous operations, akin to capabilities found in other programming environments like Erlang and .NET's Async library.

Concurrency Management

Flow implements actor-based concurrency using new keywords and control-flow primitives. This allows developers to manage concurrent processes effectively while maintaining the raw speed of C++. By converting asynchronous functions into non-blocking sub-functions, Flow enhances productivity when developing applications.

Technical Features

Flow relies on data types known as Promise<T> and Future<T> for managing asynchronous communications. A Future<T> represents a value that will be available later, while a Promise<T> allows a sender to fulfill this value. This paradigm enables actors within the Flow system to communicate without blocking, thus improving overall system efficiency.

Simulation Support

Alongside facilitating concurrency, Flow integrates with FoundationDB's simulation tools, which conduct deterministic simulations across large clusters. This feature helps test reliability and fault tolerance by mimicking various operational scenarios and failure modes.

✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors β€” check the original sources. How BrevFeed works β†’

Reporting from

FoundationDB has launched Flow, a new programming language designed to integrate actor-based concurrency in C++11. Flow enables developers to handle asynchronous processes more efficiently, supporting FoundationDB's performance and scalability objectives.