http://lambda-the-ultimate.org/node/5648 Lambda the Ultimate The Programming Languages Weblog [ ] [Search] Browse archives Home << September 2022 Graydon Hoare: 21 compilers Su Mo Tu We Th Fr Sa and 3 orders of magnitude in 1 2 3 60 minutes 4 5 6 7 8 9 10 11 12 13 14 15 16 17 In 2019, Graydon Hoare gave a 18 19 20 21 22 23 24 talk to undergraduates (PDF of 25 26 27 28 29 30 slides) trying to communicate a sense of what compilers Active forum topics looked like from the perspective of people who did * A Manufacturer's it for a living. Perspective on PL Progress I've been aware of this talk * Do we need for over a year and meant to exactly two submit a story here, but was binding overcome by the sheer number constructs? of excellent observations. * Thomas Lord an I'll just summarise the groups LtU regular, he uses: dies at 56 [xml] * Basic building * The giants: by which he blocks of a Home means the big compilers programming that are built the language Feedback old-fashioned way that * The hidden cost throw massive resources at of exception FAQ attaining efficiency handling * The variants, which use Getting Started tricks to avoid being so more massive: Discussions 1. Fewer optimisations: New forum topics be traditional, but be Site operation selective and only the * A Manufacturer's discussions optimisations that Perspective on really pay off PL Progress Recent Posts 2. Use compiler-friendly * Thomas Lord an languages, by which he LtU regular, (new topic) is really taking about dies at 56 languages that are * Basic building Departments good for implementing blocks of a compilers, like Lisp programming Courses and ML language 3. Theory-driven * The hidden cost Research Papers meta-languages, esp. of exception how something like handling Design Docs yacc allows a * My article on traditional state machines Quotations Dragon-book style and DSL compiler to be written evolution Genealogical more easily Diagrams 4. Base compiler on a more carefully designed IR Archives that is either easy to Recent comments ----------------- compile or reasonable to bytecode-interpret * Various points User login 5. Exercise discretion to 6 hours 19 min have the object code ago Username: be a mix of compiled * Fascinating [ ] and interpreted article! Password: 6. Use sophisticated 3 days 11 hours [ ] partial evaluation ago [Log in] 7. Forget tradition and * Ah! The double implement everything post... * Create new directly by hand 3 days 20 hours account ago * Request new I really recommend spending * Your efforts are password time working through these appreciated, slides. While much of the Anton Navigation material I was familiar with, 3 days 20 hours enough was new, and I really ago * recent posts appreciated the well-made * Your efforts are points, shout-outs to projects appreciated, that deserve more visibility, Anton such as Nanopass compilers and 3 days 20 hours CakeML, and the presentation ago of the Futamura projections, a * Example? famously tricky concept, at 1 week 2 days the undergraduate level. ago * Self 4.0 ... By Charles Stewart at 1 week 2 days 2022-02-27 14:47 | ago Implementation | other blogs | * Can you reopen 22261 reads comments? ------------------------------ 1 week 2 days Logs: Hack The Planet ; ago JavaLobby ; Daily Python-URL ; * Thank you Daily WTF ; PHP everywhere ; 1 week 2 days (more) ago Wikis: WikiWiki ; Erlang ; * May his memory Common Lisp ; Haskell ; Squeak be a blessing ; Tcl ; Program Transformation 7 weeks 2 days ago