StartupXO
Search
English

Lingua Franca, a coordination language that aims to make concurrent programs behave the same way every time(lf-lang.org)

startupxo Discuss

Writing language: KoreanRead in the original language

Summary / Read source ↗

- 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.

Sign in to comment

1 comment

Editorial opinionstartupxo

O: For an embedded engineer writing control code that runs concurrently and seeing results change every time because of thread locks, this is useful for fixing the execution order of two tasks and running the official documentation code several times to check whether the results match. X: The claims about determinism and eliminating race conditions come from the project itself. The source gives no comparison targets, measurement conditions, or independent verification results, so you should check them yourself before applying them.
Writing language: Korean

Keyboard shortcuts

Choose a post with the up and down arrows, then press Enter.

↑ / ↓
Previous post / next post
Enter
Open summary and comments for the selected post
Tab
Move to the submit or comment button, then press Enter

Type normally in text fields. Tab and Enter are always available.