News for hackers. Stuff that matters.
Re:GHC Haskell switches to an LLVM backend by hga on Friday February 19, 2010 @04:35PM (#1138021)
Yes, I've looked hard at using LLVM for the backend of a project, so I'm familiar with the above.

However LLVM does at least one thing that assembly doesn't, which is implement a stack. It also obviously handles CPU registers (and opaquely). To do accurate garbage collection (http://llvm.org/docs/GarbageCollection.html; note, the whole site LLVM site is not loading for me right now) you have to work with it to find roots in the stack(s) and registers. And the state of the implementation of that is what I was talking about.

Does this GHC backend use a conservative collector such as the Boehm collector? As I recall VMKit does.

There are no comments on this comment yet.