Path: csiph.com!eternal-september.org!feeder3.eternal-september.org!news.iecc.com!.POSTED.news.iecc.com!nerds-end From: George Neuner Newsgroups: comp.compilers Subject: Re: Paper: Developing a Modular Compiler for a Subset of a C-like Language Date: Sat, 25 Jan 2025 19:07:44 -0500 Organization: Compilers Central Sender: news%iecc.com Approved: comp.compilers@iecc.com Message-ID: <25-01-031@comp.compilers> References: <25-01-004@comp.compilers> <25-01-010@comp.compilers> <25-01-012@comp.compilers> <25-01-014@comp.compilers> <25-01-022@comp.compilers> <25-01-030@comp.compilers> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="72960"; mail-complaints-to="abuse@iecc.com" Keywords: books, comment Posted-Date: 26 Jan 2025 17:03:17 EST X-submission-address: compilers@iecc.com X-moderator-address: compilers-request@iecc.com X-FAQ-and-archives: http://compilers.iecc.com Xref: csiph.com comp.compilers:3634 On Thu, 23 Jan 2025 20:49:51 -0500, OrangeFish wrote: >I was suggesting Wirth to answer Salvador Misro's request for "Would you >recommend an equivalent paper or book that addresses these short-comings >but maintains the educational spirit of the paper?". > >Is Wirth (in any version) suitable? Wirth's books are fine for dipping your toes in the ocean of language implementation. They are pretty well written and they cover the entire compiler from parsing to code generation. However, they are undergrad level at best - I have yet to see Wirth demonstrates any significant optimizations [middle or back end], or any attempt at implementing a functional language. SFAIHS, everything he has written has been about either procedural or OO implementation. [My impression is that the largest difference between old compiler books and the state of the art is that optimization and the analysis that enables it has gotten vastly more sophisticated. Back when the Dragon Book was first written, compilers often had to fit in 64K and if you wanted to keep the intermediate code in memory, you couldn't compile very big programs. -John]