Lecture 13 | Programming Paradigms (Stanford)
Вставка
- Опубліковано 5 лют 2025
- Lecture by Professor Jerry Cain for Programming Paradigms (CS107) in the Stanford University Computer Science department. In this lecture, Prof. Cain discusses how linking and compilations work together in the context of C++ and C language programming.
Programming Paradigms (CS107) introduces several programming languages, including C, Assembly, C++, Concurrent Programming, Scheme, and Python. The class aims to teach students how to write code for each of these individual languages and to understand the programming paradigms behind these languages.
Complete Playlist for the Course:
www.youtube.com...
CS 107 Course Website:
www.CS107.stanf...
Stanford University:
www.stanford.edu/
Stanford University Channel on UA-cam:
/ stanford
These different fancy infinte loops are really amazing 😅
the hardest lecture of them all
MIND = BLOWN
in the last example, when saved pc gets decremented by 4, shouldn't that be +4 to call foo again?
Curious if they introduce rust in current classes
Cool! Thanks for uploading.
Whats with the quality being low?
Too bad the last part is just bullox, as the compiler might rearrange the declarations and might put the variables in totally different places as it pleases. Plus as this is undefined behaviour, the things he said might happen are possible but the program might also start printing yellow unicorns...
UB is not the infinite improbability drive.
4:44 for start ;)
In my 4.8.4 gcc compiler, strlen knows it takes only one argument. Without the header files, it issues an ERROR upon calling it with two arguments
when you add the new prototype for strlen it will compile fine on gcc 4.8.
Probably it couldn't link it with std library strlen?
Does not compile with extra parameter. Getting: error: too many arguments to function ‘strlen’
when i try to compile it without stdio' it doesnt link
Does anybody know if that Facebook lecture that he's talking about in the beginning is on youtube? It'll awesome to listen to that.
Link please.
stackoverflowDOTcom brought me here :)