anoma / juvix

A language for intent-centric and declarative decentralised applications
https://docs.juvix.org
GNU General Public License v3.0
457 stars 53 forks source link

Implement global project directory locking #3166

Open lukaszcz opened 1 week ago

lukaszcz commented 1 week ago

The first thing the Juvix compiler should do is to lock the project directory to avoid unpredictable interference with other Juvix invocations. We tried fine-grained locking, but it was hard to get right because of Haskell's laziness. A global lock on the whole project directory acquired on startup should be easier to implement.