Software Alternatives, Accelerators & Startups

F# (via FunScript) VS GHCJS

Compare F# (via FunScript) VS GHCJS and see what are their differences

F# (via FunScript) logo F# (via FunScript)

Web Development

GHCJS logo GHCJS

Haskell to JavaScript compiler, based on GHC. Contribute to ghcjs/ghcjs development by creating an account on GitHub.
  • F# (via FunScript) Landing page
    Landing page //
    2020-02-18
  • GHCJS Landing page
    Landing page //
    2023-10-10

F# (via FunScript) features and specs

No features have been listed yet.

GHCJS features and specs

  • Haskell to JavaScript Compilation
    GHCJS allows developers to compile Haskell code to JavaScript, enabling the use of Haskell’s advanced type system and functional programming features in web development.
  • Code Reusability
    Developers can reuse their Haskell codebase for both server-side and client-side applications, reducing code duplication and maintenance efforts.
  • Strong Type System
    Haskell’s strong static type system helps in catching errors at compile time, which can result in more robust and reliable code for web applications.
  • Interoperability
    GHCJS provides interoperability with existing JavaScript libraries and modules, allowing developers to integrate Haskell into existing JavaScript ecosystems smoothly.

Possible disadvantages of GHCJS

  • Performance Overhead
    Generated JavaScript code may have performance overhead compared to native JavaScript, which can affect the execution speed of web applications.
  • Tooling and Ecosystem
    The GHCJS ecosystem and tooling may not be as mature or extensive as more established JavaScript frameworks, potentially leading to challenges in debugging and developer support.
  • Compilation Complexity
    The compilation process from Haskell to JavaScript can be complex, and build times might be longer compared to traditional JavaScript projects.
  • Limited Community and Support
    The GHCJS community is relatively smaller compared to mainstream JavaScript communities, which might limit the availability of resources, tutorials, and third-party libraries.

Category Popularity

0-100% (relative to F# (via FunScript) and GHCJS)
Personal Finance
34 34%
66% 66
Financial Planner
40 40%
60% 60
Finance
48 48%
52% 52
Android
100 100%
0% 0

User comments

Share your experience with using F# (via FunScript) 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, GHCJS seems to be more popular. It has been mentiond 4 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.

F# (via FunScript) mentions (0)

We have not tracked any mentions of F# (via FunScript) yet. Tracking of F# (via FunScript) recommendations started around Mar 2021.

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 2 years 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 4 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 4 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 4 years ago

What are some alternatives?

When comparing F# (via FunScript) and GHCJS, you can also consider the following products

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

EarlGrey - EarlGrey is a native iOS UI automation test framework that enables you to write clear, concise tests.

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

GnuCash - A personal and small-business financial-accounting software, licensed under GNU/GPL and available for Linux, Windows, Mac OS X, BSD, and Solaris.

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

Opal (Ruby) - Ruby to Javascript Compiler. It is source-to-source, making it fast as a runtime. Opal includes a compiler (which can be run in any browser), a corelib and runtime implementation.