<< Back to previous view

[CCACHE-42] Porting core.cache to ClojureScript Created: 02/Jul/15  Updated: 02/Jul/15

Status: Open
Project: core.cache
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Enhancement Priority: Major
Reporter: Daniel Skarda Assignee: Fogus
Resolution: Unresolved Votes: 0
Labels: None


 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?






Generated at Tue Jul 07 17:13:51 CDT 2015 using JIRA 4.4#649-r158309.