Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I don't think you understood what I was saying, and others replying to you are also off the mark, at least for the excerpt you quote.

LLVM is a compiler framework. Retargetability is a function of compilers, not languages. Most compilers are retargetable. A good sign is if a compiler generates code for more than 2, unrelated processors. Retargetability is just an engineering design. Most C, C++ compilers (in fact, most non-toy compilers maintained by more than a half a dozen people) are retargetable.

Think of retargetability is related to portability, but not same. A compiler can be non-portable but retargetable. Many compilers for small embedded processors target a huge number of processors, while themselves running on only x86 and Windows. That is called cross-compilation :-)



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: