You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for atoms. To quote the ClojureScript documentation: "Clojure's model of values, state, identity, and time is valuable even in single-threaded environments." However, atoms should be built in a way that proper concurrency support can easily be added if it ever comes to this project.
The text was updated successfully, but these errors were encountered:
I've experimented with implementing Clojure's Agents in pure Swift. It sorta works, but due to the differences between Value Types and Reference Types, using them is not as smooth as using them in Clojure. However, the gist of my work might be useful within Lambatron to implement Atoms and Agents (i.e. the GCD stuff). I thought I'd share this here. https://github.com/terhechte/Cederic
Unfortunately the project is broken with Swift 1.2, and my computer is in the shop so I haven't been able to debug it. The project hasn't died; I'll be porting it to Swift 2 as soon as my machine returns.
I'm not even sure how well the cederic code fits, I just thought I'd share it. I've also seen implementations of Clojure's Persistent Data Structures in Swift somewhere, which would probably help, too. Cheers!
Add support for atoms. To quote the ClojureScript documentation: "Clojure's model of values, state, identity, and time is valuable even in single-threaded environments." However, atoms should be built in a way that proper concurrency support can easily be added if it ever comes to this project.
The text was updated successfully, but these errors were encountered: