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

How good is the interop with existing js libraries? Would i be able to use webgl or three.js?


The short answer is yes, ClojureScript has similar interop features for vanilla JS as Clojure for the JVM has for Java.

However, given that ClojureScript uses the Google Closure compiler to optimize production code, there are a few gotchas to be aware of. This article does a great job at explaining the details:

http://lukevanderhart.com/2011/09/30/using-javascript-and-cl...




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

Search: