Hacker News new | ask | show | jobs
by bts 5961 days ago
Although this is really cool stuff and it looks like it's going to get merged in, the title is a little misleading here. GHC hasn't switched to an LLVM backend -- they're currently reviewing this patch and possibly merging in this support for LLVM output (not necessarily switching over to it entirely).
1 comments

The title is accurate, as simultaneously, the GCC backend is being dropped. [1]

1. http://www.haskell.org/pipermail/glasgow-haskell-users/2010-...

But that link only says that via-C is being dropped which, as I understand it, is not currently the default backend -- NGC is[1]. This means that (1) via-C is being dropped; (2) NCG (native code generator) has been, and is still the default; and (3) this LLVM backend support is currently being considered to be merged in.

[1] http://hackage.haskell.org/trac/ghc/wiki/Commentary/Compiler...

That's right. The GCC (-fvia-C) is being dropped in favor of LLVM. Work on the native codegen continues separately.