* [TUHS] A Unix Code Walkthrough by Ken Thompson
@ 2024-12-28 21:40 Warren Toomey via TUHS
2025-01-13 5:11 ` [TUHS] " Warren Toomey via TUHS
0 siblings, 1 reply; 5+ messages in thread
From: Warren Toomey via TUHS @ 2024-12-28 21:40 UTC (permalink / raw)
To: tuhs
Hi all, I've just received a set of MP3 recordings from Bob Kridle. He says:
These are recordings of Ken Thompson doing a read through of one of
an early UNIX kernel code listing with a group of grad students at
UC Berkeley while he was a visiting prof. there.
The date is roughly 1975. I've put the recordings here along with his
e-mails about the recordings:
https://www.tuhs.org/Archive/Recordings/1975_Unix_Code_Walkthru/
I've only just listened to the first few minutes of each. The quality
is fine, but I might spend some time reducing the noise, bringing up
the quiet parts and removing a few clicks and pops.
If anybody else has more details of these recording, please let us know!
Cheers, Warren
^ permalink raw reply [flat|nested] 5+ messages in thread
* [TUHS] Re: A Unix Code Walkthrough by Ken Thompson
2024-12-28 21:40 [TUHS] A Unix Code Walkthrough by Ken Thompson Warren Toomey via TUHS
@ 2025-01-13 5:11 ` Warren Toomey via TUHS
2025-01-13 6:23 ` Jonathan Gray
0 siblings, 1 reply; 5+ messages in thread
From: Warren Toomey via TUHS @ 2025-01-13 5:11 UTC (permalink / raw)
To: Warren Toomey via TUHS
On Sun, Dec 29, 2024 at 07:40:15AM +1000, Warren Toomey via TUHS wrote:
> Hi all, I've just received a set of MP3 recordings from Bob Kridle. He says:
>
> These are recordings of Ken Thompson doing a read through of one of
> an early UNIX kernel code listing with a group of grad students at
> UC Berkeley while he was a visiting prof. there.
>
> The date is roughly 1975. I've put the recordings here along with his
> e-mails about the recordings:
>
> https://www.tuhs.org/Archive/Recordings/1975_Unix_Code_Walkthru/
Eric Allman has kindly supplied a scan of the source code that ken
provided for the walkthrough. I've added it to the above location.
It's interesting in that there are comments at the start of each
function - the existing 5th Edition code that we have does not
have these comments.
Cheers & thanks Eric!
Warren
^ permalink raw reply [flat|nested] 5+ messages in thread
* [TUHS] Re: A Unix Code Walkthrough by Ken Thompson
2025-01-13 5:11 ` [TUHS] " Warren Toomey via TUHS
@ 2025-01-13 6:23 ` Jonathan Gray
2025-03-16 6:26 ` Jonathan Gray
0 siblings, 1 reply; 5+ messages in thread
From: Jonathan Gray @ 2025-01-13 6:23 UTC (permalink / raw)
To: Warren Toomey; +Cc: tuhs
On Mon, Jan 13, 2025 at 03:11:21PM +1000, Warren Toomey via TUHS wrote:
> On Sun, Dec 29, 2024 at 07:40:15AM +1000, Warren Toomey via TUHS wrote:
> > Hi all, I've just received a set of MP3 recordings from Bob Kridle. He says:
> >
> > These are recordings of Ken Thompson doing a read through of one of
> > an early UNIX kernel code listing with a group of grad students at
> > UC Berkeley while he was a visiting prof. there.
> >
> > The date is roughly 1975. I've put the recordings here along with his
> > e-mails about the recordings:
> >
> > https://www.tuhs.org/Archive/Recordings/1975_Unix_Code_Walkthru/
>
> Eric Allman has kindly supplied a scan of the source code that ken
> provided for the walkthrough. I've added it to the above location.
> It's interesting in that there are comments at the start of each
> function - the existing 5th Edition code that we have does not
> have these comments.
With alloc.c the comments are there in v6 and the copyright line
removal matches the changes between v5 and v6.
The code appears to be somewhere between v6 and the "50 changes" tape
described by Mike O'Brien in:
Applications/Spencer_Tapes/unsw3.tar.gz
usr/sys/v6unix/changenotes
Some of the pages are dated 1976, and sysent[] on p 87 has post v6
system calls: access(), alarm(), pause().
Thanks to all involved for making this available.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [TUHS] Re: A Unix Code Walkthrough by Ken Thompson
2025-01-13 6:23 ` Jonathan Gray
@ 2025-03-16 6:26 ` Jonathan Gray
2025-03-18 9:39 ` Jonathan Gray
0 siblings, 1 reply; 5+ messages in thread
From: Jonathan Gray @ 2025-03-16 6:26 UTC (permalink / raw)
To: Warren Toomey; +Cc: tuhs
On Mon, Jan 13, 2025 at 05:23:11PM +1100, Jonathan Gray wrote:
> On Mon, Jan 13, 2025 at 03:11:21PM +1000, Warren Toomey via TUHS wrote:
> > On Sun, Dec 29, 2024 at 07:40:15AM +1000, Warren Toomey via TUHS wrote:
> > > Hi all, I've just received a set of MP3 recordings from Bob Kridle. He says:
> > >
> > > These are recordings of Ken Thompson doing a read through of one of
> > > an early UNIX kernel code listing with a group of grad students at
> > > UC Berkeley while he was a visiting prof. there.
> > >
> > > The date is roughly 1975. I've put the recordings here along with his
> > > e-mails about the recordings:
> > >
> > > https://www.tuhs.org/Archive/Recordings/1975_Unix_Code_Walkthru/
> >
> > Eric Allman has kindly supplied a scan of the source code that ken
> > provided for the walkthrough. I've added it to the above location.
> > It's interesting in that there are comments at the start of each
> > function - the existing 5th Edition code that we have does not
> > have these comments.
>
> With alloc.c the comments are there in v6 and the copyright line
> removal matches the changes between v5 and v6.
>
> The code appears to be somewhere between v6 and the "50 changes" tape
> described by Mike O'Brien in:
> Applications/Spencer_Tapes/unsw3.tar.gz
> usr/sys/v6unix/changenotes
I've retyped the source code to make it easier to compare:
https://github.com/jonathangray/v6-allman
Some of the changes are in other v6-derived trees. Some such as the
bootstrap and parity changes I couldn't find elsewhere.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [TUHS] Re: A Unix Code Walkthrough by Ken Thompson
2025-03-16 6:26 ` Jonathan Gray
@ 2025-03-18 9:39 ` Jonathan Gray
0 siblings, 0 replies; 5+ messages in thread
From: Jonathan Gray @ 2025-03-18 9:39 UTC (permalink / raw)
To: tuhs
On Sun, Mar 16, 2025 at 05:26:19PM +1100, Jonathan Gray wrote:
> On Mon, Jan 13, 2025 at 05:23:11PM +1100, Jonathan Gray wrote:
> > On Mon, Jan 13, 2025 at 03:11:21PM +1000, Warren Toomey via TUHS wrote:
> > > On Sun, Dec 29, 2024 at 07:40:15AM +1000, Warren Toomey via TUHS wrote:
> > > > Hi all, I've just received a set of MP3 recordings from Bob Kridle. He says:
> > > >
> > > > These are recordings of Ken Thompson doing a read through of one of
> > > > an early UNIX kernel code listing with a group of grad students at
> > > > UC Berkeley while he was a visiting prof. there.
> > > >
> > > > The date is roughly 1975. I've put the recordings here along with his
> > > > e-mails about the recordings:
> > > >
> > > > https://www.tuhs.org/Archive/Recordings/1975_Unix_Code_Walkthru/
> > >
> > > Eric Allman has kindly supplied a scan of the source code that ken
> > > provided for the walkthrough. I've added it to the above location.
> > > It's interesting in that there are comments at the start of each
> > > function - the existing 5th Edition code that we have does not
> > > have these comments.
> >
> > With alloc.c the comments are there in v6 and the copyright line
> > removal matches the changes between v5 and v6.
> >
> > The code appears to be somewhere between v6 and the "50 changes" tape
> > described by Mike O'Brien in:
> > Applications/Spencer_Tapes/unsw3.tar.gz
> > usr/sys/v6unix/changenotes
>
> I've retyped the source code to make it easier to compare:
> https://github.com/jonathangray/v6-allman
>
> Some of the changes are in other v6-derived trees. Some such as the
> bootstrap and parity changes I couldn't find elsewhere.
A scheduler change from the Naval Postgraduate School, described by Ken as
"this is a fix from Monterey, and I think it's wrong".
Tape 1 (Cleaner) ~ 43:17
Mentioned in the November 1976 UNIX News
https://archive.org/details/unix_news_november-1976/page/n1/mode/2up
tuhs Documentation/Usenix/Early_Newsletters/197611-unix-news-n11.pdf
"Also available by separate request only is a new scheduler, which scans
the process table twice; the first pass throws out a process only if
that process alone will make room for the new process. NPS claims 25%
improvement on a 48K machine, Ken Thompson thinks otherwise. You will
have to judge for yourself."
And in February 1976, though the text in the scan is hard to read
https://archive.org/details/unix_news_feb-10-1976/page/n7/mode/2up
tuhs Documentation/Usenix/Early_Newsletters/19760210-unix-news-n3.pdf
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2025-03-18 9:40 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-28 21:40 [TUHS] A Unix Code Walkthrough by Ken Thompson Warren Toomey via TUHS
2025-01-13 5:11 ` [TUHS] " Warren Toomey via TUHS
2025-01-13 6:23 ` Jonathan Gray
2025-03-16 6:26 ` Jonathan Gray
2025-03-18 9:39 ` Jonathan Gray
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).