TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Waitin' (on Leiningen)

129 pointsby mikeflynnover 10 years ago

11 comments

garrettdreyfusover 10 years ago
I would just like to thank Swannodette for all the amazing work he has done for Clojure and its community. You are the best.
评论 #8792578 未加载
kcorbittover 10 years ago
It probably isn't the same issue that is causing the Leiningen slowdown, but as near as I can tell the really slow startup time is the main reason Clojure on Android isn't currently a viable option. Which is too bad, because I'd love to see the Clojure community's take on Android development. I can imagine a UI framework spiritually similar to Facebook's ReactJS appearing and making everything so much cleaner. And with a Lisp like Clojure there would no longer be any reason to use XML for layout and Java for logic -- it could all be unified into one cohesive language. Maybe I'm dreaming too big, but that would be an exciting future.
评论 #8792612 未加载
reitzensteinmover 10 years ago
I&#x27;d be careful about introducing more caching to the ClojureScript build process - I&#x27;ve been getting some really strange errors occasionally, the kind that leave garbled errors in the js that the source maps can&#x27;t decypher, that disappear after a full clean &amp; rebuild.<p>I just released a site based on Clojure + Clojurescript, with the front end written in Reagent, and it was a pretty good experience overall. The above was my main issue with the setup.<p>I&#x27;ve written more about the experience here (it seems there&#x27;s not much interest in the site here, but at least the writeup should be interesting to those reading this post):<p><a href="https://news.ycombinator.com/item?id=8791129" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=8791129</a><p>(Edit: it has since got a few upvotes, only to be killed by I guess the voting ring detection. C&#x27;est la vie.)
评论 #8791248 未加载
rcarmoover 10 years ago
I wish leiningen wouldn&#x27;t take so long to run. The only real trouble with Clojure is how unbearably _slow_ the tools are. I can deal with the runtime taking its time to get going (mostly), but the tooling...
评论 #8790518 未加载
评论 #8790391 未加载
评论 #8791479 未加载
nightwolfover 10 years ago
It&#x27;s not actually that JVM startup time is slow, it&#x27;s Clojure startup time in particular. See:<p><a href="https://nicholaskariniemi.github.io/2014/02/11/jvm-slow-startup.html" rel="nofollow">https:&#x2F;&#x2F;nicholaskariniemi.github.io&#x2F;2014&#x2F;02&#x2F;11&#x2F;jvm-slow-star...</a><p>And the other articles here:<p><a href="https://nicholaskariniemi.github.io/" rel="nofollow">https:&#x2F;&#x2F;nicholaskariniemi.github.io&#x2F;</a>
retrogradeorbitover 10 years ago
Hmmm. I bumped my clojurescript to 0.0-2511, and I get the following:<p>$ lein trampoline run -m clojure.main<p>Exception in thread &quot;main&quot; java.io.FileNotFoundException: Could not locate cljsbuild&#x2F;compiler__init.class or cljsbuild&#x2F;compiler.clj on classpath: , compiling:(...&#x2F;target&#x2F;66ddb53f4f237c7eb26e49c2637097e7cd8567d9-init.clj:1:4) ...<p>Everything else works fine.<p>Do we have a more complete example project that I can check mine against?
评论 #8791985 未加载
grandalfover 10 years ago
This is great progress. I anticipate that fairly soon javascript will become the dominant compile target &#x2F; runtime for clojure.
programminggeekover 10 years ago
As cool of a language as clojure might be, bad tooling is bad UX. Bad UX makes for a bad product. I don&#x27;t care how many amazing features a language has, without great tools, it sucks.<p>PHP is a terrible language in terms of design, but deploys are ridiculously easy, and refreshing a page is near instantaneous. There are plenty of other things to complain about with PHP, but part of its popularity is the relatively pleasant experience with the main tools.
评论 #8790567 未加载
评论 #8790505 未加载
评论 #8791426 未加载
评论 #8791263 未加载
htorover 10 years ago
Nice! Never occurred to me to compile ClojureScript itself.
bachbackover 10 years ago
Leining is a very useful tool. Starting up Clojure indeed is noticeable. I wonder how much of the performance is due to Maven, and if gradle would do better. Gradle is a newer project with a custom DSL based on Groovy.
评论 #8790673 未加载
评论 #8790720 未加载
daxfohlover 10 years ago
Way to kick a guy when he&#x27;s down. Next thing you know he&#x27;ll be relegated to selling half-finished keyboards out of Thailand.
评论 #8790566 未加载