Menu
Sign In Search Podcasts Charts People & Topics Add Podcast API Blog Pricing

Dave Plummer

๐Ÿ‘ค Speaker
1147 total appearances

Appearances Over Time

Podcast Appearances

Lex Fridman Podcast
#479 โ€“ Dave Plummer: Programming, Autism, and Old-School Microsoft Stories

And I got everything I wanted, but I wanted it to be really robust.

Lex Fridman Podcast
#479 โ€“ Dave Plummer: Programming, Autism, and Old-School Microsoft Stories

And so that, and small.

Lex Fridman Podcast
#479 โ€“ Dave Plummer: Programming, Autism, and Old-School Microsoft Stories

And the original was like 87K.

Lex Fridman Podcast
#479 โ€“ Dave Plummer: Programming, Autism, and Old-School Microsoft Stories

Okay.

Lex Fridman Podcast
#479 โ€“ Dave Plummer: Programming, Autism, and Old-School Microsoft Stories

You don't assume much, right?

Lex Fridman Podcast
#479 โ€“ Dave Plummer: Programming, Autism, and Old-School Microsoft Stories

If you're going to call the shell to run an app, well, that could be a network path that's on a TCP AP share that takes 90 seconds to time out.

Lex Fridman Podcast
#479 โ€“ Dave Plummer: Programming, Autism, and Old-School Microsoft Stories

So anytime you do any kind of API call like that that could take time, you're going to wind up doing it on a separate thread.

Lex Fridman Podcast
#479 โ€“ Dave Plummer: Programming, Autism, and Old-School Microsoft Stories

And so the app becomes a little bit more complex because everything is multi-threaded.

Lex Fridman Podcast
#479 โ€“ Dave Plummer: Programming, Autism, and Old-School Microsoft Stories

There's a couple of things that are a little hardcore now.

Lex Fridman Podcast
#479 โ€“ Dave Plummer: Programming, Autism, and Old-School Microsoft Stories

I'm surprised I did.

Lex Fridman Podcast
#479 โ€“ Dave Plummer: Programming, Autism, and Old-School Microsoft Stories

Like, I didn't want to link to the C runtimes at all.

Lex Fridman Podcast
#479 โ€“ Dave Plummer: Programming, Autism, and Old-School Microsoft Stories

So I made sure never to call a runtime call, and I didn't link to them.

Lex Fridman Podcast
#479 โ€“ Dave Plummer: Programming, Autism, and Old-School Microsoft Stories

And that saved me whatever the C runtime is, 96K or something.

Lex Fridman Podcast
#479 โ€“ Dave Plummer: Programming, Autism, and Old-School Microsoft Stories

So, you know, it almost doubled the size of the app if you just touched any C call.

Lex Fridman Podcast
#479 โ€“ Dave Plummer: Programming, Autism, and Old-School Microsoft Stories

So I was careful not to do that.

Lex Fridman Podcast
#479 โ€“ Dave Plummer: Programming, Autism, and Old-School Microsoft Stories

But then I was actually writing in C++, which is C with objects more than anything.

Lex Fridman Podcast
#479 โ€“ Dave Plummer: Programming, Autism, and Old-School Microsoft Stories

But...

Lex Fridman Podcast
#479 โ€“ Dave Plummer: Programming, Autism, and Old-School Microsoft Stories

In order to get it to work, I had to go through and call all the object constructors manually from the dispatch table and stuff because you don't have the runtimes to do it for you.

Lex Fridman Podcast
#479 โ€“ Dave Plummer: Programming, Autism, and Old-School Microsoft Stories

So you're working with a compiler that doesn't have its runtime, and I don't want to rat hole on the technical issues, but it's a lot of extra work to get it to work, but when you do, it's incredibly small and tight.

Lex Fridman Podcast
#479 โ€“ Dave Plummer: Programming, Autism, and Old-School Microsoft Stories

One of the cooler things that I saw is