[CS61C FA20] Lecture 40.LIVE - Summary — Transcript
Full transcript
- 0:02DAN GARCIA: Okay, perfect.
- 0:05Let me look at participants.
- 0:06Welcome, everybody, to the last class, 61C.
- 0:10So happy to see you all here.
- 0:1245-- see if we can get to it.
- 0:13Boy, it would be great if we could actually
- 0:15get to a hundred.
- 0:16Boy, that would be wild-- one out
- 0:18of every 10 students showing up for the last live class.
- 0:20[LAUGHS] What a stretch that would be.
- 0:23By the way, before I start, let me share that it's important
- 0:27for you to sign up and do the course evaluations,
- 0:30course-evaluations.berkeley.edu.
- 0:33We need to get up to 90%.
- 0:35You get a free point.
- 0:36So please.
- 0:37This is just wonderful, wonderful to sign that up.
- 0:40So do that while you're waiting.
- 0:42And we will start recording.
- 0:44Actually, recording now.
- 0:46And we will start in a second.
- 0:51All right.
- 0:51Bora, you feeling okay?
- 0:52You ready?
- 0:53BORA NIKOLIC: I am good.
- 0:54DAN GARCIA: All right, good stuff.
- 0:55BORA NIKOLIC: Are you driving the slides?
- 0:56DAN GARCIA: I'm driving the slides, yep.
- 0:57You can all see that.
- 0:58Hopefully, you can all see.
- 0:59We're not doing mm-hmm today because of audiovisual reasons.
- 1:02You'll see the reasons why.
- 1:03But hopefully, you can see us on this week.
- 1:04Probably should pin ourselves too.
- 1:06I just realized we should probably--
- 1:07is there a way to-- ahh.
- 1:09When you're driving screen, you lose all the windows.
- 1:11Let me see if I can pin myself.
- 1:12BORA NIKOLIC: That's right.
- 1:13I can pin myself.
- 1:14DAN GARCIA: Spotlight here.
- 1:15Spotlight myself and spotlight you as well.
- 1:18How about that, Bora?
- 1:19BORA NIKOLIC: I got it perfect.
- 1:19DAN GARCIA: And that way our TAs are not being spotlighted.
- 1:21They don't have to worry about being online.
- 1:23Perfect, okay.
- 1:24So let's get rolling.
- 1:27Welcome.
- 1:27We got to 77.
- 1:28BORA NIKOLIC: All right.
- 1:29DAN GARCIA: Ladies and gentlemen,
- 1:30welcome to the last class in 61C, lecture, I think, 45.
- 1:36It's amazing.
- 1:36Friday, week 15-- woo!
- 1:41BORA NIKOLIC: I mean, can you imagine that we're almost done?
- 1:44DAN GARCIA: Can you believe it?
- 1:45I can't believe it.
- 1:46This is incredible.
- 1:47I mean, what a road this has been.
- 1:49Holy moly.
- 1:50BORA NIKOLIC: Yes.
- 1:51DAN GARCIA: If you had told me the bumps in the road,
- 1:52I was, ah, come on.
- 1:53There won't be bumps in the road.
- 1:54Bumps in the road?
- 1:55They're mountains.
- 1:56You're all here together.
- 1:59BORA NIKOLIC: I can tell you this was the craziest semester
- 2:02that I've had in my 21 years at Berkeley, period.
- 2:05DAN GARCIA: Me too.
- 2:05Me too.
- 2:05BORA NIKOLIC: I mean, and the craziest one.
- 2:07And then-- yeah.
- 2:09And then comes the spring 2020.
- 2:12DAN GARCIA: Well, there's like three things that
- 2:14are distinguished this year.
- 2:15One, it's the craziest semester.
- 2:17The second is that these students
- 2:19are walking into the final with the highest
- 2:21grade I have ever seen in 61C.
- 2:22And I've taught this, I think, 10 times.
- 2:24I've never seen this histogram, this total course points,
- 2:27going to the final.
- 2:28So these students are as primed as they are.
- 2:31All that work you guys put into project 1, 2, 3, and 4
- 2:34and the studying for the exams, wonderful.
- 2:36It has really paid off in terms of your performance.
- 2:38BORA NIKOLIC: But not only that, we
- 2:44get some feedback about the performance in interviews.
- 2:47Our friends at Apple told us that all the firmware positions
- 2:53that needed basically understanding of C
- 2:56and how does it work with hardware
- 2:57were sold to Berkeley students, Berkeley undergrads,
- 3:02five days after posting.
- 3:03That's it.
- 3:04DAN GARCIA: Wow, wow.
- 3:04BORA NIKOLIC: I mean, nobody failed.
- 3:06Apparently, everybody passing through.
- 3:07DAN GARCIA: Wow.
- 3:08Wow.
- 3:09BORA NIKOLIC: I feel really good about that.
- 3:10DAN GARCIA: Congratulations.
- 3:11Congratulations, everybody.
- 3:12BORA NIKOLIC: I mean, I really feel good about that.
- 3:14It all feels like it was worth it.
- 3:16DAN GARCIA: And you made Berkeley proud.
- 3:18I mean, this is what we are.
- 3:19Our job is to set you up.
- 3:20We're the coach.
- 3:21Like, we're the ones on the corners in the boxing ring.
- 3:25You can do it.
- 3:26You're a lean, mean 61C machine.
- 3:28And we send you off into the round.
- 3:30And you've all done very, very well.
- 3:32So great job, everybody.
- 3:33BORA NIKOLIC: And you also create
- 3:35opportunity for the next class and the class after that.
- 3:39And it feels good.
- 3:42It feels like it's worth doing all of this.
- 3:44DAN GARCIA: I love it.
- 3:45I love it.
- 3:46BORA NIKOLIC: So what we have done in this class--
- 3:48let's try to recap it a bit.
- 3:50DAN GARCIA: Sure.
- 3:52BORA NIKOLIC: So we tried to convey six really great ideas
- 3:57in computer architecture.
- 3:59So we drilled on the abstraction.
- 4:01So we have been talking about building
- 4:03really complex systems.
- 4:05But we can't build these complex systems
- 4:07by having everybody always touch every gate at the very bottom
- 4:11when writing a very complex system.
- 4:13DAN GARCIA: Too much detail.
- 4:14Too much detail.
- 4:15You'll just drown.
- 4:16You'll drown in detail, exactly.
- 4:18BORA NIKOLIC: And too many things going on.
- 4:20So we build these layers of abstraction.
- 4:22And these layers have served us really well.
- 4:25We have been able to tackle them layer by layer,
- 4:28going from top to the bottom and back from bottom to the top.
- 4:32And I'm hoping that everybody feels really comfortable
- 4:36now understanding how does a computing system work.
- 4:42That's the first big, big point that was drilled down
- 4:49throughout the class.
- 4:50The second one was this thing of Moore's law
- 4:53that got us where we are now.
- 4:55And there is the scare that Moore's law may be going away,
- 5:02that the technology is not going to continue scaling
- 5:06at the same pace as it did before.
- 5:10And that's true.
- 5:11But it is still getting better.
- 5:13And new things are going to happen.
- 5:15And we just need to understand that we
- 5:18are going to have to deal with power limits.
- 5:20We need to figure out how to go towards designing systems
- 5:25with slightly better technology and a little bit more energy
- 5:28efficient.
- 5:29So we'll have to deal with design under power constraints.
- 5:34And that's going to be big.
- 5:35I mean, that's the task for your generation.
- 5:37You're going to be dealing with that.
- 5:39There is no miracle technology that
- 5:41is going to come and suddenly start scaling
- 5:44into subatomic levels.
- 5:46You guys will have to figure this out.
- 5:48That's the mission for your entire generation.
- 5:51And you know what to do.
- 5:52DAN GARCIA: And quantum may be coming.
- 5:53That's going to be exciting.
- 5:54When quantum is here, that changes everything.
- 5:56I can't wait to teach the new 61C with quantum
- 5:59as one of the things we'll use.
- 6:00I just can't wait for that.
- 6:02BORA NIKOLIC: Yeah.
- 6:02I mean, but don't hold your breath right away.
- 6:05I mean, we've got to make do--
- 6:06DAN GARCIA: (LAUGHING) I agree.
- 6:07I agree.
- 6:07BORA NIKOLIC: --with CMOS for another 10, 15 years or so.
- 6:09DAN GARCIA: I agree.
- 6:11BORA NIKOLIC: Exactly.
- 6:13Exactly.
- 6:13I mean, we talked about that.
- 6:15We are seeing glimpses of this using specialization.
- 6:18And yeah, we have to change 61C as we go along, the big thing.
- 6:23I'll get back to that.
- 6:24So the third thing that we did is this principle of locality
- 6:28and memory hierarchy.
- 6:30And that is huge.
- 6:32It looks like we are working with this infinitely
- 6:35fast and infinitely large memory system, although it is not.
- 6:40It is limited.
- 6:41I mean, we most of the time are working
- 6:44with those few registers that we got in L1 cache.
- 6:48And everything else is there just
- 6:49to show up right in time for us to grab it and do computation.
- 6:54DAN GARCIA: It's a beautiful abstraction
- 6:55to have the abstraction to make you
- 6:57think you get this benefit of infinite size and infinite
- 6:59speed.
- 7:00L1 speed at size of disk--
- 7:02that is just a great lie that we tell you.
- 7:05And it just works.
- 7:06I mean, it is wonderful.
- 7:07A lot of, obviously, engineering behind it,
- 7:09but it's just pretty cool that you can think that way.
- 7:11BORA NIKOLIC: The other thing, keep
- 7:12in mind one of the challenges you'll
- 7:14hear a lot of people talking about,
- 7:16oh, there is some other technology that
- 7:19is going to come and rescue us.
- 7:22We are going to do non computing and so on.
- 7:25And typically, when you drill down,
- 7:29they forget about this principle of memory hierarchy.
- 7:35And the life-- working without being
- 7:39able to build these luxury applications that we have
- 7:43running on top of the operating system
- 7:45with multithreading and many processes and all of that
- 7:50working simultaneously and not impacting each other, that is
- 7:54going to be really tough like.
- 7:56I don't think we're going to see much of that.
- 7:58So keep in mind this is a very basic principle.
- 8:01Don't violate it.
- 8:02We do need infinitely big and infinitely fast
- 8:04memory built out of cheap components.
- 8:09The fourth thing that came initially
- 8:12to help out with the issues with power limitations and slowdowns
- 8:17of Moore's law is the parallelism.
- 8:20That is a huge thing that we drill through.
- 8:22So if you took this class 10 years ago,
- 8:24there was almost no parallelism.
- 8:25DAN GARCIA: That's true.
- 8:26That's true.
- 8:27Gate level-- there was some gate level, I'm sure.
- 8:30BORA NIKOLIC: But that's not how people taught it.
- 8:33Dan, you taught the class back then.
- 8:35DAN GARCIA: I did.
- 8:36I did.
- 8:37BORA NIKOLIC: So things now, parallelism
- 8:38is in the forefront.
- 8:39And what we are going to see going forward,
- 8:43we are going to see specialization,
- 8:45a different kind of parallelism.
- 8:46We are going to have these units that
- 8:48are really good at their stuff.
- 8:51It's not just CPUs, and GPUs, and everything else.
- 8:56There is going to be a whole bunch of different units
- 8:58that are really good for their particular stuff,
- 9:01for particular things.
- 9:02We need to figure out how to run them all together concurrently
- 9:06and efficiently.
- 9:08And we need to program them really efficiently.
- 9:10And that's a pretty big thing, pretty big deal,
- 9:14how to do that.
- 9:17The fifth big principle is about the performance measurement
- 9:22and improvement.
- 9:24And this is one of the first--
- 9:26we didn't tell you that early on.
- 9:28But that was one of the big Patterson's contributions
- 9:31from late '70s.
- 9:33Before that, building computers was like a black magic.
- 9:37And the first edition of Patterson, Hennessey's book
- 9:42actually set up the right way of thinking about computers.
- 9:45First, let's try to figure out how do we evaluate performance.
- 9:50And then let me know what we are dealing with.
- 9:53We know what to improve on.
- 9:55And there, what we talked about in the class
- 9:59is just IPCs and the iron law of computing
- 10:06but also different ways of how we measure performance.
- 10:10Because taking just one angle of measuring
- 10:13the performance often gives us a wrong idea
- 10:18how the actual system is going to perform
- 10:21from user's point of view.
- 10:23And we mentioned this multiple times.
- 10:25AMD is known for beating all the benchmarks.
- 10:30And users don't like it in the end.
- 10:32They've gotten a lot better over time.
- 10:34But this is something that we are going to see,
- 10:37especially going forward in the era of specialization.
- 10:41We have the Apple M1.
- 10:48It's a different system.
- 10:49And it is going to be doing some things better.
- 10:51But some other things may not be.
- 10:53Some applications may not be running quite well.
- 10:57And then the sixth big idea we just touched on
- 11:00is dependability by redundancy.
- 11:03It is important.
- 11:04It is what makes our systems run.
- 11:07And we can rely on them for doing really,
- 11:10really important things, like health care, and life support,
- 11:14and finances, and everything else.
- 11:16DAN GARCIA: And self-driving cars.
- 11:17And self-driving cars.
- 11:18When there's a mud splotch on my-- on sensor on the right,
- 11:21does my car continue to drive?
- 11:22It does.
- 11:23How does it do that?
- 11:24All of that.
- 11:26BORA NIKOLIC: Now, that also is entangled with everything else.
- 11:30I mean, we need to--
- 11:32there is this really, really important thing,
- 11:35where we need to figure out how do we measure
- 11:37how dependable our system is.
- 11:40We have put some numbers over there.
- 11:41But that's something-- if you look
- 11:43at all these ASIL standards, people
- 11:45are trying to matricise that.
- 11:46How often are we allowed to have our self-driving engine fail?
- 11:53We are going to see that--
- 11:56we are talking about quantum.
- 11:59Those are going to fail a lot more often, at least the way
- 12:02how we see them now.
- 12:03They're going to be less reliable than what we have now.
- 12:06We'll have to live with that.
- 12:08They're going to be wonderful.
- 12:09But they're not going to work all the time.
- 12:12This is going to get to the forefront.
- 12:15That's it.
- 12:16I'm going to switch over to Dan.
- 12:18DAN GARCIA: Sure.
- 12:19And what's interesting is I remember
- 12:21Dave has this wonderful line from point 5, which
- 12:23was great metrics yield great performance.
- 12:27Great metrics yield great improvement.
- 12:29If you don't have a metric--
- 12:30my user interface is better than your user interface.
- 12:32Really?
- 12:33On what metric?
- 12:34There is no metric.
- 12:34It's a soft, squishy one.
- 12:35And that's why it's hard to measure
- 12:37these things that are squishy.
- 12:38You make a really clean metric.
- 12:39You can optimize.
- 12:40And by the way, you know what they're optimizing for now?
- 12:42This is something probably, Bora, in the last five years,
- 12:44I think.
- 12:45Used to be, what's your performance?
- 12:46What's your spec rating?
- 12:47Now it's spec rating per watt.
- 12:49It's, how power-efficient are you?
- 12:51That's a whole new way of thinking.
- 12:53How efficient are you per watt?
- 12:54Everything's mobile.
- 12:55Everything's on the laptop.
- 12:57Certainly, the Mac Pro plugged in,
- 12:58who cares how many watts you're using?
- 13:01But if you're doing anything else-- laptop, mobile, watch--
- 13:04you need to have performance per watt.
- 13:06So that's a big new idea way of thinking that wasn't there,
- 13:08I think, five years or maybe even three years ago.
- 13:11It was just raw performance.
- 13:12BORA NIKOLIC: Yeah, and that's a huge thing as well, I mean.
- 13:15And it also needs to be shaped up over time.
- 13:18And it's not just instructions per watt now.
- 13:21It is often some particular task.
- 13:24How many facial recognitions can we do per watt and per second.
- 13:31And that's a pretty big deal.
- 13:33When we are looking at a phone, that facial recognition engine
- 13:39has 20 milliseconds to recognize you.
- 13:42Otherwise, you are not going to like your phone anymore.
- 13:45You're going to give up on that.
- 13:4720 milliseconds under a limited power budget
- 13:49is a pretty challenging compute task, a lot more challenging
- 13:52than project 4.
- 13:54[CHUCKLES] But project 4 does lay a good foundation
- 13:59for building something like that.
- 14:01DAN GARCIA: Sure.
- 14:02Let's keep on moving.
- 14:03Good stuff.
- 14:04BORA NIKOLIC: Yeah, you go.
- 14:04DAN GARCIA: So this is--
- 14:05I mean, Bora talked a lot about this.
- 14:07This was the picture I used to teach when I taught this
- 14:09in 2001 with Dave Patterson.
- 14:11This was our course--
- 14:13machine structures, the old school model, just thinking
- 14:15about a single machine--
- 14:16a single core, even--
- 14:17and trying to look at all the layers of abstraction.
- 14:20We talked about great idea number one.
- 14:21With the ISA being the most important,
- 14:23we spent a lot of time talking about the design
- 14:26of this new, wonderful, open ISA that we have,
- 14:28that we've learned about, that our team, Berkeley's team,
- 14:31has contributed to.
- 14:32Just love that.
- 14:33So we spent a lot of time thinking about this slide.
- 14:36We also talked about this slide, which is--
- 14:39it's a lot more complicated.
- 14:41You've got not one machine but multiple machines.
- 14:44And every machine has multiple cores.
- 14:46How do they talk?
- 14:46How do you have cache coherency?
- 14:48What are the issues?
- 14:49What's the fourth C?
- 14:50Parallelism came in at many layers.
- 14:52We've got parallelism with requests, high level.
- 14:55We talked about thread level parallelism,
- 14:57parallelism instructions through pipelining, parallel data.
- 15:00Let's do some SIMD and do things all at once.
- 15:02And hardware descriptions all operating at the same time.
- 15:04So we talked about parallelism, the many, many layers.
- 15:06And I think all of you are fluent in all five layers.
- 15:09You can imagine a future project 4 might involve somebody
- 15:12touching every single one of them,
- 15:13some project that actually involves if you really
- 15:15optimize it, you touch on every single one of those.
- 15:18And that would be really exciting.
- 15:19Maybe future TAs could think about a project that actually
- 15:21makes them-- to get that number, to get the top of the score,
- 15:24you actually have to do something explicitly
- 15:26about that in a clever way.
- 15:27BORA NIKOLIC: May make you wish to take 61C again.
- 15:30DAN GARCIA: Yeah, right?
- 15:31BORA NIKOLIC: By the way, we have a hundred people now.
- 15:35DAN GARCIA: Hey!
- 15:36We got [INAUDIBLE]---- yeah, that's great.
- 15:37Wonderful, wonderful.
- 15:38BORA NIKOLIC: Ah, it was a hundred a minute ago.
- 15:40DAN GARCIA: Yeah, yeah, yeah.
- 15:41It came out just before-- just as you said it.
- 15:44And this is also a big idea here.
- 15:47We have connected-- okay, I'll tell the story.
- 15:53This was the first time.
- 15:54My own version of this class I took a hundred years ago,
- 15:561980-- boy, man, 1986.
- 15:58I'm dating myself.
- 15:59Bora, you're probably similar.
- 16:01You and I are the same age,
- 16:02I remember learning this, and sitting in class,
- 16:05and realizing-- it was called 6.004 at MIT.
- 16:08It's basically 61C.
- 16:09They are almost identical classes.
- 16:11And I remember saying this is the first time I understand
- 16:14it all.
- 16:14This is the first time I understand
- 16:16the connection between how software works at the highest
- 16:19level.
- 16:20Here's C. And above that, here's Python and things above that.
- 16:23Here's something.
- 16:24Here's Snap! above that.
- 16:26All the way down to--
- 16:27BORA NIKOLIC: Dan, there was no Python back then.
- 16:28DAN GARCIA: I know, right?
- 16:29Right.
- 16:30Python was only on the TV show, Monty Python.
- 16:34It was a gleam in Guido's eye.
- 16:36So it came down.
- 16:37I assembled down to machine code.
- 16:40Now I have an executable program, just 1's and 0's.
- 16:42How do you run that?
- 16:43At the point of me walking into that class--
- 16:44and hopefully, you walked into this class,
- 16:46you didn't know what that was.
- 16:46Those 1's and 0's meant nothing to you.
- 16:48Now they do.
- 16:49You could literally-- if I give you
- 16:51on the final exam 1's and 0's from a final executable,
- 16:54a simple thing, you could actually
- 16:56go all the way back up to C and understand what
- 16:58the heck that means.
- 16:59And you could also build a machine that does that.
- 17:01And you did that in project 3.
- 17:03So I think of this where it's almost
- 17:06like the two connections between hardware and software
- 17:09are connected.
- 17:10And I want people--
- 17:11I want the 101 of you to actually-- if you can,
- 17:14get ready here.
- 17:15I want you to clear out.
- 17:16Step back from your computer.
- 17:17Nobody else is on the screen except for Bora and myself.
- 17:20I'm going to try to do this if I can.
- 17:21I got a background.
- 17:23I got to do this thing.
- 17:24I want you to stand up.
- 17:25I want everybody to stand up.
- 17:27Here, let's do it.
- 17:27Everybody stands up.
- 17:28This is a moment.
- 17:30This is a moment for celebration.
- 17:31BORA NIKOLIC: I'll zoom out.
- 17:31I'll zoom out.
- 17:32DAN GARCIA: I can't zoom out.
- 17:33BORA NIKOLIC: I'm zoomed out.
- 17:34DAN GARCIA: Bora has more--
- 17:34Bora has higher and higher.
- 17:35I'm going to show you my chest.
- 17:37That's all I got.
- 17:38I'm standing up.
- 17:39I'm standing up, okay?
- 17:40BORA NIKOLIC: I can wave.
- 17:40DAN GARCIA: Everybody standing up.
- 17:42Here we go.
- 17:43This is the moment where you made hardware and software
- 17:46connection, where the connection between hardware and software
- 17:50comes together.
- 17:51[IMITATES ANGELIC SINGING]
- 17:53The first time ever.
- 17:54I want you to call home.
- 17:56Get your phone out.
- 17:57Call home.
- 17:58We've done it!
- 17:59Celebration!
- 18:00[MUSIC - LUDWIG VAN BEETHOVEN, "SYMPHONY NO.
- 18:029 IN D MINOR, OP.
- 18:03125"]
- 18:04Woo!
- 18:05Do a dance.
- 18:06Do a dance.
- 18:07[CHOIR SINGING GERMAN]
- 18:18We did it.
- 18:23Woo.
- 18:32Woo.
- 18:33Thank you so much.
- 18:35BORA NIKOLIC: And zoom back in.
- 18:36DAN GARCIA: Zoom back in.
- 18:37Now, I will say this is all weird.
- 18:40And it's all virtual.
- 18:41So you don't get the equivalent.
- 18:43But when we would do this, Bora, we'd do this live,
- 18:46we asked the entire class to stand up,
- 18:49and walk around, and dance with us around the class.
- 18:52And we would have everybody--
- 18:53I just want you to remember that moment,
- 18:55that there's never been a time before where you've really
- 18:58been able to connect that.
- 18:59And the moment that you actually finish, the last tie when
- 19:03you connect the two railroads, the last tie that was connected
- 19:05was when you figured out the control logic
- 19:08to make the RISC-V machine work.
- 19:10That was the last-- the moment that hit,
- 19:12that's when that connection made, where you could actually
- 19:14teach it from the top down and the bottom up, and build it
- 19:17there, and tell your friends.
- 19:18So I encourage you to try to teach your friends how
- 19:20this works, to share some of the wonders of it.
- 19:23All right.
- 19:24BORA NIKOLIC: And there is a benefit
- 19:25of being remote this semester.
- 19:26We didn't make you call home right away at that point.
- 19:29[LAUGHTER]
- 19:30Otherwise, we would have.
- 19:31DAN GARCIA: Right.
- 19:32That was a big deal.
- 19:32It's hard to do to this asynchronously
- 19:34when we make a video and ship it off to you.
- 19:35We don't know when these things happen.
- 19:36But nice to have a shared experience.
- 19:38These shared experiences are definitely missed sometimes.
- 19:41All right.
- 19:43We've got a pretty wide open calendar here, folks.
- 19:46You've got two weeks.
- 19:47This is a Friday.
- 19:48This is the summary lecture.
- 19:50You've got all the rest time to put things together,
- 19:53to get yourself gathered together.
- 19:55You have a unique exam situation.
- 19:58The exam situation is going to be the same
- 20:00as it was in the midterm.
- 20:02We give you 24 hours.
- 20:02We've already announced.
- 20:03This is nothing new.
- 20:04It's going to be three sections-- a Quest,
- 20:06a midterm, and a final.
- 20:08Roughly a 1, 3, 2 kind of a model in terms of the number
- 20:12of half hour segments, where the first question will be about
- 20:15half an hour-ish, the midterm probably 90 minutes-ish--
- 20:18we definitely leave room for flex--
- 20:20and the final section for about an hour-ish, totaling up
- 20:24to three hours.
- 20:25And you can take it any time over 24 hours.
- 20:28And the same recording rules--
- 20:29I'm seeing a question.
- 20:30Same recording rules is there.
- 20:31Nothing changed.
- 20:32Do everything the same.
- 20:33But only three sections you have to worry about, and not two.
- 20:36BORA NIKOLIC: And we are going to have-- we are here to help.
- 20:39DAN GARCIA: And points definitely-- points
- 20:40distributed similar to the time limits.
- 20:41That's exactly right, yes.
- 20:43BORA NIKOLIC: Yeah, we are here to help during the RRR week.
- 20:45There will be extra office hours.
- 20:49We will hold them.
- 20:51There will be a dense offering of office hours.
- 20:56So come armed with your questions.
- 20:59I'll definitely hold an office hour.
- 21:01I can even try to hold it in person,
- 21:03but it's limited to 12 people.
- 21:06I don't know how is that going to work.
- 21:08But I can try.
- 21:09DAN GARCIA: I may be with my nose
- 21:11to the grindstone working with CeCe on the team
- 21:13to get the PrairieLearn.
- 21:14So I may not offer that many office hours.
- 21:16But I definitely do know that we care about you.
- 21:18And we are putting our hours into where
- 21:20they need to be spent to really make
- 21:21sure we give it a very nice beta-tested exam for you guys,
- 21:24definitely.
- 21:25And you have to complete it in three hours.
- 21:27A question from Josh-- yes, you have
- 21:29to complete it in three hours, but not in a three-hour window.
- 21:31Three hours overall time-- like, this plus that plus that
- 21:34is three hours.
- 21:35And how you divide those three sections up is there.
- 21:38Good stuff.
- 21:38Good question.
- 21:40All right.
- 21:42So we said this before.
- 21:44And by the way, I ought to make this clarification.
- 21:47Somebody got stumbled one time.
- 21:49I was really embarrassed when they said, oh yeah,
- 21:51I aced the midterms.
- 21:52That means I don't need to take the final, right?
- 21:54The midterm part of the final, I didn't take it.
- 21:55I just left it blank because I aced it, right?
- 21:57No!
- 21:57No.
- 21:58No, these are harder questions.
- 21:59You've got to take that whole final.
- 22:01So everyone takes the whole final.
- 22:04Even if you aced Quest or midterm,
- 22:05you've got to take the whole final.
- 22:06Don't make that mistake.
- 22:08That would be embarrassing.
- 22:10And if you did well in any class--
- 22:14and this is for 10-- this second part of the slide,
- 22:16I talk about every class I teach.
- 22:18If you did well, please give back.
- 22:20The usual path is academic intern, tutor, or reader,
- 22:22and then TA, and then head TA, and then summer instructor.
- 22:26The highest pantheon of elevation
- 22:28of a student instructor is the summer instructor.
- 22:30So some of our students have done that this semester.
- 22:33And it's been great to work with them.
- 22:34So--
- 22:35BORA NIKOLIC: And this is--
- 22:36DAN GARCIA: Go ahead.
- 22:36BORA NIKOLIC: --really, really important.
- 22:37We really rely on you guys.
- 22:39I mean, if you have done well, if you like this class,
- 22:42join the teaching crew.
- 22:43DAN GARCIA: Yeah, definitely.
- 22:45BORA NIKOLIC: This semester, we went with a lot of new TAs
- 22:48because the previous TAs, a set of lots of TAs
- 22:51that were around before, graduated.
- 22:54And guess what?
- 22:54In May, another round of former TAs are going to graduate.
- 22:59We need new ones.
- 23:00DAN GARCIA: Right, right.
- 23:00BORA NIKOLIC: And that's really important.
- 23:02Also, it's a great experience.
- 23:03I mean, one thing is to take a class.
- 23:09A completely different level of understanding
- 23:11is to actually teach someone else how to do things.
- 23:16And you [INAUDIBLE].
- 23:17DAN GARCIA: You might think you know something
- 23:17until you try to teach it.
- 23:18[LAUGHS]
- 23:21BORA NIKOLIC: Yep, exactly.
- 23:25DAN GARCIA: So there's two questions that are coming up.
- 23:27I'll just answer live.
- 23:30Do you have to start at a 61C AI and then jump to this?
- 23:33But if you have AI experience-- if you
- 23:35have lots of experience for another class,
- 23:37sometimes we can jump into that.
- 23:38You can be jumped into a paid position of a tutor reader
- 23:42without having to go through 61C AI.
- 23:43If you have no experience, you have to go through
- 23:45at least an AI experience.
- 23:47But if you do have experience, it's
- 23:48a good question, anonymous attendee, for that one.
- 23:51And exam strictly timed this time.
- 23:53That means, again-- actually, the exam is same
- 23:56timed as it was in the midterm.
- 23:57It's just that we're not going to write an exam that's
- 23:59much longer than hopefully an hour and a half
- 24:01for the TAs and the three hours.
- 24:03So basically, it's even the same exam style
- 24:05as the midterm, same idea, but basically a smaller scope.
- 24:08You don't have, I think, whatever, six hours
- 24:09or something for the midterm.
- 24:11Now it's definitely three max, three max
- 24:12divided into three pieces.
- 24:14All right.
- 24:16I love this.
- 24:17I'll do my again--
- 24:19(IMITATING GODFATHER) the Godfather
- 24:20answers all of life's questions.
- 24:22You come to us.
- 24:22The reason the Godfather answers all life's questions
- 24:25is a wonderful meta point here.
- 24:29But what we mean by this is you need somebody to vouch for you.
- 24:32You need somebody to tell--
- 24:33if you're going into research, somebody's got to say,
- 24:36this person is good.
- 24:37You go into a job.
- 24:38Sometimes on a job you don't need
- 24:39to vouch as much because you can be in an interview.
- 24:41And you self-vouch by showing off
- 24:43that you know the stuff in an interview.
- 24:45But most of the time, if you go to the next level of academics,
- 24:48you need to have somebody tell you that they believe.
- 24:51I'm from a position of authority.
- 24:52And this person is a rock star.
- 24:54Somebody's got to tell you that.
- 24:55And so the way you do that is get involved in research.
- 24:58And that's one of the reasons that Berkeley
- 25:00is the top university in the world, or at least one of them.
- 25:02So--
- 25:03BORA NIKOLIC: And you--
- 25:04DAN GARCIA: Go ahead, Bora.
- 25:04BORA NIKOLIC: --heard the pretty strong pitch
- 25:06from Dave Patterson.
- 25:10Go to grad school.
- 25:11I mean, if you can.
- 25:12DAN GARCIA: Yeah, definitely.
- 25:13BORA NIKOLIC: If you can, by any means.
- 25:15Don't stop with a bachelor's degree.
- 25:17I mean, you can.
- 25:18Nobody will fault you at that.
- 25:20But go for it.
- 25:23The thing there is it becomes a lot more personal.
- 25:26Instead of having a thousand people,
- 25:28it's your advisor and a few people.
- 25:31And it's a big commitment for that advisor to take you on.
- 25:36So somebody has to vouch for you, like Dan and I.
- 25:41DAN GARCIA: And they know you great.
- 25:43I mean, they know you for years.
- 25:44I mean, I just love writing letters
- 25:46for people I've worked for for several years,
- 25:48either in GamesCrafters or other things that I've done,
- 25:51because I can say--
- 25:51I can speak-- it's not just, well, they've taught for me,
- 25:53but they've done this research.
- 25:54They've done these things.
- 25:55There's a lot of elements to a person
- 25:56that you can really boast about.
- 25:57This person has dedication, and passion, and blah blah.
- 26:00And I can just continue to talk about that.
- 26:02If they're a student--
- 26:03in fact, if you ask me for a letter,
- 26:04I won't give you a letter if you're my student.
- 26:06I don't know you well enough.
- 26:07Only when you go through my teaching,
- 26:09research, or service activities do
- 26:10I get to know you enough to write a letter that means you.
- 26:12Otherwise, it's a meaningless letter.
- 26:13It's called actually a weak letter.
- 26:14And weak letters hurt your case more than no letter at all.
- 26:17So I always say no to any student.
- 26:18But I say yes to every former person
- 26:21who worked with me in a teaching, research,
- 26:22or service role as well.
- 26:26All right.
- 26:27So do you want to take this one over, Bora?
- 26:31BORA NIKOLIC: Yeah, of course.
- 26:33I mean, I'll paraphrase this a bit and butcher it, possibly.
- 26:39Dave would say this always better than I would.
- 26:45There are many opportunities in this field.
- 26:50So we'll talk a little bit more about that.
- 26:56For huge majority of students in the class,
- 26:59this was the entry into the systems area
- 27:01of computer science or what's commonly
- 27:04known as computer engineering.
- 27:06How do we make systems work?
- 27:09There is a bunch of upper division classes
- 27:11that will help you understand that.
- 27:13And there are many career opportunities
- 27:17that are out there.
- 27:22Dave Patterson and John Hennessey won the Turing Award
- 27:27three years ago.
- 27:28And they made a point that this is a golden time,
- 27:32golden opportunity, golden era of computer architecture.
- 27:37These golden eras happen from time to time
- 27:40when we have a big transition to a new paradigm.
- 27:43And we are now transitioning to this domain of specialization.
- 27:49Somebody has to do it.
- 27:51We'll have 1,200 candidates in this class that
- 27:56can participate in that.
- 27:58But it probably needs many more people than that.
- 28:01There are two directions that Dave mentions.
- 28:03One thing, there is a huge gap now
- 28:09between what we call productivity programming
- 28:12and performance programming.
- 28:14So far, before this class, you have
- 28:16learned about productivity.
- 28:18But in this class, you have encountered
- 28:21what performance means.
- 28:23And by the way, a side benefit of that, whenever
- 28:25you see a job listing or internship
- 28:30listing for performance programming,
- 28:33you're most likely already qualified for that.
- 28:36I mean, you'll get more qualified
- 28:37as you take undergrad-- more upper div classes.
- 28:41But you're already good enough to hit those internships.
- 28:46One of the big things is that this gap
- 28:48between productivity and performance
- 28:50is growing every year.
- 28:52And it's the gap between high level applications,
- 28:57frameworks-- even Python down to C is huge.
- 29:00It's 1,000x in [INAUDIBLE].
- 29:02And we have seen that.
- 29:04One of the big challenges is make productivity frameworks
- 29:10run as fast as performance.
- 29:11I think that Dave has been quoted, whoever does
- 29:14that will win a Turing Award.
- 29:17It's not an easy thing to do.
- 29:19And then the other thing is about this domain
- 29:23specialization and domain-specific applications.
- 29:27Building hardware, building efficient compilers
- 29:30for that and efficient frameworks,
- 29:32it is something that is pretty hard.
- 29:36And we have seen our glimpse of that.
- 29:40You have seen a little bit how that is done.
- 29:43The first successful coprocessor was a floating point processor.
- 29:48That's the first accelerator.
- 29:50Then we are seeing vectors.
- 29:52And your vector accelerators, you're using them in the class
- 29:57now.
- 29:57And I'm hoping you're having fun.
- 30:00But there, in project 4, you're actually
- 30:03using accelerator using relatively
- 30:06low-level programming.
- 30:09These high-level frameworks do help.
- 30:12But they don't always find the right thing.
- 30:15And they don't compile always quite the right way.
- 30:19There is a big challenge of doing that.
- 30:21And what we are going to see more and more of these classes
- 30:24of accelerators showing up.
- 30:26And frameworks that are going to try to hit them
- 30:28are going to be really important.
- 30:31DAN GARCIA: It's tough.
- 30:32Nice summary.
- 30:32Nice summary.
- 30:33Dave would be proud.
- 30:34That was great.
- 30:35Do you want to talk about this one too?
- 30:36Yeah.
- 30:37BORA NIKOLIC: Yeah, we are seeing
- 30:38a glimpse of this showing up.
- 30:42We are seeing these systems on a chip that have not just--
- 30:45CPUs are not going anywhere.
- 30:47Whoever is telling you that the computing is going
- 30:49to completely change and we are not
- 30:51going to see this general purpose course,
- 30:54I would love them--
- 30:56ask them to show you how are we going
- 30:59to program bare metal, that kind of stuff, and never live with--
- 31:03never use an operating system again.
- 31:05Good luck with that.
- 31:06Good luck with user acceptance of that kind of a thing.
- 31:10But we are going to see these systems that
- 31:13have incredible performance when they are ran properly,
- 31:17when there are going to be multiple processor cores, GPUs,
- 31:20accelerators, interfaces, memory systems of different kinds.
- 31:24And we use the picture here of Apple A13 Bionic.
- 31:27But M1 chip is an example of that.
- 31:30And we are going to see more of those.
- 31:32And by the way, one funny thing about this class--
- 31:36we use this Anandtech often as a source of our pictures
- 31:40and so on.
- 31:40And we brought you Anand live to--
- 31:44DAN GARCIA: No other class that I've ever seen.
- 31:46No other class in the history of Berkeley--
- 31:47BORA NIKOLIC: Yeah, never happened before.
- 31:48DAN GARCIA: --as far as I know.
- 31:49It's true.
- 31:50BORA NIKOLIC: Yeah, and he's not a 14-year-old kid anymore.
- 31:52[LAUGHTER]
- 31:54He's hiring.
- 31:56And I think he's the one that had a few of our undergrads.
- 31:59DAN GARCIA: That's great.
- 32:00That's great.
- 32:01BORA NIKOLIC: Things are going to go in this.
- 32:04And what we are seeing now--
- 32:05I mean, you have been following these news.
- 32:08Amazon has now their own systems on a chip.
- 32:11They have been announced to be in the cloud.
- 32:14Apparently, they have the client one.
- 32:16So Alexa is going to start speaking, is
- 32:19going to get custom hardware.
- 32:21(IN A STAGE WHISPER) And there are rumors
- 32:22that it may be this time.
- 32:23We don't know.
- 32:24DAN GARCIA: Woo.
- 32:25Woo.
- 32:26That would be nice coup.
- 32:27That'd be a great coup.
- 32:28BORA NIKOLIC: And this is going to be all over the place.
- 32:31And they're all going to be different.
- 32:32Somebody has to figure out how to work with all of that.
- 32:36DAN GARCIA: Outstanding.
- 32:37Outstanding.
- 32:38Good stuff.
- 32:39So a little taste of getting involved
- 32:42with some of the projects I'm working on--
- 32:43as you know, I'm passionate about CS for all.
- 32:46I hope you know that.
- 32:47I care about bringing computer science
- 32:49to people who are really just passionate about learning,
- 32:53learning CS who may not have had the resources to get there.
- 32:55So I do have some projects to improve CS10
- 32:59and to improve Snap! the language.
- 33:00And if you're interested, I have a project manager
- 33:03of BJC, who is Lauren Mock.
- 33:04She's our former head TA.
- 33:05Just shoot her an email saying I want
- 33:07to join one of Dan's groups.
- 33:08What do you have?
- 33:08And then she'll cue up your names.
- 33:09Then we'll have a big meeting at the beginning of next semester
- 33:11and do that.
- 33:12I also have had this project I've
- 33:13been working on since I was--
- 33:15gosh, I was a sophomore.
- 33:16I was a sophomore in college.
- 33:18And I created this game theory tool called GAMESMAN.
- 33:21And I've continued to keep it rolling.
- 33:22And it was my master's project.
- 33:23And I have now a group that I've been running for now 20 years.
- 33:27Started it in 2001.
- 33:28So next year is going to be the 20th anniversary
- 33:30of GamesCrafters.
- 33:31So please do that if you care about game theory.
- 33:33We call it computational game theory,
- 33:34using computer horsepower, i.e. parallelism-- nudge, nudge,
- 33:37wink, wink, say no more, say no more--
- 33:39to try to attack game theory trees.
- 33:43Bora.
- 33:44BORA NIKOLIC: And we do also have to do development first.
- 33:47I mean, 61C is--
- 33:50it's never twice the same class that is being taught.
- 33:54I would love to change some of the infrastructure that we run.
- 33:58As the RISC-V harder becomes more available,
- 34:03we may go for changing our compute infrastructure to be
- 34:07RISC-V--
- 34:07DAN GARCIA: Oh, that'd be so good.
- 34:09That'd be so good.
- 34:10BORA NIKOLIC: Yeah.
- 34:11Right, you can imagine building your own core.
- 34:13And then fast forward, you're running software on that core--
- 34:16DAN GARCIA: Oh, wow.
- 34:17Wow.
- 34:18BORA NIKOLIC: --and the accelerators and so on.
- 34:19It'll be a few years.
- 34:20But we will need a big effort to put that together
- 34:25in the meantime.
- 34:27I did mention this before.
- 34:29But now this is an open call.
- 34:31We do have a bunch of research projects.
- 34:35And we do involve undergrads.
- 34:37And why am I--
- 34:38and the next three slides are pretty important.
- 34:40My graduate students and senior undergrads
- 34:44are telling me nobody is knocking on their lab doors.
- 34:47Well, perhaps there is nobody in Soda,
- 34:50and the lab doors are closed, and there is nobody inside.
- 34:53It's a lot harder to make a connection.
- 34:55I'm trying to make a connection.
- 34:57And this is open call.
- 34:58If you think you're doing really well in this class
- 35:01and then you have it, you can be involved in research.
- 35:06Please join us.
- 35:08And here is stuff that we do.
- 35:10My group is a little different than the others.
- 35:12But we build a ton of chips, a lot of chips.
- 35:15And guess what?
- 35:16Pretty much every single one of them has a RISC-V--
- 35:19or every single one in this picture
- 35:21has a RISC-V home core in there.
- 35:22DAN GARCIA: Wow.
- 35:23BORA NIKOLIC: Look where they date, to May 20,
- 35:26and that was a Raven-1 chip.
- 35:28Had the first RISC-V core.
- 35:30Remember, RISC-V ISA was formed by--
- 35:35the first draft was in August of 2010.
- 35:39Six months later, we taped out the chip based on that.
- 35:43DAN GARCIA: Wow.
- 35:43BORA NIKOLIC: The chip didn't work.
- 35:45Its internal codename was a train wreck
- 35:48because it was just--
- 35:49DAN GARCIA: [LAUGHS] Oh, that's brilliant.
- 35:50You're learning.
- 35:51BORA NIKOLIC: But that is what the reason--
- 35:51that's a beauty.
- 35:52I mean, it basically was like a 61C project.
- 35:56I mean, it was built--
- 35:59DAN GARCIA: That's great.
- 36:00BORA NIKOLIC: --pretty much with an understanding
- 36:02that what you guys have now.
- 36:04But we get better over time.
- 36:06So the thing that you have in the corner over there, EAGLEX,
- 36:10is a 20-core RISC-V pretty capable--
- 36:12DAN GARCIA: Wow.
- 36:13Wow.
- 36:14BORA NIKOLIC: --system that booted Linux and has all kinds
- 36:17of other things on it.
- 36:19And you can play with it.
- 36:20And we need-- some of our current TAs are helping us out,
- 36:23write the applications for it.
- 36:25But you can run--
- 36:27write applications through its lab applications
- 36:30for that particular processor.
- 36:32Next slide.
- 36:33DAN GARCIA: That's great.
- 36:34Boop.
- 36:36BORA NIKOLIC: A few big things--
- 36:37I'm associate affiliated with a few research labs.
- 36:40And we do traditionally engage quite a few undergrads.
- 36:46At that lab, has this big infrastructural project
- 36:49that is called Chipyard.
- 36:51We have a whole bunch of--
- 36:54a good collection of RISC-V cores and tools
- 36:58that go along that.
- 36:59And there is an automated software framework that
- 37:03lets you build your own chips.
- 37:04You can try those chips.
- 37:05You can build them on an FPGA.
- 37:07Or you can build them in an ASIC.
- 37:09We typically have undergrads.
- 37:11And several of your TAs have been working on that as well.
- 37:16Join us, please.
- 37:17Next slide.
- 37:20Here is the-- what is in there, there is a generator now.
- 37:24We make you write these cores from scratch when we start,
- 37:29when we build this Chipyard thing.
- 37:30We give you cores.
- 37:31We have pre-configured cores written in a more abstract way.
- 37:36But you can make a single core RISC-V. Or you
- 37:39can make a few cores RISC-V. And then
- 37:41we have custom accelerators.
- 37:42And we are practicing that future
- 37:44that we are imagining, where the domain specialization is
- 37:47going to be the thing.
- 37:49So we make all kinds of things.
- 37:50We don't always know what is that going to be.
- 37:54Is it going to work well?
- 37:56And there is plenty of surprises over there.
- 37:58Oh, we thought this was going to work.
- 37:59Not really well.
- 38:02But that's what the research is.
- 38:04So try it out.
- 38:05And it is going to help you see the future a little bit
- 38:09earlier.
- 38:10And that's it.
- 38:11Back to you, Dan.
- 38:12DAN GARCIA: Beautiful.
- 38:13Sure.
- 38:13Let's talk about opportunities next semester.
- 38:15So if you're thinking about what courses--
- 38:17I think that was one question.
- 38:18What courses should we take after 61C?
- 38:21Here's a little taste of it.
- 38:23152 is an obvious course if you like CPU design, memory,
- 38:25and architecture in general.
- 38:27Please think about that.
- 38:28162 is the OS side of that.
- 38:30So if you think-- if you appreciate the VMOS and just
- 38:32want it on more, and more, and more.
- 38:34And I think 162 will really teach
- 38:35you to be a better programmer as well,
- 38:37even if you don't end up studying systems or OS.
- 38:40You'll be a better C programmer.
- 38:41BORA NIKOLIC: It's an intense class.
- 38:42DAN GARCIA: Yeah, it's really hard.
- 38:43But it's great.
- 38:44BORA NIKOLIC: These two classes really build up
- 38:46on top of what we have done.
- 38:47I mean, what we have done follows.
- 38:47DAN GARCIA: They build your muscles in that way.
- 38:50I offer three DeCals.
- 38:51I'll just give you a little taste of them.
- 38:53One, I mentioned GamesCrafters before.
- 38:54Please do join that.
- 38:55This time has changed.
- 38:57It's not Monday, Wednesday-- this old slide, 10:00 to 11:00.
- 38:59I think it's 4:00 to 5:00.
- 39:01Check my website.
- 39:01I think it's 4:00 to 5:00 PM next semester.
- 39:04So sorry about that.
- 39:04There is an iOS DeCal, if you want
- 39:06to learn how to program iOS devices, and UCBUGG DeCal,
- 39:09if you want to learn how to make Pixar short films.
- 39:12That's an amazing course.
- 39:13That's also a lot of work.
- 39:14That's three units.
- 39:15You don't need anything other than 3D interest to do that.
- 39:17So that's just great.
- 39:19You want to cover this one, Bora?
- 39:20BORA NIKOLIC: More on the EE side, many of you
- 39:24probably have taken 16A.
- 39:26And that's good enough to get you into a lot of entry
- 39:30into the EE side of things.
- 39:33If you want to get into 120 series, which
- 39:37are signals, and systems, and communications,
- 39:38you probably should take 16B to get going with that.
- 39:43But if you are interested more into circuits
- 39:47and physical devices, you can go straight from 16A into 105
- 39:52and then dive into 140 series.
- 39:54There is also devices that is 130 series.
- 39:57The next one I'm teaching--
- 39:59I'm guessing I'm going to see many of you in 151.
- 40:03So we just got our teaching assignments.
- 40:05I'm teaching EECS151, which is Intro to Digital Systems
- 40:08and Circuits.
- 40:09And that class just basically follows
- 40:12exactly where we stopped.
- 40:13We are going to repeat some of that--
- 40:16there'll be other students who might have not
- 40:18seen RISC-V in that class.
- 40:20We are going to repeat RISC-V and then just get going, learn
- 40:24a new language, Verilog, and build a bigger RISC-V system
- 40:27and get it to work.
- 40:29It is one thing--
- 40:31I often get questions.
- 40:32It has two labs.
- 40:33And they're separate.
- 40:34You can sign up for LA and LB.
- 40:37Generally, not a good idea to sign up for both.
- 40:40That's seven units, and seven Berkeley units
- 40:42is a lot of units.
- 40:43I mean, there are students who do that, but do
- 40:46think about it before signing up for seven units of heavy lab
- 40:50project class.
- 40:51Usually, people take five units, so the lectures
- 40:54plus one of the labs.
- 40:55And then in the next semester, they take the other lab.
- 40:59DAN GARCIA: Wonderful.
- 41:00I just looked up on the side.
- 41:01GamesCrafters is 3:00 to 4:00 PM next spring.
- 41:04So think about that if you want to do that.
- 41:06This is my slide I created a couple of years ago.
- 41:09And I still think it's true.
- 41:10With all the whiz bang, oh, there's cloning,
- 41:13and TVs on your wristwatch, and all the thing,
- 41:15I think the biggest invention that we're
- 41:16going to see in our lifetimes is going
- 41:18to be the ability to directly connect
- 41:19your brain to a machine.
- 41:20And I think we've already seen Elon Musk--
- 41:22I think one of our Computing in the News,
- 41:23if you remember that, Bora, is we brought--
- 41:24Elon Musk is trying to do that and play with that exploit.
- 41:27That is a very exciting space.
- 41:29BORA NIKOLIC: A bunch of our alumni.
- 41:31And I think today posted they're hiring again.
- 41:33DAN GARCIA: Wow.
- 41:34Wow.
- 41:34I mean, this is, I think, the hottest, most interesting space
- 41:37in terms of future, like blue-sky research.
- 41:40Boy, the Matrix is coming, folks, just the ability
- 41:43to be able to have input and output,
- 41:46to be able to download a dream and upload a dream.
- 41:49Blows my mind in terms of science fiction.
- 41:50But I think it's going to be here soon.
- 41:52So very excited about that.
- 41:54And may be able to download all your thoughts of life.
- 41:56You have some Albert Einstein level intelligence.
- 41:59Download it so you have it kind of a thing, surviving it.
- 42:03But wonderful stuff.
- 42:03So Jose Carmena is one of our colleagues
- 42:06who was working that very, very, very hot research area--
- 42:09brain-machine interfaces.
- 42:10So please connect with him if that's interesting to you.
- 42:13Bora, project 3 awards.
- 42:16Ladies and gentlemen, the awards!
- 42:17BORA NIKOLIC: We finally--
- 42:18we got our first 10 winners.
- 42:19Congratulations.
- 42:20DAN GARCIA: Woo!
- 42:22Congratulations, everybody, for your hard work in project 3.
- 42:26Man, oh, man, that was a lot of work to put that together.
- 42:29BORA NIKOLIC: So what you won is our--
- 42:32each one of you won a pair of Apple AirPods Pro.
- 42:36DAN GARCIA: Wow.
- 42:37BORA NIKOLIC: We will need your shipping addresses.
- 42:40We are going to contact you to--
- 42:42if you would like to receive the award.
- 42:44We can give it to you in person.
- 42:46I mean, maybe.
- 42:47We might be able to arrange for that.
- 42:49But more likely, we are going to ship it to you.
- 42:52And we'll need your address.
- 42:53DAN GARCIA: Congratulations.
- 42:55BORA NIKOLIC: Congratulations.
- 42:55DAN GARCIA: Congratulations to all that group.
- 42:56Wonderful, wonderful.
- 42:57BORA NIKOLIC: This is spectacular.
- 42:58I mean, sometimes we have small prizes, $30 prizes.
- 43:03These are a--
- 43:04DAN GARCIA: This is a big deal.
- 43:05BORA NIKOLIC: We have a couple of dozen of these.
- 43:07DAN GARCIA: Again, we've never done this before.
- 43:09Usually, we give you a handshake and a certificate.
- 43:12We've never given a hundred dollar gift for this.
- 43:15Congratulations.
- 43:15BORA NIKOLIC: Well, this is $259, $259 each.
- 43:18DAN GARCIA: Wow.
- 43:19Wow.
- 43:21Thank you, Apple.
- 43:22And thank you to the students who put their hard work in,
- 43:23folks.
- 43:24Great job, everybody.
- 43:25Great job, folks.
- 43:26BORA NIKOLIC: Yep.
- 43:27DAN GARCIA: And there are more awards coming I understand,
- 43:30Bora.
- 43:30BORA NIKOLIC: Yeah.
- 43:31So we have more awards for project 4,
- 43:34top performance in project 4, and also top performance
- 43:36in the class.
- 43:37And our top TAs are going to get awards.
- 43:41DAN GARCIA: Wow.
- 43:41Wow.
- 43:42Great job, folks.
- 43:43Again, wonderful.
- 43:44BORA NIKOLIC: Speaking of--
- 43:44DAN GARCIA: All right.
- 43:45Speaking of TAs--
- 43:46BORA NIKOLIC: Speaking of TAs--
- 43:47DAN GARCIA: --let's give thanks to all the hard work
- 43:50done by our TAs.
- 43:53This is all a set of just thank yous at this point.
- 43:55This is like the end of an Oscar speech.
- 43:57First, we want to thank Stephan and CeCe.
- 43:59They were outstanding head TAs up and down,
- 44:02handling all the situations we did.
- 44:04Thank you so much for your hard work and dedication
- 44:06to this class.
- 44:07And this is just pages after pages.
- 44:09We have a huge staff.
- 44:10So thank you Jonathan, Nikhil, Sunay, Daniel,
- 44:13Cynthia, and Kevin, again, for all of this.
- 44:15Caroline, Jie, Kimberly, Max, Anson, Taejong, Jerry, Alice,
- 44:20Justin, Seah, Ryan, Emily, Ryan, Ivy, Robin, Luke, Avi, and Lu--
- 44:27almost done--
- 44:28Ryan, Dayeol, and Anthony, thank you so much.
- 44:31Just give a hand for our TAs and our staff!
- 44:33Amazing group of TAs who were there.
- 44:36By the way, our TAs are overworked at a level--
- 44:39I don't even want to know.
- 44:40I mean, I want to know because I want to fix it.
- 44:42But our TAs put in so many extra hours
- 44:43that you guys don't even realize.
- 44:45So please-- thank you so--
- 44:46let's give our thanks to the TAs.
- 44:48They really--
- 44:48BORA NIKOLIC: It's like Oscar ceremony--
- 44:49we need to thank our families, friends, producers.
- 44:52DAN GARCIA: Yeah, yeah.
- 44:52[LAUGHTER]
- 44:53That's right.
- 44:53Let me thank my family for letting
- 44:55me steal every weekend for the entire semester.
- 44:57That's definitely where the-- prize goes to my wife.
- 44:58BORA NIKOLIC: Exactly, and staying up till 2:00, 3:00 AM.
- 45:01DAN GARCIA: The prize goes to my wife
- 45:03for not having a weekend with her for the whole--
- 45:05all right.
- 45:06I also want to thank-- there's another slide that I think
- 45:09might have gotten lost here.
- 45:10I want to thank also the tutors and the AIs for our family.
- 45:14This is a lot of work by a lot of people.
- 45:17This is where the wheels meet the road, all that contact, all
- 45:19that face-to-face time you had with your tutors and your AIs.
- 45:23Thanks to those folks.
- 45:24Great job, everybody.
- 45:26Shoo, here we go.
- 45:29The future for future Cal alumni--
- 45:32what is the future?
- 45:34Look at this.
- 45:35This new millennium is amazing.
- 45:37Ubiquitous computing-- anywhere you
- 45:38go, you've got a computer on your phone, in your hand
- 45:42as fast as a computer from two generations ago.
- 45:45What can you do with it?
- 45:46Nanotechnology-- making things smaller and smaller and small.
- 45:48The internet of things means that everything
- 45:50is an IP address now.
- 45:51I have light bulbs in my house that are IP addresses, Bora.
- 45:53This is crazy.
- 45:54If you told me, Dan, you're going to have light bulbs,
- 45:55I was like, come on.
- 45:56A light bulb lamp, yes, I have--
- 45:57BORA NIKOLIC: Dan, they're not secure.
- 45:58They're not secure.
- 45:58DAN GARCIA: I know they're not.
- 46:00Wait-- why did it go red?
- 46:01Thank you so much, hacker.
- 46:02So I've got this going on.
- 46:04We've got AI.
- 46:04The parallel revolution is hitting.
- 46:06Domain specialization, as Bora mentioned, exactly that.
- 46:10Again, rapid changes in technology.
- 46:11Post-PC era-- we talked about the eras of computing.
- 46:14Remember the lecture.
- 46:15I talked about that, where some of the post
- 46:17PC-era, the power of the cloud is in your hand
- 46:20and on your watch.
- 46:21It's incredible.
- 46:22You've got the world's best education at Cal.
- 46:24Never give up.
- 46:26"The best way to predict the future-- is to invent it!"
- 46:28Alan Kay.
- 46:29So the future is up to you.
- 46:31That's it.
- 46:32Folks, I want to thank Bora for the teamwork.
- 46:36Bora, I really have enjoyed this year with you,
- 46:38my friend, this semester with you.
- 46:40It's been a challenge because of all the other things
- 46:42that came out.
- 46:42But I couldn't imagine somebody better
- 46:44to ride the train with you.
- 46:46So thank you so much for all the things you've done.
- 46:47BORA NIKOLIC: Dan, and thank you as well and to your family
- 46:50for letting us borrow you.
- 46:51DAN GARCIA: [LAUGHS] Yeah.
- 46:53Yours as well.
- 46:54BORA NIKOLIC: Lending us to you.
- 46:55DAN GARCIA: And yours as well.
- 46:56Oh my goodness.
- 46:57Let me get out of this.
- 46:59Get out here.
- 46:59Don't leave yet.
- 47:00Don't leave.
- 47:00We've got one more--
- 47:01let me see.
- 47:02I might have--
- 47:03Bora, do you have one more thing?
- 47:05I might have one more--
- 47:06BORA NIKOLIC: Yes, one more thing.
- 47:07DAN GARCIA: I might just have one more thing.
- 47:10I don't know if many of you folks are fans--
- 47:12BORA NIKOLIC: We've never done this before.
- 47:13DAN GARCIA: Yeah, we've never done this before.
- 47:14This is brand new.
- 47:15I don't know if we have fans of the Hamilton soundtrack,
- 47:19Disney+ and everything.
- 47:20But I might need some help with this from folks who might need
- 47:25to-- so TAs, if you can unmute, I might need-- all the TAs--
- 47:28Anson, Ryan, Lu, Bora, I need some help here.
- 47:30BORA NIKOLIC: Dan, I'm here.
- 47:31I'm here.
- 47:32DAN GARCIA: But you have to go to--
- 47:33BORA NIKOLIC: I'll give it a try.
- 47:34I'll give it a try.
- 47:34I'll give it a try.
- 47:35DAN GARCIA: So I need everybody to give me
- 47:37a little bit of a backup here going on.
- 47:40So we'll see-- shoo.
- 47:42We'll see if this works.
- 47:43And there is some Zoom lag.
- 47:45So I want to apologize already for--
- 47:47BORA NIKOLIC: We have never done this.
- 47:48DAN GARCIA: The Zoom lag is going
- 47:50to be just very unfortunate.
- 47:52And this is much better live in front of the class.
- 47:54But we'll try.
- 47:55So folks--
- 47:56BORA NIKOLIC: Let's give it a try.
- 47:56DAN GARCIA: --give this a try.
- 47:57TAs, Ryan, Anson, Lu, you've got to unmute.
- 47:59You got to say with us.
- 48:00They don't know.
- 48:00They're like, what do you mean?
- 48:01You didn't tell us this.
- 48:02I didn't tell anybody.
- 48:03Nobody knows what they're supposed to be doing.
- 48:05But we're going to give this a shot anyway.
- 48:07Bora, at least you've got my back here.
- 48:08Here we go.
- 48:08All right?
- 48:09BORA NIKOLIC: Exactly.
- 48:09DAN GARCIA: Ladies and gentlemen--
- 48:10BORA NIKOLIC: Let's do it.
- 48:11DAN GARCIA: All right, on 3.
- 48:12Let me turn the volume down just a little bit so
- 48:13I'm not overwhelming myself.
- 48:14Okay.
- 48:14On 3.
- 48:15Here we go.
- 48:17Woo.
- 48:17[MUSIC - LIN MANUEL MIRANDA, "TEN DUEL COMMANDMENTS"]
- 48:20(RAPPING) 3, 4, 5, 6--
- 48:21BORA NIKOLIC: (RAPPING) 1, 2, 3, 4, 5, 6, 61C.
- 48:24It's the six big ideas.
- 48:27Computer architecture.
- 48:31DAN GARCIA: Number 1--
- 48:32BORA NIKOLIC: Number 1--
- 48:32DAN GARCIA: --it is all about the layers of abstraction.
- 48:34If you understand, no need for further action.
- 48:37BORA NIKOLIC: Number 2--
- 48:38DAN GARCIA: If you don't, grab a friend, peer instruction.
- 48:40They'll tell you that's Moore's law
- 48:42was an exponential function.
- 48:43BORA NIKOLIC: Number 3--
- 48:44DAN GARCIA: Have a second cache just
- 48:46in case the first one is the miss.
- 48:48Locality of time and space, this hierarchy,
- 48:51with smaller costly faster, always a local copy
- 48:54of the bigger, cheaper master.
- 48:56BORA NIKOLIC: Number 4--
- 48:57DAN GARCIA: If not fast enough, parallel!
- 48:59Though pruning nondeterminism can be hell.
- 49:02You widen up your registers, accelerate with SIMD,
- 49:05or you go multi-core and then you speed it up with MIMD.
- 49:08BORA NIKOLIC: Number 5--
- 49:09DAN GARCIA: Measure performance for improvement.
- 49:11The use of solid metrics, yo, is a movement.
- 49:15To get--
- 49:15BORA NIKOLIC: Number 6--
- 49:16DAN GARCIA: --dependability, add one, two, or three
- 49:19backups for redundancy.
- 49:211, 2, 3, 4, 5, 6--
- 49:22BORA NIKOLIC: 2, 3, 4, 5 6--
- 49:24DAN GARCIA: 61C!
- 49:24BORA NIKOLIC: 61C!
- 49:25DAN GARCIA: Good luck on your exam!
- 49:28Woo!
- 49:30Folks, what a pleasure it's been teaching this class with you.
- 49:34We are so excited for you to go rock star that final exam,
- 49:37crush that, get the highest A grade in the history
- 49:41of this class, no curve.
- 49:42You guys are going to be great.
- 49:44You guys are ready.
- 49:44We love you guys.
- 49:45All right, good stuff.
- 49:47Good stuff.
- 49:48Thank you again for coming to this last class, everybody.
- 49:52BORA NIKOLIC: And we've got to vacate this.
- 49:53We have a class after us.
- 49:55DAN GARCIA: Yeah, that's true.
- 49:55We've got a class right now, actually, Chem 1A.
- 49:57So we've got to get out.
- 49:58Take care, folks.
- 50:00Thanks, everybody.
- 50:01BORA NIKOLIC: All right.
- 50:01We'll answer the questions in--
- 50:03hit me up with the questions next week.
- 50:05DAN GARCIA: Perfect.
- 50:06All right.
- 50:06BORA NIKOLIC: All right, bye.
- 50:06DAN GARCIA: Take care, folks.
- 50:08I'm writing the exam.
- 50:09All right.
- 50:09Thanks, folks.
- 50:10Bye.
- 50:10BORA NIKOLIC: Bye.
- 50:11DAN GARCIA: Good stuff.
About this transcript
This page contains the full transcript of [CS61C FA20] Lecture 40.LIVE - Summary by CS 61C Departmental, generated from the public captions YouTube serves with the video. The transcript has 9,499 words across 1,455 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to translate the transcript into 100+ languages.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, translation to 100+ languages, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.