Re:LLVM's Clang Successfully Self-Hosts
by beza1e1 on Friday February 05, 2010 @01:57AM
(#1102954)
I'm hacking on a compiler written in C, which isn't worse than LLVM: http://libfirm.org
[ Parent
| on HN ]
Why do a compiler in C at all? I mean, why should a low-level systems language (that values speed above everything) be particularly suited to transforming programs from one language into another?
Re:LLVM's Clang Successfully Self-Hosts
by nvoorhies on Friday February 05, 2010 @01:04PM
(#1104269)
Because this allows you to compile in places and times where a language with more suitability towards compilation but heavier time or memory needs would be unsuitable.
One example that pops to mind is shader programs on a GPU.