Re:Om Sweet Om: functional front-end engineering with Clojur...
by beat on Tuesday June 17, 2014 @04:09PM
(#7906697)
If ClojureScript had (or has) something like Clojure refs, controlled high performance mutability should be possible.
[ Parent
| on HN ]
Re:Om Sweet Om: functional front-end engineering with Clojur...
by swannodette on Tuesday June 17, 2014 @06:03PM
(#7907316)
refs are not the highest performance reference type due to transactional semantics. ClojureScript already has efficient mutability in the form of atoms and transients. You can actually build a transient vector faster than you can build a mutable JavaScript array in recent builds of V8. I actually demo'ed this at JSConf. Fun stuff.