Literate Programming in the Large
Channel:Next Day Video · Length:35:58 · Published:2013-06-27 · Views:17906
Summary
Timothy Daly, an original author of the Axiom computer algebra system, talks about turning a large Common Lisp codebase into a literate program. He argues code should be written as readable manuals, and the talk was given at Write the Docs 2013.
Why HN recommends it
HN recommends it in literate programming threads as a rare look at applying the idea to a huge, complex codebase, though some find it meandering.
well worth watching: it talks about real, huge comolex systems, and how lp can help bring them back under control — HN, 2016
Functional programming · Software practice, open source & careers
Subtitles (excerpt)
and while they're they're playing with that um I'm here to set the the mood I'm here as an evangelist okay uh so if you're want your company to change uh you probably want to have me come in and sing the song I'm here to tell you that first of all you're doing it wrong the second thing to tell you is you're Godlike figures and your company doesn't know it yet okay um obviously I'm not a Godlike figure because I can't make my huh all right we've lost it um pull it out let me just uh do my slides as I as though they're local this is going to make it somewhat more challenging okay I can dance I don't even have my slides all right I'm here to talk to you about a a uh project called ax axium is a computer algebra system um and uh I worked on it uh when I was at IBM research it was a an Innovative system it was the first general purpose computer algebra system uh it did the annoying things like doing your uh equations that you used to have in high school and it does uh it is one of the largest computer rber systems in the world we worked on it for quite a few years uh it had about 300 people it was about a $42 million project it ran out for 21 years uh at one point rean cut the uh funding for the federal labs and when he cut the funding the IBM
On Hacker News
"Programs should be written for people to read, and only incidentally for machines to execute." (Structure and Interpretation of Computer Programs" by Abelson and Sussman) The idea is that you write a "Book" and the program is extracted, from the book. Literate Programming Wikipedia: [LINK] A nice talk about it: [VIDEO] — elviejo, 2017-05
There's a (somewhat rambling, but interesting) talk on the effort to rewrite the lisp symbolic math system Axiom[a] as a literate program (spanning several books) - precisely in order to make it possible to refactor and maintain the code: "Literate Programming in the Large": [VIDEO] [a] [LINK] — e12e, 2016-07
I think there are two sound approaches to communicating complex systems between humans (which is the main goal here, a computer might be a bit slow compiling 200M LOC - but the real problem is that no human can read that much code, let alone understand it): 1) Write documentation that is also code. That is the idea of literate programming. I recently came across: "Literate Programming in the Larg… — e12e, 2016-05
I found this talk about re-structuring and bringing back to life a 1.2 MLOC lisp codebase with classical LP interesting (it's a bit meandering, but INHO well worth a watch): "Literate Programming in the Large": [VIDEO] The reorganization is still ongoing, as can been seen at: [LINK] — e12e, 2016-05
I like Tim Daly's viewpoint that we shouldn't just be writing code , but we should write manuals - giving high level overviews of our problems and specifying their implementation details inside the manuals. His talk "Literate Programming in the Large"[1] covers why. The example he gives in his talk is the Axiom algebra system[2], which was revised to use literate programming style - the source co… — sparkie, 2014-04
Related videos
- CppCon 2015: Sean Parent "Better Code: Data Structures" · CppCon · 1:04:00
- 7 Habits For Effective Text Editing 2.0 · GoogleTalksArchive · 1:20:29
- 7 Habits For Effective Text Editing 2.0 · Google · 1:20:29
- Bhopal Disaster - BBC - The Yes Men · razorfoundation · 5:29
- CppCon 2015: Kate Gregory “Stop Teaching C" · CppCon · 1:00:11
- Richard Feynman Computer Science Lecture - Hardware, Software and Heuristics · Muon Ray · 1:15:47
- Growing a Language, by Guy Steele · Bill Pugh · 53:31
- Julia: to Lisp or not to Lisp? · European Lisp Symposium · 1:04:53
- Alan Kay at OOPSLA 1997 - The computer revolution hasnt happened yet · Jeff Gonis · 1:04:33
- Dabble DB demo · krueggen · 6:46
- CppCon 2015: Herb Sutter "Writing Good C++14... By Default" · CppCon · 1:29:05
- 4 2 1 Christopher Domas The future of RE Dynamic Binary Visualization · Adrian Crenshaw · 48:39
- Alan Kay: A powerful idea about teaching ideas · TED · 20:38
- Keynote - JSON Graph: Reactive REST at Netflix · Association for Computing Machinery (ACM) · 54:57
- Alan Kay: Doing with Images Makes Symbols (Full Version) · Kenneth Friedman · 1:37:44
- Debugging Under Fire: Keep your Head when Systems have Lost their Mind • Bryan Cantrill • GOTO 2017 · GOTO Conferences · 52:34
- "Make the Back-End Team Jealous: Elm in Production" by Richard Feldman · Strange Loop Conference · 31:13
- PROFESSOR JOHN MEARSHEIMER: THE CRISIS IN UKRAINE · King's Politics · 1:21:48
- Massive-scale online collaboration | Luis von Ahn · TED · 16:40
- Literate Devops with Emacs · Howard Abrams · 28:36