The fact that someone added subtitles to this video is incredible
@RhysYorke9 жыл бұрын
Thank you for making this talk available to the public.
@uniofnottingham9 жыл бұрын
+Rhys Yorke You're welcome, glad you enjoyed it.
@TheIkarus937 жыл бұрын
Man...this guy is just incredible. He has almost a legendary status in the history of computer science yet he is so humble and so down to earth. His presentation skills are just awesome -I didn't loose focus even once during whole video, which happens every 30 seconds when the profs at my uni try to teach. He explained everything in very clear and concise way, no BS at all. No trying to sound smart, no cryptic explanations, no ego at all. I wish lecturers at my uni were a bit more like him...
@ocayaro5 жыл бұрын
He is great because he admits it when he doesn't know.
@mitchyoung87915 жыл бұрын
Almost?
@OrafuDa5 жыл бұрын
absolutely legendary status
@illerminatinews84764 жыл бұрын
He is a scientist. I've worked with elite scientists and they are almost all like that. What happens with this chamber we are part of (programmers) is that we have way too many people that are not scientific driven and have gigantic egos. They try to blame and judge all the time, they keep fighting for useless crap such as: "No comments on the code" "Correct indentation style" "I am better than you" "Industry standards" "X is Better than Z even though it is exactly the same thing in runtime" "X style is better than Z style" "I am good, you are bad" "Hurr durr VIM is better than everything else" "I use a Macbook and VIM thus I am a superior programmer" etc, etc, etc...
@dennisdiaz11004 жыл бұрын
the problem with him is that he is too biased against pascal
@rhymereason3449 Жыл бұрын
I literally owe my career to Mr. Kernigan. As a young programmer writing PL/1 and COBOL code on IBM MVS platforms, I discovered "The C Programming Language" in the library in 1984 and checked it out as a curiosity... I'd never heard of the language. The terseness of the language and elegance of his examples in the book blew me away! I knew I had to learn this language - even though I really liked PL/1 , so I bought the only C compiler available for a PC at the time (Whitesmith's C Compiler), and taught myself the language. A year later I was working in Unix and C for a major Aerospace company and never looked back. Thank you Mr. Kernigan.... my career was a blast because of you and Dennis Richie, et. al.
@saifulbordeaux38904 жыл бұрын
His lecture is electrifying, and he's 70s, put many younger guys to shame. A legend yet so humble and not condescending to his audience like current conference speakers. Top guy.
@unclefreddy20097 жыл бұрын
I could listen to Prof Kernighan speak all day long. What a clear thinker
@erikwg38142 жыл бұрын
I like to imagine that this humble man uses Comic Sans in his code editor as well. Great talk and thanks for C!
@cagatay5186 ай бұрын
he probably uses vim so I don't think so😅... You can use it in vim ofcourse if you don't bother messing with various dot files 😊
@MrPoutsesMple7 жыл бұрын
13:54 I've noticed something that could be a pattern. Many legendary scientists seem to be humble in general and are not afraid to admit that their knowledge is limited. On the other hand, there are many people that are very arrogant, in contrast to what they have achieved (i.e. not much). I couldn't expect less from such a legend... Thank you U.o.Nottingham for sharing this lecture. And thank you Prof. Kernighan, for C and Unix.
@samdavepollard7 жыл бұрын
Totally agree. The geniuses understand, perhaps more than anything else, how little they know. The jerks on the other hand believe they own a field when they've made some minor contribution (and very often even before then).
@maestroanth7 жыл бұрын
Ya, but how do you deal with the paradox? I.e. learning requires humility of acknowledging the "known unknowns ", but culture still prerequisites "known knowns' for jobs? How is the person doing the hiring should know the difference without being a guru himself? Human societies ...ugh much harder than computers.
@Falcrist7 жыл бұрын
And then there's Linus Torvalds. This hypothesis is almost certainly confirmation bias IMO.
@DCFusor6 жыл бұрын
I've noticed this in other fields as well, even including such non-hard-sciences as music. How do some of the most-accomplished get that way? By learning, which you can't do if you think you know it all already. And by practicing what you preach to find flaws to improve on. So whether it's correlation or causation doesn't maybe even matter that much - humility and expertise are often found together.
@tomasjason52866 жыл бұрын
I found that I asked the same question in a different place a year later, or similar ID :)
@icantfindausernamehe Жыл бұрын
I still picture him reclining in the chair describing how Unix works.
@halhal984 жыл бұрын
B.K..?! Hands down.. Couldn’t agree more that KZbin is a real treasure island in our time. Thank you
@dogriffiths5 жыл бұрын
The man who introduced him taught me language design.
@saulocpp5 жыл бұрын
Prof Brailsford is another giant in Computing Science.
@bsitney6 жыл бұрын
At 25:07 you have the most concise example of an associative array. Period. Thank you Dr. Kernighan for this precious gem.
@RogerBarraud6 жыл бұрын
Stop it. Pretty sure BK hates Grovelling. :-)
@saeedbaig42497 жыл бұрын
Another reason I would add that (partly at least) helps some languages to thrive is marketing. Most of the most well-known languages of the new millennium (e.g. C#, Go, Swift, Rust) were developed or backed by major companies (Microsoft, Google, Apple and Mozilla respectively). The most successful language is not alway the one with the best specs, but with the best hype.
@aidanprattewart5 жыл бұрын
All hail Rust.
@absalomdraconis5 жыл бұрын
@@aidanprattewart : I've looked at Rust. It's not as bad as C++, but it's still maintained some of the flaws of C (symbols modify types!) and C++ (ugly and when last I looked slightly cryptic metaprogramming).
@markthomasbrunbergmarkthom8883 Жыл бұрын
60172 laguages
@adamhaney94473 жыл бұрын
Someday, I would love to possess 1/10th the knowledge and humility that Brian Kernighan has.
Should have used true and false instead of yes and no
@christopherfujino4 жыл бұрын
he's a legend
@8w733 жыл бұрын
You all hate Comic Sans just because it's trendy
@codecaine Жыл бұрын
It is always a pleasure to hear Brain Kernighan speak
@mwcz51903 жыл бұрын
Sure, Brian Kernighan is a great, but have you ever seen better camera work and speaker/slide transition timing in a university lecture? Incredible!
@muraliavarma7 жыл бұрын
Amazing talk. Learned so much about the evolution of languages from the master himself. I'm now inspired to read about a bunch of languages that I've not explored 😀
@EricBaileyDrums4 жыл бұрын
Sincere huge thanks to the transcriber(s) of this video.
@bretdavis80976 жыл бұрын
I write a lot of python scripts in Linux, and 9/10 if I need to do some kind of data handling for files, I just have the python script run an awk command. Python is no slouch at file processing, but an awk one liner can usually do the trick :)
@gixxerboy5554 жыл бұрын
This man IS a true legend..
@letoatreides60867 жыл бұрын
A legend. You gave us so much sir. I learned C just because a lot of modern langages I use (Java, C#) use its syntax and I thought it was a way to honour the creation of C that to learn C and C++ even if I don't use those at work, just to honor the great work. Thank you sir. My job and life today are the result of all that fine work you did with Ritchie :-)
5 жыл бұрын
This is one of the best presentation I've seen in a while. Simple explanation for complicated topic. I think I'm going to learn a new programming language... Thanks
@hankigoe8294 жыл бұрын
That's how you do an intro, people. 5 seconds and get the star on stage.
@solderbuff4 жыл бұрын
To be precise: 06:11 - this is not the 1961 CACM cover, because TMG and PL/I were not invented yet in 1961. This is the tower from the 1969 Sammet's book. CACM cover of January 1961 did feature a reference to the Tower of Babel, however, it listed slightly fewer languages.
@arthur_p_dent4282 Жыл бұрын
Always a pleasure to here Brian speak. Thanks for posting!
@fededevi19856 жыл бұрын
I would say that today a language is more defined by the existing tools you can use with it than by the language itself.
@normbograham34 жыл бұрын
I once made a web server in C, and everyone seemed to be arguing that there would be a threshold, such that their interpreted language would run faster. I even tried to hammer the site, and there is NO point that ASP was a better choice (lol). There is no limit where ASP, or another other backend will surpass C.
@solderbuff5 жыл бұрын
58:12 - "But you wonder whether it [C++] has passed beyond some threshold of complexity that's beyond mortals." 😂
@absalomdraconis5 жыл бұрын
Not sure about mortals, but certainly tolerance.
@JandoCalrissian9 жыл бұрын
Comic Sans improves ALL presentations!
@jimgerth68546 жыл бұрын
Smug Anime Girl ikr normally I’m the first to point out that abomination of a font but this guy makes me forget all about it lol
@krakenmetzger5 жыл бұрын
@@vlc-cosplayer same
@pixelfrenzy3 жыл бұрын
Stanford lectures use Chalkboard. I've learned to get over it.
@lucasb3h3m0th6 жыл бұрын
Unix, C and AWK are parts of my life. I love you!
@normbograham34 жыл бұрын
C is a very complicated language. Not in the language itself, but also in it's coupling with the OS, take POSIX compliance, vs POSIX certified, vs Windows Certified or even DOS. Compliance with C89, C99, 2017, etc.
@TheDuckofDoom.7 жыл бұрын
I vaguely recall watching this two years ago, now with some more general programming experience I find it much more informative, very good stuff. I even used AMPL about 6 months ago, super useful for supply chain optimization but the documentation is ...haphazard, plenty of it but you must dig through hundreds of pages of tutorial style docs spread across two dozen PDF files, it really has no solid "man page" style syntax summary, doubly so for the data syntax.
@theena2 жыл бұрын
Thank you for sharing this. That was wonderfully enlightening.
@seye698 жыл бұрын
I bought a wallet from the University of Nottingham and it fell apart within a year. This talk was so good that now I feel I owe you money.
@Willumpie6 жыл бұрын
seye69 he already has your change in his backpocket. Can you hear it?
@RogerBarraud6 жыл бұрын
Did you *really* need the user instructions to specify that it was not actually intended either for knotting *or* for containing ham?
@paulfrischknecht39996 жыл бұрын
Very nice talk. Arguably, everything a programmer does is design languages/interpreters thereof. We write functions (interpreters) that take data[structures] (source code) and do something with it. Then you name all that stuff and there you have a (programming/declarative/configuration) language. Often, it is not worth or helpful to define your own parser taking textual source code to obtain your syntax tree, since there are now many standard ways to represent the kind of labeled graphs that all programs are textually or as nested datastructures in any language (html with extra attributes, nested associative arrays [json/yaml], S-expressions...). In fact, please don't define your own parser for key-value data like so many unix programs did in the past, just because it (seems) so simple.
@DwightWalker3 жыл бұрын
I have used AMPL in MIT edx course on supply chain management. I used it for modelling linear programming to find optimization values using constraints.
@djintotjandra2474 жыл бұрын
I am not computer science but i worked with computer - I used his UNIX C book.
2 жыл бұрын
I've never noticed Brian's name on my copy of the AMPL book. Quite a surprise.
@clangerbasher6 жыл бұрын
I miss lectures.
@alecclews5 жыл бұрын
I was one of the people who had to do system programming in Pascal. Back in the 1980's I worked for NCR doing application programming on automated cash machines (ATMs). Even though it was application programming (business logic) it had many system aspects and ATM programming was not trivial. Intel did have a suitable language for their real iRMX OS (called PL/M I think), that was used to write device drivers and managers. But it was considered too hard for application developers and so Intel's Pascal/86 was mandated (I think this was a re-branded version of Pascal/MT). This was an extended version of Pascal designed to be used as a "real" language. It had support for include files, separate source code module, overlays, variable length arrays (only when passing parameters between different modules), assembly language support -- but I never used that. It worked surprisingly well, but I would not want to do that again...
@JohnJohnson-ox3uc5 жыл бұрын
Little known fact: the original Macintosh OS (pre MacOS X)was written in Pascal with a liberal amount of 68000 assembly.
@RobBCactive Жыл бұрын
Apollo workstations which were market leaders in mid 80's wrote their Domain OS in mostly Pascal. Being involved in a project which had begun on VAX VMS there were real issues with Pascal. Source had to be manipulated between systems and dialect differences with missing extensions made it unsuitable for large long running programs. Each data structure type needed its own allocation/deallocation routines and unlike C you couldn't repurpose blocks of bytes in various sizes except on the stack. The strong types forced massive code duplication too, so further bloating executables. From what I've seen Pascal advocates have tended to use a particular extended variant and not had concerns of porting to newer hardware & OS, while C ports were facilitated by practical standard language features like the pre-processor.
@youreale5 жыл бұрын
Thuis guys knows stuff.. and shows how to age gracefully.
@alexa.davronov15374 жыл бұрын
He is old, but gold!
@eugrus Жыл бұрын
11:26 "People in 70s discovered, that you could program in the command interpreter." Microsoft in 2009: "I think now I'm starting to get it..."
@stevefrt94958 жыл бұрын
Wonderful video, thanks you so much
@xf996 жыл бұрын
"strongly-hyped" XD
5 жыл бұрын
It was worth a chuck :)
@tarekali70645 жыл бұрын
i think he meant, "strongly typed"
@Originalimoc5 жыл бұрын
Tarek Ali no he actually means hyped 😉
@OrafuDa5 жыл бұрын
Whatever it is, both are true. And I like to think that he put in the “hyped” on purpose.
@ilovemygrandma.4 жыл бұрын
@@tarekali7064 wrongly typed
@thingsiplay3 жыл бұрын
The 64 dislikes are all pure functional programming programmers.
@peterfireflylund8 жыл бұрын
Pascal with a few (small) extensions/modifications worked fine as a systems programming language. So did Algol. Bliss was definitely used as a systems programming language. So was Mesa. So was PL/I (but that one was probably too complicated). Cobol with a few extensions has been used to implement a (fast!) Cobol compiler so it could probably also have been used as a systems programming language.
@SolarLantern4242 жыл бұрын
@John Q. Bebtelovimab This was strange. I assume he was talking about Ansi Pascal and I assume he wasn't talking about Ansi C?
@michaelbonnet2155 Жыл бұрын
Pascal's key issue was different sized arrays being different data types in and of themselves, preventing modular coding.
@RegularExpression15 жыл бұрын
At 28:50 on SWIFT, precisely right. Same with JS frameworks.
@DCFusor6 жыл бұрын
I would have shouted perl to the first question, because I'd be done writing it and running it before most would get their boilerplate done. Though it would take 5 minutes to write it pretty and make it obvious how it worked for any later maintainer. But for problems like the one-shot mentioned above, a really simple text split and numeric compare on a field - and you're done. Maybe 3 lines if you were being super explicit. I love C and use it daily. C++ - well, some of it is good, but trying to use ever more complex constructs and bizarre template syntax (the template engine itself is Turing-complete without any cods at all, as Damian Conway demonstrated) is a dead end - adding complexity to cure complexity. But for a simple one-shot task? In most cases developer time costs more than computer time, and perl is better for those. Parsing that out in C vs using a language meant to do parsing is not a win. Ah, so (on viewing further) our hero says AWK - and that's a great choice, if you know AWK. I know perl, so, horses for courses. And make no mistake, this guy is a hero.
@pauly2306784 жыл бұрын
Under 5k rows I would just use Excel and turn on filters. 90 seconds at most
@GavinFreeborn4 жыл бұрын
I love troff and im happy to see it get mentioned in this video. I make videos on troff on my channel for those of you that are interested.
@meeravinod71656 жыл бұрын
Is it just me or does anyone else too feel his voice seem much younger than his face?
@nathanielwoodbury26924 жыл бұрын
Meera Vinod a sign of health at his age. I love it
@menachemsalomon7 жыл бұрын
Why a language succeeds: All those reasons, plus the creator needs to have a beard.
@harmonymoyo44206 жыл бұрын
Bjarne doesnt have a beard,
@anomyymi01086 жыл бұрын
@@harmonymoyo4420 And thats why c++ is so incredibly ugly, bloated and unelegant
@cranknlesdesires4 жыл бұрын
@wlod nat that was probably due to the proximity to the bell lab boys at the time, code energy was just flowing out of those rooms
@kaistutz70674 жыл бұрын
Fantastic talk :)
@TimGreeningJackson8 жыл бұрын
Fasacinating. Thank you.
@helmiabdullah22714 жыл бұрын
The Wizard of Computer Science
@phyzix_phyzix Жыл бұрын
Is that comic sans? Legend!
@soyroberto25274 жыл бұрын
Right on the spot, Java: Strongly-hyped
@olbluelips2 ай бұрын
Good talk, thanks!
@NonTwinBrothers Жыл бұрын
I know this will apply to nobody else, but he talks and jokes JUST like my band director, and that makes me like him that much more lmao
@jabuci4 жыл бұрын
He says you should teach associative arrays to undergrad. students. In C, how do you use assoc. arrays? Should we implement it each time from scratch? In Python, for instance, we have dictionaries. What is the preferred way to use hashmaps in C?
@TheDuckofDoom.7 жыл бұрын
I think Pearl was simply displaced by Python and Bash(as most non-compact systems have moved to Bash from posix sh since the peak growth of Pearl), Python became preferred for the heavy scripting end because it is easier to read and thus maintain for subsequent users even though Pearl may have some advantage for the original authoring. Python(with all the extensions) also has more uses and users, simple populatrity.
@Roflcopter4b7 жыл бұрын
The fact that you don't know how to spell Perl makes me seriously doubt the factual accuracy of this comment.
@SSVplus4 жыл бұрын
PERL!!!!!!!!!!
@sehnottingham9 жыл бұрын
I don't know how I managed to miss this event!
@AustenWho6 жыл бұрын
PopQuiz: What is the dollar amount in precious change that Brian is playing with in his pocketses?
@gloriascientiae74354 жыл бұрын
256 cents, handed out by the Knuth?
@rhymereason3449 Жыл бұрын
Amen to his comments about Swift... I got so tired of the radical changes that broke code that they'd make to the language with EVERY new version.
@oysteinsoreide43235 жыл бұрын
I used bash, sed and awk to handle my references for generation of bibtex for latex documentation when doing my thesis.
@Originalimoc5 жыл бұрын
This guy carries 1.5x speed by himself so I don't have to use it😂
@DarshanSenTheComposer4 жыл бұрын
What a great presentation! :)
@niravcodes5 жыл бұрын
Incredibly interesting.
@VictorBrunko4 жыл бұрын
Strongly-hyped: Java
@tiedye0016 жыл бұрын
Good call on the swift thing
@Achrononmaster4 жыл бұрын
@35:00 sparse matrices??? Sure, I've had to deal with these all my life in computational physics. But I also do research these days in Clifford algebra, and this talk struck me suddenly: why not use Clifford algebra structures instead of sparse matrix algebra? I'll bet this could simplify a lot of code and produce faster run times. (The mathematical basis is sound: all matrices can be recast into Clifford algebra, but in a Clifford algebra you do not need all the zeroes for a sparse matrix, instead you are using just basis vectors, and combining them as multivectors.)
@tiagorodrigues37304 жыл бұрын
Why don't you give it a shot? Perhaps you can write the AMPL killer using a translator which converts computational physics or linear programming problems into Clifford algebras and solve them more efficiently. My contact with large sparse matrices is limited to some work (mostly at Uni, but a bit at work) on control systems and dealing with zeros and poles, so that might be another possible target niche for a solver...
@walterpleyer2612 жыл бұрын
The lecture is great, Kernighan simplay awesome, but the sound is difficult
@QqQ-h5h Жыл бұрын
"good programming langauge shouldn't make you think differently. It should just let you express what you want." -- me
@mbigras7 жыл бұрын
Are Brian's slides available?
@uniofnottingham7 жыл бұрын
Hi Max, good suggestion. We've just pasted a Dropbox link into the description of the video to download them.
@mbigras7 жыл бұрын
Awesome! Thank you so much for taking the time :)
@rolandlemmers64625 жыл бұрын
@@uniofnottingham 2 years later the link is dead. Could you please make the slides available again?
@uniofnottingham5 жыл бұрын
@@rolandlemmers6462 Thanks for flagging. We've re-uploaded them.
@EmilNicolaiePerhinschi6 жыл бұрын
Ocaml is multi-paradigm, not only functional
@kpfxzzsy2 жыл бұрын
Professor, How do you think about Forth language and Forth machine?
@S3NTRY5 жыл бұрын
Thankfully the whiteboard notes will only ever be read by machines, so the fact that they're effectively flashcards shouldn't matter too much.
@TreesPlease428 жыл бұрын
Editing the audio to filter background noise would be great, but hey, it's not that big a deal.
@jakobw1355 ай бұрын
What do you think of the fourth level, OOP language - Java?
@MalamIbnMalam8 жыл бұрын
I wrote this exact program in Java.
@kenichimori85336 жыл бұрын
Five fifth decious include posion design.
@hpeterh Жыл бұрын
It is probably not correct to classify C# as a "look-alike-language". Basical syntax of expressions and control structures is almost the same as in C. This makes the language easy to learn. This is only the surface. Under the hood however, I see more similarities with Delphi than with C++ and C. Same value-reference semantic as Delphi and handling of GUI events similar to Borland VCL.
@nicflatterie77722 жыл бұрын
Scheme... bad memories for me. I studied CS at University on Montreal with the creator of scheme. We had to bootstrap Scheme in Scheme as assignment. By far the worst course I did, and my only abandoned course. And did Simula in Programming 101 and 201.
@soyitiel Жыл бұрын
55:04 when he talks about why Java didn't work out for the web, isn't that how wasm works?
@fostercathead2 жыл бұрын
I have a BSCS, class of 2000. After OOP, all they ever said was document, document, document. Upon graduation and getting into industry, I determined that the last thing a programmer would EVER do is document their code. It's nothing more than digging your own grave. Once management got the juice, you would be fired with no warning. Then they hoped your "budget" replacement could maintain your code. Ha! The more obscure and abstruse your code, the better off you were!
@Pem75 ай бұрын
Legend 🤞🏾
@hankcohen34194 жыл бұрын
Great talk but a comment on the editing. As much as I like to look at Professor Kernighan's pretty face it would be helpful to leave his slides up long enough to be able to read them.
@SolarLantern4242 жыл бұрын
The original Macintosh system was mostly written in Pascal.
@dabest98436 жыл бұрын
Interesting he didn't mention Smalltalk on that list.
@willmcpherson25 жыл бұрын
Simon Peyton Jones uses Comic Sans... Brian Kernighan uses Comic Sans... If you want to design a language, use Comic Sans.
@iseslc6 жыл бұрын
what a legend
@宋雨明-t1t4 жыл бұрын
amazing
@b2gills9 жыл бұрын
Perl 5 currently has a yearly release cycle (with new features every release, while maintaining backward compatibility), and Perl 6 has a release planned for Christmas this year ( though frankly it is awesome already ) 「$ perl6 -e 'say ([+] 1..10**10_000).chars; say now - INIT now'」 「200000.3792978」 That is it adds all of the numbers in the range from 1 to 10¹⁰⁰ in less than half of a second without truncation to a floating point number (ok it actually cheats, but this is the way you would write it if you weren't going to calculate it based on the end-points yourself). Plus Perl 6 has features that no other language has, like built-in grammar engine, and auto-threading, super-simple way of adding new operators just as you would add a new subroutine (almost all "normal" operators in the Rakudo implementation are actually created that way). So the crack at 57m32s about Perl missing the boat seems quite mis-informed.
@RobTheBlob9 жыл бұрын
+Brad Gilbert But if it had done *some* of that 5 years ago, its more likely that more programmers would have tried it and evolved along with it. Many Perl programmers have since moved on, and its uncertain they'll ever return.
@ConayR9 жыл бұрын
+Brad Gilbert Perhaps you weren't paying attention but he did mention he does use Perl still and likes using it. His final comments weren't about whether language is good or not, but rather whether it can thrive and attract new people. Perl, like Java, is not going away, that's for sure. But it did "reinvent" itself too late and its userbase will gradually die off, bar some legacy systems that depend on it.
@paulbuis35879 жыл бұрын
+Brad Gilbert Perl's insufficiently C-like syntax has hurt its adoption rate by the masses of folks for whom their first language in college had a very C-like syntax and who are not looking to learn new languages, especially if the culture where they work does not include using Perl for anything. Perl had associative arrays before that was a common language feature, but simple operator overloading has been in many languages for a long time (and is commonly railed against for hurting code readability). Several languages I've seen (none of the main stream, highly popular languages) come with support for grammar engines, so you are being a bit hyperbolic about "no other language" having these features. I'll have to look at "auto-threading" in Perl 6, but CILK does some very slick things with threading automatically and so does the async/await keywords in C#. However, I'm still looking for languages that actually supply really good high-level concurrent/parallel programming constructs as part of the syntax of the languages rather than a bolt-on API (e.g., goroutines in the Go programming language are high-level syntax).
@felipevaldes91687 жыл бұрын
came here to say this, Perl6 Rocks! :D not missed the boat or anything.
@stanrogers56136 жыл бұрын
...or you could, you know, do the sum of the series in a more appropriate way and get your result in a handful of microseconds, most of which are wasted on IO.
@vitalysamonov33997 жыл бұрын
Epic video!
@mattlifts923 жыл бұрын
strtok is tricky!
@edgeeffect4 жыл бұрын
I came here just to listen to Brian Kernighan... so it came as a nice surprise to see the video was from that KZbin favourite Uni. Nottingham and to see the talk introduced by Prof. Brailsford. I like how he goes over some shortcomings of C and they're all problems with the standard library.... not the language itself.... "Because I invented it... it's perfect" ;) Now, I must admit, I'm an anti-Java bigot... but "Strongly hyped" particularly tickled me. As for functional languages in "the real world".... you gotta remember that, despite it's silly name, JavaScript is LISP dressed up as C... and all the best JavaScript programmers (HELLO!) are functional programmers.... well sort-of... not quite.... but sort-of.... y'know.
@tiagorodrigues37304 жыл бұрын
I confess not to see very well how javascript uses S-expressions; although modern javascript has been gaining a lot of functional-inspired functionality, and it is true that Brendan Eich wanted to use Scheme to script up Mosaic, but was ordered to write up a language which looked more like Java (Netscape had signed an agreement with Sun to push Java on the Web). Particularly, javascript does not share the "original sin" of functional languages of not having any operator precedence at all, which is what really puts me off of using SML, Haskell, Mythryl and a bunch of other languages I have had contact with.
@radicaldreamer463 жыл бұрын
@@tiagorodrigues3730 Huh, Haskell has operator precedence, you can confirm this yourself by typing :i (+) into ghci (the REPL). Prelude> :t (+) ... infixl 6 + Even languages like OCaml have a hierarchy of precedence, though a fix set of operators. As for the original post, LISP removed of the key ideas and macro power isn't really lisp, you lose a lot of the ability to extend the language nicely. Further, languages like JS stomp over many good language design ideas that existed in many many lisps.
@tthermic4 жыл бұрын
this is a moment
@TheReferrer726 жыл бұрын
is AMPL a more heavyweight MiniZinc?
@solderbuff4 жыл бұрын
Regardless, MiniZinc appeared 22 years after AMPL. So you'd say MiniZinc is a lightweight AMPL.
@decapod37362 жыл бұрын
Came for Brian Kernighan, stayed for Comic Sans.
@viorelharabaru18362 жыл бұрын
I feel guilty for watching this for free. This guy is a living legend lecturing at top uni's of the world and we get this lecture for free.