3 ms·
GHC is written in Haskell. I don't know the line count, but I understand it to be a large project.
by dllthomas 13y ago
GHC is written in Haskell. I don't know the line count, but I understand it to be a large project.
- dllthomas 13y agoLine count ~140,000, according to this: http://www.aosabook.org/en/ghc.html http://www.aosabook.org/en/ghc.html And of course with more abstraction and less boilerplate, one line gets more done on average. (Fixed the number above - read 139... as 199...)
- lomnakkus 13y agoIt was around 140K LoC as of 2011. [1] [1] http://www.aosabook.org/en/ghc.html http://www.aosabook.org/en/ghc.html EDIT: I see another poster arrived at a conclusion of 200KLoC from the same source. I'm guessing the discrepancy is about the ~40KLoC which comprise the runtime system.