Re:Integrating with LLVM
by qznc on Thursday November 06, 2014 @04:00PM
(#8569731)
What approach do others use? API or Bitcode? The pro and contra discussion is quite short in the article.
[ Parent
| on HN ]
Well, I'd mainly written it for people who were (already) asking me about how we differed from other integrations or why we did what we did ...
LDC (D with LLVM) is written in C++, so they invoke LLVM APIs, but I don't know what they generate (bitcode or machine code).
Julia is written in C++, they invoke LLVM APIs, they call the JIT.
CLASP is written in C++ and Common Lisp, they invoke LLVM APIs, but I'm not sure if they only JIT or if he stores anything to disk yet.
And so on ...