They wrote this without googling anything.
Bell Labs 'Unix' Tape from 1974 Successfully Dumped to a Tarball
Submitted 2 weeks ago by sundray@lemmus.org to technology@lemmy.world
Comments
truthfultemporarily@feddit.org 2 weeks ago
bigfondue@lemmy.world 2 weeks ago
It’s actually really easy when you get to make everything up as you go along.
WhiskyTangoFoxtrot@lemmy.world 2 weeks ago
The modern world was born in NJ
* looks at modern world *
Yeah, that tracks.
xthexder@l.sw0.com 2 weeks ago
Hello World in 1974: echo.c
main(argc, argv) int argc; char *argv[]; { int i; argc--; for(i=1; i<=argc; i++) printf("%s%c", argv[i], i==argc? '\n': ' '); }
ZoteTheMighty@lemmy.zip 2 weeks ago
Bloat, they wasted an extra integer operation with
argc–.
bigfondue@lemmy.world 2 weeks ago
If you had a question about C, you would just consult K&R, but not the book
BreadstickNinja@lemmy.world 2 weeks ago
They were chatting with ELIZA and vibe coded the whole thing
AllHailTheSheep@sh.itjust.works 2 weeks ago
my grandmother was a programmer at bell in the early 60s and 70s. really curious if she had hands on any of this. wish she was still around to ask lol.
you only realize how cool your grandparents were after they’re gone.
solrize@lemmy.ml 2 weeks ago
This is Unix v4 I think. The programs mentioned were also on later versions and I thought not hard to find. V6 sources are all online somewhere. I also expect some of those v4 programs may have been in assembler rather than C.
eleijeep@piefed.social 2 weeks ago
Tape image: https://archive.org/details/utah_unix_v4_raw
Extracted filesystem: http://squoze.net/UNIX/v4/README
a_non_monotonic_function@lemmy.world 2 weeks ago
TIL that slashdot is still around. XD
Itdidnttrickledown@lemmy.world 2 weeks ago
Its been though several hands and the latest ones love floating bug the fuck out of you ads. I used to have a button on for decades to disable ads due to me being a regular contributor. The latest owners took that away.
xthexder@l.sw0.com 2 weeks ago
I downloaded the tarball and had a look through it. Almost everything has source code included, which is pretty cool to see.
There’s an entire C compiler from 1972, bootstrapped to be written in C. There was also a SNOBOL III compiler written in C, and some Fortran stuff.
Unsurprisingly grep was written in assembly, but it’s source is there.
There’s also a games folder, but unfortunately these look like they’re just binaries: bj, chess, cubic, moo, ttt, wump I’ll have to load up a pdp11 emulator later to see what they are.
coolmojo@lemmy.world 2 weeks ago
Thank you for sharing the insights. I heard bj is a good game.
nomecks@lemmy.wtf 2 weeks ago
Your mom loves it
koella@lemmy.zip 2 weeks ago
Nancy Reagan still has the high score
WhiskyTangoFoxtrot@lemmy.world 2 weeks ago
Hunt the Wumpus! A true classic.
(I’m serious. Try it. It’s fun. I think it’s in the bsdgames package.)
merc@sh.itjust.works 2 weeks ago
Don’t accidentally get the bdsmgames package instead, that’s for a different kind of game.
HamsterRage@lemmy.ca 2 weeks ago
Wow. SNOBOL was one of the coolest, Stange languages.