linear VS ghc

Compare linear vs ghc and see what are their differences.

linear

Low-dimensional linear algebra primitives for Haskell. (by ekmett)

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)
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
linear ghc
2 28
168 2,603
- 1.3%
5.3 9.9
about 1 month ago about 15 hours ago
Haskell Haskell
BSD 3-clause "New" or "Revised" License GNU General Public License v3.0 or later
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.

linear

Posts with mentions or reviews of linear. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-06-02.
  • Probabilistic modelling in Idris: engineering as research
    reddit.com/r/Idris | 2021-06-30
    I've come to love the linear approach, where instead of working with Naperian (Representable) functors, you work with Distributive functors.
  • Monthly Hask Anything (June 2021)
    reddit.com/r/haskell | 2021-06-02
    See also the linear library, it contains types like data V3 a = V3 a a a with all of the useful instances.

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-10-08.
  • Status of Record Dot Syntax?
    reddit.com/r/haskell | 2021-10-08
    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
    % 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,)
    reddit.com/r/haskell | 2021-09-26
    $ 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
    reddit.com/r/haskell | 2021-09-25
    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
    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?
    reddit.com/r/haskell | 2021-09-09
    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?
    reddit.com/r/haskell | 2021-09-09
    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
    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
    reddit.com/r/rwth | 2021-08-21
    Hierfür wird der Glasgow Haskell Compiler (GHC) genutzt: https://www.haskell.org/ghc/
  • Help with understanding some Haskell questions for uni
    GHCi, version 8.4.4: http://www.haskell.org/ghc/ :? for help Prelude> :t 20:[2+0] 20:[2+0] :: Num a => [a] Prelude> :t (2.0, "2.0") (2.0, "2.0") :: Fractional a => (a, [Char]) Prelude> :t (id, map, sum) (id, map, sum) :: (Foldable t, Num a1) => (a2 -> a2, (a3 -> b) -> [a3] -> [b], t a1 -> a1)

What are some alternatives?

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

nuha

nimber - Finite nimber arithmetic

moving-averages

TypeScript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

search - infinite search in finite time with Hilbert's epsilon

in-other-words - A higher-order effect system where the sky's the limit

FiraCode - Free monospaced font with programming ligatures