[I sent this already two days ago, but apparently the message didn't get through. It is not in the archive either.] I've read through the Programmer's Manual, Language Reference, and Kaleidoscope Tutorial, still I'm struggling to get started hands-on with LLVM. This may just be a passing phase and I'm in no hurry, so I'd like to take the time to read up some more on the use and inner workings of LLVM. My interest is mainly in using LLVM as the code generator for dynamic and/or functional languages. Are any of the LLVM-related[1] publications or other papers/books particularly recommended for this purpose? Incidentally, the recent "Criticism of garbage collection [...]" thread brought Pure[2] to my attention and I'll surely have a look at the code. Michael [1] http://llvm.org/pubs/ [2] http://pure-lang.googlecode.com/ -- Michael Schuerig mailto:michael at schuerig.de http://www.schuerig.de/michael/
On Friday 23 January 2009 10:51:53 Michael Schuerig wrote:> My interest is mainly in using LLVM as the code generator for dynamic > and/or functional languages. Are any of the LLVM-related[1] > publications or other papers/books particularly recommended for this > purpose?You may be interested in the new series of OCaml Journal articles about the creation of compilers for functional languages using LLVM from OCaml that I just announced on this list. However, the articles currently only cover statically typed functional languages (like OCaml and F#). If there is sufficient interest in the compilation of dynamically typed languages then that could be addressed in later articles. Is anyone interested in that?> Incidentally, the recent "Criticism of garbage collection [...]" thread > brought Pure[2] to my attention and I'll surely have a look at the > code.Yes. I also discovered Pure when I began using LLVM and it served as an excellent case study. -- Dr Jon Harrop, Flying Frog Consultancy Ltd. http://www.ffconsultancy.com/?e
On Sunday 25 January 2009, Jon Harrop wrote:> On Friday 23 January 2009 10:51:53 Michael Schuerig wrote: > > My interest is mainly in using LLVM as the code generator for > > dynamic and/or functional languages. Are any of the LLVM-related[1] > > publications or other papers/books particularly recommended for > > this purpose? > > You may be interested in the new series of OCaml Journal articles > about the creation of compilers for functional languages using LLVM > from OCaml that I just announced on this list.Yes, I noticed your announcement and I'll keep it in mind, however, this is not the route I'd like to take right now as I don't want to add yet another language to the mix. It's likely that I'm going to learn OCaml some time, but not in the near future. Nonetheless, thanks for pointing out the articles. Michael -- Michael Schuerig mailto:michael at schuerig.de http://www.schuerig.de/michael/