search for: ralith

Displaying 3 results from an estimated 3 matches for "ralith".

Did you mean: raith
2012 Dec 28
5
[LLVMdev] Extending GC infrastructure for roots in SSA values
I'm working on an LLVM backend for Idris, a garbage-collected pure functional programming language, and have experienced some frustration that LLVM's GC support, specifically with regard to mapping roots, operates only on allocas. This entails a lot of otherwise unnecessary stack allocation (especially in a pure language, where in-place mutation is rare) and imposes limitations on what
2012 Dec 31
0
[LLVMdev] Extending GC infrastructure for roots in SSA values
...gebraic datatypes after all. Getting optimization passes to treat AnnotatedTypes the same as their contained type would be necessary for this to pay off completely; can anyone comment on what, if any, difficulties might be involved there? > On Fri, Dec 28, 2012 at 1:09 PM, Benjamin Saunders <ralith at gmail.com> wrote: >> >> I'm working on an LLVM backend for Idris, a garbage-collected pure >> functional programming language, and have experienced some frustration >> that LLVM's GC support, specifically with regard to mapping roots, >> operates only on...
2012 Dec 30
0
[LLVMdev] Extending GC infrastructure for roots in SSA values
...insics continue to work. The challenge of this approach is that a lot of backend code will need to unwrap the annotated type in order to operate upon it, and it would be all too easy to discard the associated metadata as part of this process. On Fri, Dec 28, 2012 at 1:09 PM, Benjamin Saunders <ralith at gmail.com> wrote: > I'm working on an LLVM backend for Idris, a garbage-collected pure > functional programming language, and have experienced some frustration > that LLVM's GC support, specifically with regard to mapping roots, > operates only on allocas. This entails a...