<div dir="ltr"><div class="gmail_default" style="font-family:arial,sans-serif">By the way, the unmatched portability of Plan 9 and Go stems from the way Ken structured that compiler. My talk at GopherCon about the Go assembler describes this architecture and why it worked so well. Others feel that by being unorthodox it is clearly bogus and we are jackasses, but such complainers only notice the difference and don't ask why the difference is there.</div><div class="gmail_default" style="font-family:arial,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,sans-serif">-rob</div><div class="gmail_default" style="font-family:arial,sans-serif"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 8, 2024 at 12:10 PM Rob Pike <<a href="mailto:robpike@gmail.com">robpike@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:arial,sans-serif">Yes. Ken wrote the first version for the National 32000 (maybe even 16000?) on the Sequent. He ported to the MIPS when we started Plan 9.</div><div class="gmail_default" style="font-family:arial,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,sans-serif">-rob</div><div class="gmail_default" style="font-family:arial,sans-serif"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 8, 2024 at 12:08 PM Bakul Shah <<a href="mailto:bakul@iitbombay.org" target="_blank">bakul@iitbombay.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>What is the history of Plan9's C compiler? Was it a from scratch implementation?<div><div><div><br><blockquote type="cite"><div>On Mar 7, 2024, at 4:57 PM, Rob Pike <<a href="mailto:robpike@gmail.com" target="_blank">robpike@gmail.com</a>> wrote:</div><br><div><div dir="ltr"><div class="gmail_default" style="font-family:arial,sans-serif">Chris Fraser and Dave Hanson did LLC and wrote a book about it, very clean and pedagogically valuable.</div><div class="gmail_default" style="font-family:arial,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,sans-serif"><a href="https://www.amazon.com.au/Retargetable-C-Compiler-Design-Implementation/dp/0805316701" target="_blank">https://www.amazon.com.au/Retargetable-C-Compiler-Design-Implementation/dp/0805316701</a><br></div><div class="gmail_default" style="font-family:arial,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,sans-serif">-rob</div><div class="gmail_default" style="font-family:arial,sans-serif"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 8, 2024 at 11:31 AM Warner Losh <<a href="mailto:imp@bsdimp.com" target="_blank">imp@bsdimp.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 7, 2024 at 5:08 PM Rich Salz <<a href="mailto:rich.salz@gmail.com" target="_blank">rich.salz@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div id="m_3624744875020695586m_-4374998479330229515m_-7096984224237010901m_-4384660376711081016gmail-:363" style="display:block"><div id="m_3624744875020695586m_-4374998479330229515m_-7096984224237010901m_-4384660376711081016gmail-:35z" aria-label="Message Body" role="textbox" aria-multiline="true" style="direction:ltr;min-height:85px" aria-controls=":3mj" aria-expanded="false"><div>I believe Snyder was an MIT Master's thesis, finished in 1975[1].  There was a fair amount of C and compiler work at MIT LCS, perhaps JNC can post some info. I think Snyder's compiler was used for the MIT PC/IP[2] project; the links at BitSavers imply they are related. PC/IP brought TCP and clients to DOS 3 machines and was commercialized as FTP software and was one of the reasons for the creation of the MIT license[4]. BDS C[3] was done by an MIT drop-out, Leor Zolman. I bought my first motorcycle from him :) BDS C was used for the first implementations of MINCE (mince is not complete emacs -- those kinds of acronyms were popular) and Scribble, downsized clones of emacs and Scribe, respectively.<br></div><div><br></div><div>[1] <a href="http://www.lcs.mit.edu/publications/specpub.php?id=717" target="_blank">http://www.lcs.mit.edu/publications/specpub.php?id=717</a></div><div>[2] <a href="https://web.mit.edu/Saltzer/www/publications/pcip-1986.pdf" target="_blank">https://web.mit.edu/Saltzer/www/publications/pcip-1986.pdf</a></div><div>[3] <a href="https://en.wikipedia.org/wiki/BDS_C" target="_blank">https://en.wikipedia.org/wiki/BDS_C</a></div></div></div></div><div>[4] <a href="https://ieeexplore.ieee.org/document/9263265" target="_blank">https://ieeexplore.ieee.org/document/9263265</a></div></div></blockquote><div><br></div><div>Judging from what's at the bitsavers I posted, the source for pcip and this is the backstory to them.</div><div><br></div><div>Warner</div></div></div>
</blockquote></div>
</div></blockquote></div><br></div></div></div></blockquote></div>
</blockquote></div>