ClojureScript vs Google Web Toolkit
ClojureScript
clojurescript.orgGoogle Web Toolkit
gwtproject.orgSide by side
| Figure | ClojureScript | Google Web Toolkit |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Web | Yes | Yes |
| Windows | Yes | Yes |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| Self-hosted | Yes | — |
| Plans published | 1 | 1 |
| Spec score · Code Transpilers | 8.4 (#4) | 8.3 (#6) |
| Founded | 2011 | 2006 |
Plans
In their own words
ClojureScript
ClojureScript is a compiler that turns Clojure code into JavaScript for client and embedded application development wherever JavaScript reaches. It brings Clojure data structures and constructs—including functional programming, macros, destructuring, and polymorphism—into JavaScript environments. Its output is compatible with Google Closure Compiler advanced compilation, which can minify output and eliminate dead code. REPL support enables interactive development and testing in a browser or Node.js; the quick start uses browser output by default and selects Node.js output with a target setting. ClojureScript supports both ClojureScript and JavaScript dependencies, with React demonstrated in the quick start. Listed build tools include shadow-cljs, Figwheel, Leiningen, and lein-cljsbuild. Editor resources cover Cursive, Emacs, VS Code, Light Table, Sublime Text, Vim, and Atom. Documentation includes compiler and REPL options, dependencies, advanced compilation, source maps, and JavaScript module support marked Alpha. The project is open source under the Eclipse Public License 1.0 and lists Linux, macOS, Windows, web, and self-hosted environments.
Google Web Toolkit
Google Web Toolkit (GWT) is a free, open-source Java framework for building AJAX web applications. Its compiler converts Java applications into JavaScript and HTML for browser use, and the SDK includes the core libraries and compiler. Deferred binding generates browser-specific code at compile time, while the compiler can create separate application versions for different browsers and languages. Applications can communicate asynchronously with servers through GWT RPC or JSON. An Eclipse plugin provides IDE support and an option to install the SDK. The developer guide covers deployment to Google App Engine, JUnit unit testing and Emma code coverage; documentation also includes SafeHtml guidance for XSS prevention and GWT RPC XSRF protection. GWT is licensed under Apache 2.0 for non-commercial, commercial and enterprise applications. Version 2.13.1 is listed for Windows, Mac OS X and Linux. Development mode and the compiler periodically send a timestamp ID and product version to Google; Google says it does not log cookies or personal information. The webAppCreator utility has been deprecated since version 2.11.0.