Lingua Franca, a coordination language that aims to make concurrent programs behave the same way every time(lf-lang.org)
Writing language: KoreanRead in the original language
Plain summary
- Lingua Franca is a coordination language that helps people building programs where multiple tasks run at the same time avoid handling low-level details directly, such as thread management, locks, and message passing. The source claims that its behavior is more repeatable than thread-based or actor-based approaches.
- According to the source, programs are built by dividing them into units called reactors and connecting them to each other. The example is a structure in which two rock-paper-scissors players are connected so that they reveal their hands at the same moment.
- As the source claims, if a cycle forms in which cause and effect wait on each other, such as one side deciding its choice after seeing the other side's choice, the language's analysis tools find it and report that the program is wrong.
- According to the source, reaction code is written in a language chosen from C, C++, Python, TypeScript, and Rust. The source states that the language began at UC Berkeley and was developed with research teams from several universities, including Kiel University and TU Dresden.
Found on
Hacker News ↗ / 62 votes / 14 comments
Have you run into something like this? Tell us in a line or two what you did. You do not need to know the product.