Adam Sampson's compiler bookmarkshttps://bookmarks.offog.org/ats/compilerAdam Sampson2023-10-26T12:05:29Zresearch!rsc: Running the “Reflections on Trusting Trust” Compilerhttps://bookmarks.offog.org/edit?url=https%3A%2F%2Fresearch.swtch.com%2Fnih2023-10-26T12:05:29ZWith analysis of the surprisingly short source code.marcpaq/b1fipl: A Bestiary of Single-File Implementations of Programming Languageshttps://bookmarks.offog.org/edit?url=https%3A%2F%2Fgithub.com%2Fmarcpaq%2Fb1fipl2020-06-29T13:01:39Z(No notes.)What can we learn from how compilers are designed?https://bookmarks.offog.org/edit?url=https%3A%2F%2Fwww.tedinski.com%2F2018%2F03%2F13%2Fhow-compilers-are-designed.html2018-10-24T20:51:30ZDiscusses things like "Why so many IRs?". Probably of interest to CMP409 students.How LLVM Optimizes a Function – Embedded in Academiahttps://bookmarks.offog.org/edit?url=https%3A%2F%2Fblog.regehr.org%2Farchives%2F16032018-09-11T21:41:45ZA nice walkthrough of how LLVM's optimisation passes rewrite a simple loop. This assumes you know how LLVM's SSA representation works, but it'll still make sense even if you don't.N4455 No Sane Compiler Would Optimize Atomicshttps://bookmarks.offog.org/edit?url=http%3A%2F%2Fwww.open-std.org%2Fjtc1%2Fsc22%2Fwg21%2Fdocs%2Fpapers%2F2015%2Fn4455.html2018-09-11T14:59:50Z"Compilers do optimize atomics, memory accesses around atomics, and utilize architecture-specific knowledge. This paper illustrates a few such optimizations, and discusses their implications."CMOC - 6809 cross-compiler for a C-like languagehttps://bookmarks.offog.org/edit?url=http%3A%2F%2Fperso.b2b2c.ca%2F%7Esarrazip%2Fdev%2Fcmoc.html2018-01-20T17:28:26Z"CMOC is a 6809-generating cross-compiler for a subset of the C language."picol, a Tcl interpreter in 550 lines of C codehttps://bookmarks.offog.org/edit?url=http%3A%2F%2Foldblog.antirez.com%2Fpost%2Fpicol.html2018-01-06T23:22:38ZAs it says. Nothing fancy, but this is a nice example of a small language.Software Preservation Group — Software Preservation Grouphttps://bookmarks.offog.org/edit?url=http%3A%2F%2Fwww.softwarepreservation.org%2F2017-09-13T13:07:48ZSome fairly specific archiving projects from CHM -- e.g. as much as they could collect about early Fortran compilers.graydon2 | "What next?"https://bookmarks.offog.org/edit?url=http%3A%2F%2Fgraydon2.dreamwidth.org%2F253769.html2017-09-12T19:19:36Z"After memory safety, what do you think is the next big step for compiled languages to take?" Some interesting suggestions.Why ML/OCaml are good for writing compilershttps://bookmarks.offog.org/edit?url=http%3A%2F%2Fflint.cs.yale.edu%2Fcs421%2Fcase-for-ml.html2017-05-13T19:51:45ZAs it says.The T3X Language and Compiler - T3X.ORGhttps://bookmarks.offog.org/edit?url=http%3A%2F%2Ft3x.org%2Ft3x%2F2017-05-13T14:03:53Z"T3X9 is a tiny, yet comprehensible, procedural language, much like Pascal or BCPL, but even more minimal. Its compiler is small and fast." There's a book about how the compiler works too.