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

How big are the generated js files for clojurescript applications compared to say coffeescript or Dart ? The last time I tried it-- when it was still new , the files were too big to be useful for 3G Mobile devices. Has that changed?


If you've been serving jQuery (~30K gzipped) to mobile web applications, ClojureScript has always been a fine alternative. ClojureScript applications start at around 20K gzipped and go up from there.


ClojureScript is passed through the Google Closure compiler and you can give various directives to the compiler (e.g. simple, advanced etc.) in order to set how aggressively the compiler optimizes the code.

Medium sized apps' should have an advanced optimized ClojureScript component of 200 - 300 KB after being gzipped. This will, of course, vary depending on your specific app.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: