4 ms·
Sure, but with Clojure you still have to use Maven, package imports and so on. Maybe I am just too highly allergic against Java now, it's a personal thing. As s
by Tichy 15y ago
Sure, but with Clojure you still have to use Maven, package imports and so on. Maybe I am just too highly allergic against Java now, it's a personal thing. As soon as you want to use one of the Java libraries, your code starts getting ugly.
Also there seem to be non-JVM environments that come with a sufficient amount of libraries (Python?). I suppose most of them simply interface with C libraries.
- frisco 15y agoSee: https://github.com/flatland/cake https://github.com/flatland/cake and https://github.com/technomancy/leiningen https://github.com/technomancy/leiningen. No Maven involved. The only other comparable standard virtual machines are LLVM and CLR. Python doesn't really make sense in that it's a language, not a VM, and "Python" doesn't automatically connote a runtime like how Java is something of a synonym for the JVM. Incidentally, there is a Clojure port to the CLR. There are also always people working to port it to either LLVM or native code or whatnot and the mainstream community always looks at them oddly wondering what the heck they'd want to throw out Java compatibility for.
- Tichy 15y agoWhy do you need a VM?
- rimmjob 15y agojava is the most used language right now and using the jvm gets you access to all of that infrastructure. it also makes it really easy to port code to linux, macs, windows, phones, tablets, etc. practicality is one of the stated goals of clojure and the jvm adds a lot of it. aside from the lack of tail-call recursion, it doesn't really bring any real downsides. on topic: theres no reason that only one can succeed. it's like asking whether linux will beat windows or whether hamburgers will beat hot dogs. they both bring different things to the table and target different people. scala has more common territory and thus more at stake with clojure than arc does. the only thread of commonality between arc and clojure is that they are both lisps and that is hardly the most important thing about either of them.