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

КОМЕНТАРІ • 21

  • @mohamed-hassan-
    @mohamed-hassan- 3 місяці тому

    These different fancy infinte loops are really amazing 😅

  • @algnadjib
    @algnadjib 13 років тому

    the hardest lecture of them all

  • @anfield6321
    @anfield6321 7 років тому

    MIND = BLOWN

  • @smileysmile85
    @smileysmile85 8 місяців тому

    in the last example, when saved pc gets decremented by 4, shouldn't that be +4 to call foo again?

  • @harrybilsonia
    @harrybilsonia Рік тому

    Curious if they introduce rust in current classes

  • @jman51
    @jman51 16 років тому

    Cool! Thanks for uploading.

  • @TheOhyaaa
    @TheOhyaaa 11 років тому +1

    Whats with the quality being low?

  • @Fl4shback
    @Fl4shback 8 років тому +8

    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...

    • @thought2007
      @thought2007 7 років тому

      UB is not the infinite improbability drive.

  • @Cogninfinitum
    @Cogninfinitum 12 років тому +2

    4:44 for start ;)

  • @mustafaadam9697
    @mustafaadam9697 9 років тому +3

    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

    • @PaulMiller_Muaddib
      @PaulMiller_Muaddib 7 років тому +1

      when you add the new prototype for strlen it will compile fine on gcc 4.8.

    • @tanveerhasan2382
      @tanveerhasan2382 5 років тому

      Probably it couldn't link it with std library strlen?

  • @mwont
    @mwont 7 років тому

    Does not compile with extra parameter. Getting: error: too many arguments to function ‘strlen’

  • @liavle12
    @liavle12 7 років тому

    when i try to compile it without stdio' it doesnt link

  • @varunj34
    @varunj34 12 років тому

    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.

  • @MarkAnthonyLaureta
    @MarkAnthonyLaureta 11 років тому +1

    stackoverflowDOTcom brought me here :)