- Not be touching memory that is not my own.
And indeed, thanks to Binky we're about to see --
- I love showing Binky every year.
This is from Nick from Stanford.
- This animation's been around for a really long time.
- It's just cute
- 1999!
- I can just picture him making this in his home.
Hours on end, I'm sure.
- Oh, this must have taken forever.
- We learned that ourselves.
Our [INAUDIBLE] production team, we all decided
it would be a good idea to recreate Binky a year or so ago.
but this time using Legos and building Binky and tweaking him
every few frames.
And oh my god, was that time consuming.
I can't imagine what it was like doing with clay where you
have to shape it even more precisely.
- But this is fun.
it takes the syntax and it lines it up with --
just, it's goofy.
- How can you be scared of Binky?
It's Binky.
- He's going to have his magic dereferencing wand.
- For referencing.
Yeah, Nick takes some liberties with the technical jargon.
But notice, look, even Nick likes his Easter eggs.
Forty-two, oh come on now.
- I know.
- And the bad number that breaks everything, 13.
- Of course.
It's unlucky.
- But this is fun.
we do this on the overhead screen as well.
We use this same example in fact.
We go into detail so that it lines up nicely.
And this really is just a fun delivery vehicle
for what is kind of a scary topic.
And so I think it, hopefully, makes it a little more real.
But it also gives you an opportunity to realize,
as per the arrow that's just kind of floating there, isn't actually
pointing at anything, that OK, even if Binky's separating from his clay
there is not what you would expect to actually happen.
Like, something awry is certainly inevitable here.
- Oh, poor Binky.
- Oh, that's no good.
That's dedication to the art here though.
- I know.
- Moving the eye no less.
- It's a silly and cute way to introduce pointers,
but it's like, yeah, bad things happen when you dereference
a pointer that hasn't been given space.
- Bad things happen.
- That's the take away.
- Bad things happen and hopefully this can
help make the nerves that come with pointers go away a little bit.
people make these mistakes, I made these mistakes all the time.
I don't even intend to do it in section.
It happens.
I think that's one thing that's really important to take away
is that these mistakes are not indicative of you failing at this,
to learn this.
these are problems that people facing even
though we've been doing this for a long time and it's totally normal.
- It's totally stressing me out how many steps it must have taken to shoot this.
- Well, we know.
We got through two seconds of the Lego implementation.
- Oh yes, we do know how long.
Well, big thanks to Nick for this.
- Yeah.
Thank you, Nick.
This was a great.