3 ms·
I'm hacking on a compiler written in C, which isn't worse than LLVM: http://libfirm.org http://libfirm.org
by beza1e1 17y ago
I'm hacking on a compiler written in C, which isn't worse than LLVM: http://libfirm.org http://libfirm.org
- eru 17y agoWhy 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?
- nvoorhies 17y agoBecause 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.
- eru 17y agoWhere (and when) would the compiler for the shader run?