Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If ClojureScript had (or has) something like Clojure refs, controlled high performance mutability should be possible.


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.


Which JSConf was it? US 2014? Tried to find a video of this talk of yours, no luck so far.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: