Remix.run Logo
▲ XCabbage 4 hours ago

I don't really understand what problem this is meant to solve at first glance. It'd be nice to see a simple example program involving concurrency written in plain Python, then a discussion of the annoying bookkeeping involved in avoiding concurrency errors and what traps would be easy to fall into, and then an example of how the same thing would be implemented using Lingua Franca and an explanation of how eliminates the bookkeeping and traps.

▲tgv 3 hours ago | parent [-]

Here are Python examples, that you can test in the playground: https://github.com/lf-lang/playground-lingua-franca/tree/mai...

▲stefanha an hour ago | parent [-]

Can you explain what the examples are showcasing? I looked at the Audio and Webserver examples. They give the LF syntax for doing something that is easier to do directly in Python. I'm missing the advantages of LF and why you'd want to do this in the first place.