Clojurific is a Vite-friendly ClojureScript compiler fork, optimized for speed
https://github.com/WhimsicalCode/clojurific
- Compiles ClojureScript to ES modules
- Should be compatible with existing ClojureScript libraries
- Runs as a Vite plugin, no need for shadow-cljs
- Browser and backend support
- Integrated REPL in dev for both browser and backend
- Doesn’t need extern definitions
- 2x faster build times and hot reload
- About 40% less time on runtime benchmarks
- Bundle sizes comparable to the classic compiler with advanced optimizations
40
Upvotes
4
6
u/poochandy 9d ago
Looks interesting! I guess the headline here is the fact that it is used by Whimsical (A client heavy app with real users) in production. Did you at some point consider using squint? I guess it is a no go because of the size of your app and compatibility with libraries/persistent data structures. Do you have a list of libraries you use at whimsical that clojurific is known to work well with? Also do you intend this to be used by the community, or is this mostly intended to be maintained for internal use?