meta_pixel
Tapesearch Logo
Log in
Programming Throwdown

181: Memory Management

Programming Throwdown

Patrick Wheeler and Jason Gauci

Objective C, Java, Programming Throwdown, Education, News, Programming Languages, How To, Tech News, C, Python

4.6604 Ratings

🗓️ 12 May 2025

⏱️ 106 minutes

🧾️ Download transcript

Summary

Intro topic: Video Game Prices

News/Links:


Book of the Show


Patreon Plug https://www.patreon.com/programmingthrowdown?ty=h


Tool of the Show


Topic: Memory Management

  • Motivation
    • Avoid thrashing / crashes
    • Allocate resources efficiently
    • Keep high uptime
  • Where
    • OS Level
      • Heap management
      • Virtual Memory
    • Language/Compiler Level
      • Cpp
      • Garbage collection
      • Ownership
  • Tools
    • Instrumentation
      • Export to Datadog / Grafana
    • Python: psutil & tracemalloc
    • Valgrind
  • What to do when your program uses too much memory?
    • Reduce data sizes
      • Compression
      • References
      • Lazy initializer
      • Generators & Back Pressure
    • Ring buffers
    • Arena allocators
    • Disk based caching


★ Support this podcast on Patreon ★

Transcript

Click on a timestamp to play from that location

0:00.0

Programming Throwdown, Episode 181, Memory Management.

0:45.0

Take it away, Patrick. Welcome to another episode of programming throwdown. My topic, I guess it's the opening rant. Yeah. It's okay. No, I'm curious. I actually don't, I didn't talk to you about this before we recorded. So this this is live on air but uh video game prices all right so everyone's like a different kind of video gamer they're not a video gamer casual whatever and and I get that but then it's really interesting

0:50.1

specifically when we're recording this is right around the launch time of the switch two. So we have

0:55.2

to say this now because 10 years from now people will be like, what are they talking about?

0:59.7

But the switch two is coming out and there's been a lot of chatter online, you know, in people I see at

1:06.8

work and about the price of the system, probably reasonable, but the price of the games were

1:12.9

considered more expensive. So sort of like 80 USD dollars to 90 USD dollars. So just for my edification,

1:19.3

what's the price of the system? Because I'm not in the loop on this. Oh, I don't have it in front of me.

1:24.5

Roughly, yeah. Yeah, I think $400. Okay. And what was the switch one? Was it cheaper than that? I think like $50 cheaper. Okay, got it. Okay, it looks like it might be $450. And I think the original switch was $400. That's roughly right. I don't know because I just opted out, which is part of the rent. the rent. So some people are saying, you know, oh, this is this is inflation or even, you know, when there were Super Nintendo. And I remember going to a Kmart and Super Nintendo games were like, what? They're how expensive? And it was crazy. Yeah. Like $70, 80. So people are like, well, you know, we're just, we're just kind of whining.

2:03.1

And if you look at the number of hours you get, like compared to, let's say, the price of a movie ticket, then, you know, it's a super, you know, good value or price of going to an amusement park or something, right?

2:14.2

Like, you can kind of make these value propositions.

2:16.8

And what I realized is like

2:18.8

price anchoring, price economics, these things are just so complicated and even in such like a,

2:25.4

I don't know, a small chasm of the world that you can end up with such different logical reasons

2:33.6

why the price is good or why the price is not good

2:36.6

that are consistent for that individual. And then it just leads like to, to, you know, outcomes all over

2:42.3

the place. Like, of course I'm going to buy this and here's my rationalization or of course I'm

2:48.1

not going to buy this and then here's a made up rationalization and then other

2:51.3

people who are legitimately trying to they're on the fence and they're they're sort of trying to

2:56.1

decide. So I have my sort of opinion on which side I feel this comes down on and my logic,

3:03.1

but I wanted to hear from you. Like do you think think in general, like launch price of video games being

3:09.2

sort of $70, $80, $90? Like, yeah, that's fine. It's worth it? Or, oh, no, that's way too

...

Please login to see the full transcript.

Disclaimer: The podcast and artwork embedded on this page are from Patrick Wheeler and Jason Gauci, and are the property of its owner and not affiliated with or endorsed by Tapesearch.

Generated transcripts are the property of Patrick Wheeler and Jason Gauci and are distributed freely under the Fair Use doctrine. Transcripts generated by Tapesearch are not guaranteed to be accurate.

Copyright © Tapesearch 2025.