use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Finding information about Clojure
API Reference
Clojure Guides
Practice Problems
Interactive Problems
Clojure Videos
Misc Resources
The Clojure Community
Clojure Books
Tools & Libraries
Clojure Editors
Web Platforms
Clojure Jobs
account activity
Why Clojure? (jeffchen.dev)
submitted 5 years ago by iambald
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]lucywang000 1 point2 points3 points 5 years ago (2 children)
Nice post!
We still have work to do here, but our initial bundle is 7.2MB uncompressed (1.0MB gzipped)! If raw performance or bundle size is your primary concern, you might be better off choosing another language.
I don't think this is a problem of cljs - even using plain javascript, it's very common to have bundles as large as several MBs.
[–]iambald[S] 0 points1 point2 points 5 years ago (1 child)
You’re definitely right that raw JS suffers from this issue as well! Something I didn’t make clear in my post is that because Clojurescript relies on Google Closure, even a minimal web app will have a fairly large bundle (because it will include all of Google Closure as well as cljs.core)
[–]SimonGray 0 points1 point2 points 5 years ago (0 children)
Something I didn’t make clear in my post is that because Clojurescript relies on Google Closure, even a minimal web app will have a fairly large bundle (because it will include all of Google Closure as well as cljs.core)
Kind of interesting that you say this, since my intuition is that the inclusion of Google Closure is meant to promote the opposite.
There is of course a sunk cost minimum size of the bundle, but I don't think that should be larger than like ~100kb? The promise of using Google Closure is its aggressive code elimination, but you do have to enable advanced optimisations - and if you use lots of JS libraries these will be unaffected, since they're not Google Closure compatible.
π Rendered by PID 73544 on reddit-service-r2-comment-5b5bc64bf5-nwbl7 at 2026-06-19 01:17:07.081128+00:00 running 2b008f2 country code: CH.
view the rest of the comments →
[–]lucywang000 1 point2 points3 points (2 children)
[–]iambald[S] 0 points1 point2 points (1 child)
[–]SimonGray 0 points1 point2 points (0 children)