ghc VS TypeScript

Compare ghc vs TypeScript and see what are their differences.

ghc

Mirror of the Glasgow Haskell Compiler. Please submit issues and patches to GHC's Gitlab instance (https://gitlab.haskell.org/ghc/ghc). First time contributors are encouraged to get started with the newcomers info (https://gitlab.haskell.org/ghc/ghc/wikis/contributing). (by ghc)

TypeScript

TypeScript is a superset of JavaScript that compiles to clean JavaScript output. (by microsoft)
Our great sponsors
  • Scout APM - A developer's best friend. Try free for 14-days
  • Nanos - Run Linux Software Faster and Safer than Linux with Unikernels
  • SaaSHub - Software Alternatives and Reviews
ghc TypeScript
29 421
2,621 76,254
0.6% 1.3%
9.9 9.9
1 day ago 6 days ago
Haskell TypeScript
GNU General Public License v3.0 or later Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

ghc

Posts with mentions or reviews of ghc. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-12-03.
  • Advent of Code 2021 day 4
    7 projects | reddit.com/r/haskell | 3 Dec 2021
    GHCi, version 8.10.7: https://www.haskell.org/ghc/ :? for help Prelude> :load day4.hs [1 of 1] Compiling Main ( day4.hs, interpreted ) Ok, one module loaded. *Main> :t markValue markValue :: Int -> BingoBoard -> BingoBoard *Main> :t sumUnmarked sumUnmarked :: BingoBoard -> Int *Main>
  • Status of Record Dot Syntax?
    4 projects | reddit.com/r/haskell | 8 Oct 2021
    Thanks, it seems to be implemented in 9.2.1 with the extensions OverloadedRecordDot and OverloadedRecordUpdate. It seems that GHC 9.2.1 is at stage "RC1": https://github.com/ghc/ghc/tags
  • Variable not in scope error
    1 project | reddit.com/r/haskellquestions | 26 Sep 2021
    % ghci scratch.hs GHCi, version 8.8.4: https://www.haskell.org/ghc/ :? for help Loaded GHCi configuration from /home/bss/.ghc/ghci.conf [1 of 1] Compiling Main ( scratch.hs, interpreted ) Ok, one module loaded. (0.05 secs,)
    1 project | reddit.com/r/haskell | 26 Sep 2021
    $ cat a.hs module Main where foo :: Int foo = 42 $ cat b.hs foo :: Int foo = 42 $ ghci a.hs GHCi, version 8.10.4: https://www.haskell.org/ghc/ :? for help Loaded package environment from /home/username/.ghc/x86_64-linux-8.10.4/environments/default Loaded GHCi configuration from /home/username/git/dotfiles/.ghci [1 of 1] Compiling Main ( a.hs, interpreted ) a.hs:1:1: error: The IO action ‘main’ is not defined in module ‘Main’ | 1 | module Main where | ^ Failed, no modules loaded. Prelude> Leaving GHCi. $ ghci b.hs GHCi, version 8.10.4: https://www.haskell.org/ghc/ :? for help Loaded package environment from /home/username/.ghc/x86_64-linux-8.10.4/environments/default Loaded GHCi configuration from /home/username/git/dotfiles/.ghci [1 of 1] Compiling Main ( b.hs, interpreted ) Ok, one module loaded. *Main> Leaving GHCi. $
  • Integer coordinate from String
    1 project | reddit.com/r/haskell | 25 Sep 2021
    GHCi, version 9.0.1: https://www.haskell.org/ghc/ :? for help ghci> import Data.Char ghci> ord 'H' 72 ghci> ord 'H' - ord 'A' 7 ghci> ord '3' - ord '0' 3
  • Defining an Applicative instance on a GADT
    1 project | reddit.com/r/haskellquestions | 11 Sep 2021
    GHCi, version 8.8.4: https://www.haskell.org/ghc/ :? for help Loaded GHCi configuration from /home/bss/.ghc/ghci.conf GHCi> :set -XGADTs GHCi> :{ GHCi| data Foo a where GHCi| Bar1 :: Int -> Foo Int GHCi| Bar2 :: Float -> Foo Float GHCi| :} type role Foo nominal data Foo a where ... (0.00 secs, 0 bytes) GHCi> :set -XEmptyCase GHCi> :{ GHCi| instance Functor Foo where GHCi| fmap f x = case x of {} GHCi| :} (0.00 secs, 0 bytes)
  • stack ghci --ghci-options="-v0" <<< 'reverse [1, 2, 3]' -v0 does not remove all the message from console?
    2 projects | reddit.com/r/haskell | 9 Sep 2021
    ghci -v1 <<< 'reverse [1, 2, 3]' GHCi, version 8.10.6: https://www.haskell.org/ghc/ :? for help Prelude> [3,2,1] Prelude> Leaving GHCi.
  • How to hide extra stuff in the GHCi prompt?
    1 project | reddit.com/r/haskell | 9 Sep 2021
    GHCi, version 8.10.7: https://www.haskell.org/ghc/ :? for help Loaded GHCi configuration from /home/natewind/.ghci Prelude λ>
  • nth element from a list
    1 project | reddit.com/r/haskellquestions | 1 Sep 2021
    GHCi, version 8.6.5: http://www.haskell.org/ghc/ :? for help Prelude> :{ Prelude| nth _ [] = error "nth: empty list" Prelude| nth 0 (x:_) = x Prelude| nth n (_:xs) = nth (n - 1) xs Prelude| :} Prelude> nth 3 [1,4,5,9,8] 9 Prelude> nth k l = if k == 1 then head l else nth (k - 1) (tail l) Prelude> nth 3 [1,4,5,9,8] 5
  • Fragen zum Informatik Studium
    2 projects | reddit.com/r/rwth | 21 Aug 2021
    Hierfür wird der Glasgow Haskell Compiler (GHC) genutzt: https://www.haskell.org/ghc/

TypeScript

Posts with mentions or reviews of TypeScript. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-12-01.

What are some alternatives?

When comparing ghc and TypeScript you can also consider the following projects:

lodash - A modern JavaScript utility library delivering modularity, performance, & extras.

zx - A tool for writing better scripts

fp-ts - Functional programming in TypeScript

rescript-compiler - The compiler for ReScript.

esbuild - An extremely fast JavaScript and CSS bundler and minifier

linaria - Zero-runtime CSS in JS library

zod - TypeScript-first schema validation with static type inference

Flutter - Flutter makes it easy and fast to build beautiful apps for mobile and beyond

typescript-eslint - :sparkles: Monorepo for all the tooling which enables ESLint to support TypeScript

web-vitals - Essential metrics for a healthy site.

React - A declarative, efficient, and flexible JavaScript library for building user interfaces.

Tailwind CSS - A utility-first CSS framework for rapid UI development.