Flow: Actor-based language for C++, used by FoundationDB
by SchwKatze on 12/8/2025, 1:08:38 PM
https://github.com/apple/foundationdb/tree/main/flow
Comments
by: ttul
Type-safe message-passing is such a wonderful programming paradigm - and not just for distributed applications. I remember using QNX back in the 1990s. One of its fabulous features was a C message passing library allowing you to send arbitrary binary structs from one process to another. In the context of realtime software development, you often find yourself having one process that watches for events from a certain device, modify the information somehow, and then pass it on to another process that ends up doing something else. The message-passing idiom was far superior to what was available in Linux at the time (pipes and whatnot) because you were able to work with C structs. It was not strictly type safe (as is the case with FoundationDB’s library), but for the 1990s it was pretty great.
12/8/2025, 3:05:37 PM
by: websiteapi
I'm always hearing about FoundationDB but not much about who uses it. I know Deno and obviously Apple is using it. Who else? I'd love to hear some stories about it.
12/8/2025, 2:21:21 PM
by: pmarreck
how does this compare to the inbox and supervisor model of erlang/elixir?
12/8/2025, 2:10:16 PM
by: thisisauserid
How did they come up with such an original and unique name? Apple does it again.
12/8/2025, 2:56:55 PM