News for hackers. Stuff that matters.
Re:Firefox’s new streaming and tiering compiler by filereaper on Wednesday January 17, 2018 @01:39PM (#16170488)
Total Aside. As a compiler and runtimes guy, I'm super excited for streaming compilation. I think stuff like this and ethereum for distributed computation is really cool stuff! :D
Re:Firefox’s new streaming and tiering compiler by dfox on Wednesday January 17, 2018 @01:52PM (#16170598)
Streaming compilation is the way it was always historically done. One reason is that computers used to not have enough RAM to store whole non-trivial programs in it in AST or another intermediate form.

Second reason is that this approach matches how the underlying theory of languages and automatons works. One can view modern AST producing compiler frontend as compiler that compiles it's input into program that builds the resulting AST.

On the other hand many modern optimalization passes simply cannot be done in streaming manner or even by any pushdown automaton.

Re:Firefox’s new streaming and tiering compiler by caf on Wednesday January 17, 2018 @10:25PM (#16174425)
Yes, which is likely why in older languages like C you must declare symbols before you use them etc.