From mboxrd@z Thu Jan 1 00:00:00 1970 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> In-reply-to: Your message of "Thu, 03 Feb 2011 15:33:57 EST." <7c9185b80ba40fd32ba3aa75bdcc8fcf@ladd.quanstro.net> References: <2c752317a96b7b8b980ad37e92ff6f01@terzarima.net> <20110203021608.006575B67@mail.bitblocks.com> <2c48b8397b29ededd862efa6de0baf70@brasstown.quanstro.net> <20110203174129.C984D5B91@mail.bitblocks.com> <20110203183304.648355B91@mail.bitblocks.com> <05360a88f7a0cd797278d6bd6a3ae73f@ladd.quanstro.net> <20110203194058.8F4B55B91@mail.bitblocks.com> <7c9185b80ba40fd32ba3aa75bdcc8fcf@ladd.quanstro.net> From: Bakul Shah Date: Thu, 3 Feb 2011 23:16:05 -0800 Message-Id: <20110204071605.E2F955B92@mail.bitblocks.com> Subject: Re: [9fans] Modern development language for Plan 9, WAS: Re: RESOLVED: recoving important header file rudely Topicbox-Message-UUID: ac6f5fc8-ead6-11e9-9d60-3106f5b1d025 On Thu, 03 Feb 2011 15:33:57 EST erik quanstrom wrote: > > I must also say llvm has a lot of functionality. But even so > > there is a lot of bloat. Let me just say the bloat is due to > > many factors but it has far *less* to do with graphs. > > Download llvm and take a peek. I think the chosen language > > and the habits it promotes and the "impedance match" with the > > problem domain does play a significant role. > > do you know of a compiler that uses a > graph-based approach that isn't huge? Stalin (source code ~3300 lines). There are others. > > Or something equivalent. Example: How do you know moving an > > expression out of a for loop is valid? The optimizer needs to > > understand the control flow. > > is this still a useful thing to be doing? Yes.