Re:Lovely Week with Elixir
by bsaul on Wednesday May 20, 2020 @03:39PM
(#23250857)
"I think there's a sweet spot for a language that accepts mutability inside of actors, but only allows immutable objects to be sent as messages"
Absolutely agree. I had great hopes an "Actor" type would be created in Swift, where every public function would be thread-safe, accept only "pure" structs / value objects, and which would automatically run on its own coroutine.
Unfortunately the concurrency story seems completely abandoned for this language.
Absolutely agree. I had great hopes an "Actor" type would be created in Swift, where every public function would be thread-safe, accept only "pure" structs / value objects, and which would automatically run on its own coroutine.
Unfortunately the concurrency story seems completely abandoned for this language.