7 ms·
Why would I want to use this in preference to ClojureScript?
by oweiler 12y ago
Why would I want to use this in preference to ClojureScript?
- sunkencity 12y agobecause the jvm is a pain?
- jhh 12y agoClojureScript is not executed on the JVM.
- adambard 12y agoBut it does have a fairly tight integration with clojure, and also uses the JVM-based closure compiler. However, I'd way rather see a clojurescript runtime for v8 than another language "inspired by" clojurescript.
- vmind 12y agoDo you mean a ClojureScript compiler compiled to JavaScript? ClojureScript can be compiled and run in v8 just fine right now.
- integraton 12y agoHow do you compile clojurescript without the JVM?
- leishulang 12y agohttps://github.com/Bronsa/CinC https://github.com/Bronsa/CinC when this is done. Some people are working hard on it.
- SkyMarshal 12y agoI think he means ClojureScript completely divorced from the JVM, so you don't need a Java infrastructure to develop/compile ClojureScript.
- chc 12y agoV8 already is a ClojureScript runtime, isn't it?
- weavie 12y agoI'm guessing, since this is a set of sweet.js macros you could mix Ki and Javascript code in the same file. So you could only use the lisp bits when you really needed to.
- lantiga 12y ago[Hi, author here] Yes, that is basically the idea. ki functions are js functions, same goes for vars, which makes it easy to jump from js to ki and back, without giving up on immutability, etc. Note that ki is not really intended as a ClojureScript alternative at all. It's more a way to take advantage of its data structures and some of its expressiveness from a pure JS ecosystem.