Computer Science - Brian Kernighan on successful language design

Channel:University of Nottingham · Length:1:00:06 · Published:2015-11-17 · Views:332715

Watch on YouTube

Summary

Brian Kernighan gives a talk at the University of Nottingham on how to succeed in language design without really trying. He draws on his experience with awk and other languages.

Why HN recommends it

HN cites it as a practical talk on language design and for background on awk from one of its authors.

This is an excellent talk on designing successful programming language by Brian Kernighan — HN, 2022

Programming language design · Tech pioneers & interviews

Subtitles (excerpt)

>> DFB: The theme of today's talk is "How to succeed in language design without really trying" So could you please welcome back Brian Kernighan. [applause] >> BWK: Thanks Dave. Thank you very much for that kind introduction. It's a real pleasure to be back at Nottingham and to see the new buildings, as opposed to the old ones, which of course I don't remember after 30 years at all. And also just thanks to the Computer Science department for the Honorary Professor appointment which is definitely an unexpected pleasure -- so, I really appreciate that. OK so let's see what we're going to talk about. We're mostly going to talk about languages in some sense or another. To some extent tools, as Dave hinted. There will actually be a taste of document preparation in it, but not the whole story. I've had to do that because Dave is here and along with others of his former students and others. So let's start this way. So, this actually comes from a real story at Princeton. A student -- a computer science undergraduate -- thank you undergraduates for showing up, you can answer this question! So the student, whose name I have now forgotten - this is only a few years ago -- told me of something that his room-mate was doing.

On Hacker News

This is an excellent talk on designing successful programming language by Brian Kernighan [1]. In the beginning of the lecture he did show a picture of the Tower of Babel depicting plethora programming languages as it's appeared in the cover of Communications of the ACM (CACM) magazine in January 1961 and most of the programming languages mentioned in the article were already there! [1] Brian Ker… — teleforce, 2022-12
All talks by Bret Victor are great, they are listed on his websites but they are more concerned with the future of programming than old languages: [LINK] On the topic of language design, there is also this talk by Brian Kernighan which gives good practical advice if you're building a language and talks about his journey with awk: [VIDEO] — ad404b8a372f2b9, 2022-12
There's a great talk by bwk where he complains about exactly this kind of behavior...before admitting that anything useful in a language will be abused in order to do silly things. [VIDEO] I'll admit, I'm no fan of Python, but this has little to do with the language itself. I found Bash and Ruby first, so Python just seems like too much work to get right. Requisite xkcd: [LINK] — chrisfinazzo, 2018-05
To really appreciate the need for awk, imagine writing one-liners and scripts in the late 80s where Perl or Python weren't present. The associative arrays in awk were a game changer. Of course, today there is no need to use awk for multi-line, complex scripts because Python or Perl does the job better (and both languages are more scalable). However, awk is still quite useful for one-liners. But f… — troydj, 2019-10
Red is not about writing a parser for html, it's about creating DSL. As Brian Kernighan: said "Domain Specific Languages are smaller and simpler than mainstream general purpose #programming languages. That's pretty raisonnable. Thinking of building the next version of C++ not so reasonnable." [VIDEO] — readabledotred, 2019-02

Related videos