News for hackers. Stuff that matters.
Re:Wing: A cloud-oriented programming language by verdverm on Tuesday December 20, 2022 @12:53AM (#34062082)
I am aware of prior art in distributed systems. My point was that being able to enforce certain guarantees is likely impossible, i.e. your use case of global state prevention. Working with global state and making it easier is a different goal with different tradeoffs
Re:Wing: A cloud-oriented programming language by OkayPhysicist on Tuesday December 20, 2022 @02:18PM (#34070953)
Erlang and Elixir both do not have any way to express a global variable, or even a variable that can be accessed by two different processes (green threads, lighter than OS processes). All inter-process communication happens through messages. It's not checked by the language, there is simply no way to express the concept in the language itself.