We're updating the issue view to help you get more done. 

Porting core.cache to ClojureScript

Description

How would you like to proceed with porting core.cache to ClojureScript?

Most of the code could be shared between CLJ and CLJS, but there are differences

a) different use of macros
b) weak references - only available in some JS environments

How to proceed?

1) use reader conditionals (CLJC) to share code between CLJ and CLJS
2) have two different implementations in same codebase (like core.async does)

Option 1 would limit new core.cache version to Clojure 1.7. Second option means to maintain two different implementations.

What do you think?

Environment

None

Status

Assignee

Sean Corfield

Reporter

Daniel Skarda

Labels

None

Approval

None

Patch

None

Priority

Major