Re:Linux on Chromebooks just might get me through a masters ...
by thiht on Monday June 14, 2021 @10:32AM
(#27502994)
Not sure what compiling LLVM has to do with a compiler class though. Yes it's a compiler, but compiling it won't give lots of insights on how a compiler works or how to write one?
[ Parent
| on HN ]
Re:Linux on Chromebooks just might get me through a masters ...
by chrisseaton on Monday June 14, 2021 @10:39AM
(#27503090)
> Not sure what compiling LLVM has to do with a compiler class though.
Not normal to work on a compiler during a compiler class?
Re:Linux on Chromebooks just might get me through a masters ...
by thiht on Monday June 14, 2021 @12:37PM
(#27504724)
On toy compilers to present the basics sure. On LLVM, maybe that's a bit much? Reading the code, why not, but compiling it? Don't see the point in a compiler course. I can't see what you could learn about compilation in a CS sense by compiling LLVM.
Re:Linux on Chromebooks just might get me through a masters ...
by chrisseaton on Monday June 14, 2021 @01:13PM
(#27505214)
> Reading the code, why not, but compiling it?
Compiling it with changes you made to learn about how compilers work. Such as adding a new optimisation phase.
> I can't see what you could learn about compilation in a CS sense by compiling LLVM.
You don't learn by compiling it obviously. You learn by extending it and running it, and to do that you need to compile it.