Software Alternatives & Reviews

ClojureScript VS GHCJS

Compare ClojureScript VS GHCJS and see what are their differences

ClojureScript logo ClojureScript

A Clojure compiler targeting JavaScript

GHCJS logo GHCJS

Haskell to JavaScript compiler, based on GHC. Contribute to ghcjs/ghcjs development by creating an account on GitHub.
  • ClojureScript Landing page
    Landing page //
    2023-05-06
  • GHCJS Landing page
    Landing page //
    2023-10-10

ClojureScript videos

How to use NPM Packages in ClojureScript

More videos:

  • Review - ClojureScript - Chris Houser
  • Review - ClojureScript Release - Rich Hickey

GHCJS videos

No GHCJS videos yet. You could help us improve this page by suggesting one.

+ Add video

Category Popularity

0-100% (relative to ClojureScript and GHCJS)
Personal Finance
60 60%
40% 40
Financial Planner
54 54%
46% 46
Cryptocurrencies
100 100%
0% 0
Android
55 55%
45% 45

User comments

Share your experience with using ClojureScript and GHCJS. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

Based on our record, ClojureScript should be more popular than GHCJS. It has been mentiond 17 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

ClojureScript mentions (17)

  • jQuery v4.0.0 Beta
    LISP in the browser! You end up having to shit a large runtime with your app but it all transpiles to vanilla JS. https://clojurescript.org/. - Source: Hacker News / 3 months ago
  • Ask HN: Why don't browsers just build a non-JS interpreter?
    JS isn't perfect, but it's good enough. And there is ongoing effort to make it even better. Also, many other languages compile to JS (without WASM). Notably: - https://www.typescriptlang.org/ - https://coffeescript.org/ - https://clojurescript.org/ - https://www.transcrypt.org/ I wrote https://multi-launch.leftium.com, which is only 6% JS. The majority is Svelte (65%) + TypeScript (27%). ( - Source: Hacker News / 4 months ago
  • Implement functional programming in Sass
    A few years ago, I started learning the ClojureScript language and quickly became fascinated with functional programming. One day, I wondered if it would be possible to implement a similar programming style in Sass, allowing for anonymous functions and threading macros. After conducting some experiments, I came up with the following Sass functions:. - Source: dev.to / 10 months ago
  • HTMX is the future
    I also didn't cheat by transpiling Clojure into JavaScript. (see ClojureScript). - Source: dev.to / 12 months ago
  • Which dialect to choose.
    Clojure has also a mature compiler to JavaScript. https://clojurescript.org/. Source: about 1 year ago
View more

GHCJS mentions (4)

  • Secretly introduced rust in my company, now they love it!
    There is a fork that compiles to js https://github.com/ghcjs/ghcjs compiler, and I believe the official glasgow compiler is working towards also supporting js/wasm (although I don't think they are supported as of yet). Source: about 1 year ago
  • Is GHCJS stuck on GHC 8.6.5?
    Default branch on ghcjs github is 8.6. 8.10 is a wip with commit from around a month ago. Source: about 3 years ago
  • Why Do We Need Transpilation into JavaScript?
    At present, here at Typeable we develop frontend in Haskell and use the web framework Reflex and the functional reactive programming (FRP). The source code in Haskell is transpiled into the JavaScript code using GHCJS. - Source: dev.to / about 3 years ago
  • Why supporting all programming languages is a bad idea
    In theory it is possible to write applications that run in the web browser in Java or C# or C++. There are compilers to compile Java to JavaScript or C++ to JavaScript/WebAssembly and a C# runtime that runs in the browser. In practice these technologies are very niche and only used for very few applications. The Cardano Wallet Daedalus is written in JavaScript even though most of the software for Cardano is... Source: about 3 years ago

What are some alternatives?

When comparing ClojureScript and GHCJS, you can also consider the following products

ReasonML - ReasonML is a new face to OCaml that--when coupled with BuckleScript--makes web development easy...

PureScript - PureScript is a small strongly typed programming language that compiles to JavaScript.

Mint - Free personal finance software to assist you to manage your money, financial planning, and budget planning tools. Achieve your financial goals with Mint.

Fay - A proper subset of Haskell that compiles to JavaScript - faylang/fay

Haste - Decreases ping in video games.

Scala.js - Build robust front-end web applications in Scala with Scala.js