ClojureScript

Refs api

Details

  • Type: Enhancement Enhancement
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

It would be nice to support the refs API in clojurescript to ease porting of libraries which require it. Obviously usage of it would not bring concurrency benefits, but it would at least allow some existing clojure code to run.

I've satisfied myself it can be done reasonably easily (see https://github.com/jjl/clojurescript/tree/ref-support ), and I can't really see any downsides.

For the minute, this has been put into the cljs.stm namespace. I don't know whether it should be a feature you are automatically opted into, so I didn't put it into core. Thoughts?

Activity

Hide
David Nolen added a comment -

It's definitely worth considering. If you've done the work, attach an actual patch for review. In general we try to avoid links outside.

Show
David Nolen added a comment - It's definitely worth considering. If you've done the work, attach an actual patch for review. In general we try to avoid links outside.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated: