- Podcasts
- Programming Throwdown
- C Programming Language
About this episodeThis show covers C, the foundation of all programming languages. We begin by introducing ourselves, then jump into talking about the PS3…
This show covers C, the foundation of all programming languages. We begin by introducing ourselves, then jump into talking about the PS3 hack and Nokia cell phone strategy. The tools of the day are Comix the comix book reader and Bitcoin, a virtual currency.
★ Support this podcast on Patreon ★Transcript
From the publisherThis transcript comes from the podcast’s own feed, shown as the publisher wrote it.
C Programming Language
Jason. Yeah, let's see. So yeah, I guess we have this news about this PS3 hacker guy getting back at Sony, and Sony going back and forth with him. George Hotz—George Hotz is his internet pseudonym, and he's one of a group. I guess he's teaming up with Fail Overflow, which is another hacker group. And together they were able to hack the PS3, and this is pretty cool for people who want to sort of run homebrew software, whether it's emulators or just nice little apps you want to just take advantage of the PS3 hardware in a way that no one else has really thought of. This gives you that opportunity. I think it's really interesting.
So totally, the encryption completely falls apart when the RNG is just returning six the whole time. And between figuring that out and some other hacks in hardware, they were able to completely unlock the PS3. They were able to get to the point where now you can write or even you at home can write signed apps for the PS3, and the PS3 hardware thinks that you're a professional developer even though you're some kid in your basement.
Mean, so he's lost that DRM that you know they were really trying to hold on to, and they had been—they'd prided themselves on being the only console that hadn't been hacked. So yeah, they're going and suing George Hotz, and they're also trying to shut down his website. It's gone so far; they actually sued or they actually commandeered the IP addresses of anyone who's been to his website and the username of anyone who's seen his YouTube video. So I mean, this is really starting to get into personal privacy.
Oh man, so I saw today that Nokia is gonna, you know, try to sell off or relicense their Qt, and um, I guess this is as part of them switching from their own OS, the Symbian OS, I guess, to Windows 7, or at least have that emphasis. So, as part of that, I guess they're trying to divest the Qt stuff, yeah.
This is interesting to me—uh, you know, from a technical standpoint, from the market, I guess not from the technical standpoint, from the market standpoint though. And it's my understanding Nokia has a huge, you know, market share overseas. I know some people from Africa, and they were saying like all the phones there are Nokia, and they're mostly the, you know, what do they call feature phones, right? Not smartphones. So, I don't—I guess it's a matter of pride for Nokia to say they have the best smartphone or a great smartphone, but it seems like you can make a pretty good living off of, you know, dominating the non-smartphone market, which at this point is still bigger than the smartphone market.
yeah most people don't need that much flash um i sure i i sure don't i mean my plan would be to put uh comics on there and i could put just you know pretty much every every i have every x-men comic and it's only like four gig so uh and i don't need all that on the pad so the zune's looking pretty good but at that price point i don't know i think i'm gonna have to stick with the ipad too might be in line when it
Should try to learn anything? Well, okay. Hang on, hang on. One more news item I had: Facebook Bot Beluga. And this is not terribly interesting, and itself Beluga is a group messaging app. I guess that basically you send text messages to a Beluga number, and the Beluga re-sends them out to people in your group. So it's a way like if you know you and a group of fans go to a theme park, you can all keep in touch with each other over text messages and not have to pay to send it to four people just to one number, and then that number will redistribute to everybody. Oh, interesting. So so that's kind of interesting, and there's a couple other applications doing something similar, but then I saw some analysis where people are saying that they think Facebook's going to make a run at the SMS itself by every phone now having a Facebook application. If you can send SMS from within Facebook, that'll be data, not text messaging, and a lot of people will be happy to get rid of those expensive texts.
All right. Let's take a shot at this. So um basically what we want to do is throw down a new language every show, every in this taste. We're looking at making a show every couple weeks, and we want to do is just take on a new language. You know, we'll spend a couple of weeks beforehand learning it ourselves, and then we'll spend a couple weeks after, you know, continuing what we've talked about and advancing on that. And the goal is just to learn new languages all the time, find out what languages are appropriate for what tasks, what are the pros and cons, all that good stuff, and to just share that knowledge with you guys out there, and to also, you know, give you guys some more tools for the toolbox when you guys are out there doing engineering and coding things up.
Job. Yeah, I mean, you know nowadays languages have come so far, and there are some languages that are so high level and so efficient, such as, you know, Java and Python. And there are other languages that have been extremely optimized with, you know, SSE and different compiler tools, so namely C and C++. That, uh, you just you have a wide array of opportunity as a programmer.
Favorite language has always been C++. That's what they taught us in school. Um, you know, in ninth grade or whatever. So I've been kind of sticking to that, but I'm also pretty familiar with C like Java and Python a lot. Getting into, I did a little bit of Lisp, and so I'm starting to get into Scheme a little bit just to understand it. But yeah, I'd say those are my favorites. What about you? Yeah.
I might have pretty similar. I actually started off learning, I guess C++ in high school and college did Java. Um there's some interesting stuff there especially since even hasn't been that long since I've been out of school, but you know Java's come kind of far even in just that little time as far as fixing a lot of the complaints about slowness. That's been interesting. Yeah, definitely also do a little bit of Python, um done some kind of crazy stuff in, I guess what is that LabView and Visual Basic here and there. Some a little bit of C# oh nice, and did a little iPhone programming so that'd be Objective-C. Um so that that's pretty much, but mostly you know I'd say 90 percent of my stuff's been in, you know, C, C++. Yeah.
Yeah, I mean, I had a conversation about this with somebody at work talking about that. You know, I had been doing C++, for a little while, and really like some of the object-oriented stuff that we were doing in there, and then I had to write some C code for a very low-level processor, and was able to take a lot of this stuff I learned out of C++ and use it in C even without, you know, just doing classes. The stuff that you learn is applicable, and I try to do the same with, you know, Python or, you know, hopefully as part of this getting into, you know, like Haskell, OCaml, like you talked about, you know, Lisp, Scheme—whatever those kind of languages—and not even just writing code in them, but taking the lessons learned, the way of thinking, and applying that to my everyday code.
smarter. Yeah, that's right. That's what we're doing. Our goal here is to make everybody out there feel a little smarter and a little better about, you know, software engineering, and make you feel good about yourself and challenge you to broaden your horizons. That's right. That's right. Horizons will be broadened whether
Of weird. Yeah, if you it goes under the title GTK Comic Book Viewer, but basically the way it works is comics come in this format called CBZ and they also have another format called CBR, and all it is is just a ZIP file with a bunch of images in it. Or in this or in the CBR case, a RAR file. What this Comics does is it opens the ZIP in memory. It loads all the pictures and it provides this really slick interface for you to go through the comics. So it'll actually, you can hit space bar and it'll go from frame to frame like it kind of intelligently figures out the layout of or guesses at the layout of the comic, and it'll let you navigate through and let you read the comics faster. It does some also some sampling and things like that to make them a little sharper, make the images clearer. So they use it a lot. I like it. So,
I mainly use this on my MacBook when I travel. That's most of the time when I'm reading comics, I'm traveling. And I believe this they have a version if it's not if it's not Comics, it'll be something else, but they have comic book readers for the iPad and for the iPhone too. So keep in mind if you're if you're a big comic book fan and you subscribe to like digital comic books um those CBZ files and CBR files can be opened in a ton of different viewers, and some of them have some really smart capability like this Comics one. So just keep your eyes out and you can make your comic reading experience a little better. Nice.
Comic books. See, I never got into it until I found out like the World Beyond superhero comic books, you know? Like I never really got into Spider-Man. I got into X-Men a little bit. I wasn't really into Batman, but then I started finding out about, you know, I guess I'll say more modern ones like The Walking Dead and.
You know, Scrooge McDuck is a comic. It's actually like endorsed by Disney, but it's not like a little children's comic. It's actually kind of really yeah, it's kind of like has not I wouldn't say an adult theme because 'adult' has sort of connotations there, but it's sort of it deals with some kind of mature topics and the humor is sort of high concept. It's really surprising for Disney. Um so what you're saying is if
So, so you and I talked about this a little bit before, but I have my Tool of the Day just for sheer interestingness of concept: Bitcoin. So nice Bitcoin. The reason part of it. I was thinking about it again today as I saw that they released a Java version of it, but Bitcoin is a program that you run on your computer that's a peer-to-peer program for doing money transaction. So, you know, eventually it's a new currency based on, I guess, cryptographic principles. I still haven't fully put my head around what it is yet, but a way of creating a
Know money can be whatever. And doing transactions, so a way of doing transactions in a peer-to-peer manner that's, you know, more easily authenticated in a non-centralized way. It's a very interesting concept. So part of the initial thing now is doing the computations to generate these Bitcoins. And if you get this Bitcoin client, not only can you do transactions, you can also be involved in essentially printing money or printing Bitmoney.
did not know that. Salt, so salary was you're being paid in salt. Busting out the verbal skills there. It's impressive. That's it. I'm done. No more. That was the limit. Oh man, that's your one time. No. So, you know, they used—they used salt and then later on, you know, I mean even to this day gold is used, you know, money used to be actually backed by gold, and you could trade it, trade one for the other. Well,
I mean, I guess the price has gone up so much, but the problem is that they're giving you aside from the scamminess of some of the people—I mean, they're giving you the price for the raw material of gold in the item, not the workmanship, craftsmanship. You know, intrinsic or the what is I guess extrinsic value? Or intrinsic extrinsic value? Extrinsic. Yeah. So, I mean, they're not giving you anything for that. So the fact that it's a lovely crafted, you know, gold chain necklace—they weigh it, see how much gold's in it, and that's what they're going to base their payment on.
It. Yeah, keep the facade going. And I think I don't know if it was you or someone else—someone was telling me that they actually take like the diamonds out. Like some people will turn in a ring with a diamond in it and they'll just pay them for the gold, but then they'll turn around and sell the diamond.
Too? Oh no, that wasn't me. That's—I know other, you know, kind of scams that work like that, right? You know, you go to the flea market or go to some place, pawn shop, right? And you try to pawn something, and if the guy thinks you don't know what the value of the item is, he'll try to, you know, basically give you as little as possible for it. Yeah, yeah, definitely. You have a, you know, original Monet picture, you know, and he says, 'Oh, this is a print.' You know, I give you 20 bucks for it,' and he turns around and sells it for
Coin, right? The pool will be exhausted. And at that point, you know, you will trade services if you want Bitcoin services or bits or atoms. So it may be, for instance, you want to have web hosting and you could exchange for the Bitcoins that you spent your time on your PC to make for web hosting on somebody else's computer which they can use to turn around and trade for actual dollars to do something else with, or whatever. I mean, at that point it is—it's just another currency. It's just how many people will actually accept it as payment and as a form of trade. This kind of
Reminds me a little bit of you know back when I used to do TopCoder. Your Google is intimately involved with TopCoder, and now they have their own called Google Code Jam, but they actually gave Gmail accounts like some of the first Gmail accounts to people who participated in a TopCoder collegiate challenge back in like 2003 or something like that when Gmail was brand new, and at the time people were selling their invites. Like if you could invite somebody else to Gmail, he would know give you a free tour of DC. It's like they had a whole list of things that you could buy for your Gmail account.
Right. Yeah, I mean anything can become currency. I guess it's just how many people will accept it. And I guess the idea with Bitcoin is that it's a provable finite amount of things and it's because of the peer-to-peer decentralized nature it's very hard to scam or do fraudulent activities on, so that math—it's kind of a mathematical proof of stability, I guess, so other people should be willing
to regardless of your political beliefs um what the government has decided to do in our country, which is just print more money. And so kind of breaking the fundamental assumption that you know at a derived level how much money there is by how much things cost and then all of a sudden, you know, if there's twice as much money in the world, your money is half as.
Advice. So, you know, the other thing about this Bitcoin is because it is peer-to-peer, and because it's free to sort of—to sort of, you know, join this network, it could get very popular, which is really important. Yeah. I mean, one of the big failings of sort of early civilizations where, you know, each colony had its own—I know in the Roman times each emperor had their own coin, and so none of them really carried—no pun intended—but carried their weight because they were constantly getting phased out by something else. So it's interesting to see if Bitcoin sort of survives the test of time and if it gets popular enough to you know hit that critical mass where people will start trading real money for it. Yeah.
Yeah, definitely. C is a C is an awesome language. It's a procedural language, which means that you know it's designed to go kind of one line at a time as opposed to some of the other languages like Lisp, which is functional. In which case, you know, you don't necessarily know where you are at any given time, you know? And with C, there's like a very specific main function, and you know they're calling other functions and things like that. But it's rather easy to sort of step through a program and see what's going on, right?
Yeah, it might not be. So C is interestingly a lot of C is written in C, and this is something that is a trend that you'll probably find as you listen to the shows is that a lot of languages are written in themselves. And what that means is, you know, they come up with very low-level interfaces to the language usually built in a lower-level language. So for example, C has functions like open and write which are directly go down to kernel function calls which end up working their way down to assembly. So C is built on these low-level assembly routines, but then also there is like fwrite, which is writing to a file, and fopen, which is opening a file. These functions are written in C, so someone has gone in and written a definition for fopen which invokes the right kernel calls depending on your OS and things like that.
That. So I mean, I guess the way that works is that the first version's written purely in assembly, and then somebody is able to compile C to assembly and do that to a point where you can do everything you would need to do, and then I guess at that point you bootstrapped, and then you can have a compiler entirely in the language which it's compiling. Exactly. That's exactly right. So...
C. You know, the whole or the vast majority of the Linux kernel is written in C, if not the entire thing. Linus Torvalds is a huge C fan. He has this part on his blog where he just is tearing apart C++ and all these other languages. I didn't know that. Yeah, let's see if I can find it here. If I find it, that's that's...
Which is, yeah, I mean C++ and C code are very, very close to each other. And in fact, I mean you can it's perfectly valid to write C code in a C++ file, but I guess you're it's more of the style that we're talking about there—the way you kind of break things down, write classes, those kinds of things. Yeah, so.
Yeah. In fact, you can actually type assembly code straight, you know, in line with your C code. So you could be writing some C code, you could be saying f open to open this file and then, you know, load this, load, you know, int i equals zero—all these C things that you're used to seeing—but then all of a sudden you can put asm open parenthesis, and now you can put assembly code right there. Bam! Whoa, that's.
If you look at the Quake III source code, which is, you know, Quake III's open source now, you can actually see there are places, especially in the physics routines, where he—you know, there's all this C code and it gets to the point where he wants to do some math, like say figure out gravity's effect on everything in.
I mean, I did program Assembly in college working on the, you know, like on DSP type things or the Motorola 6812 kind of CPUs, the old school stuff. I mean, you can write an Assembly; it works pretty good. I mean for something that has, you know, really fast interrupts, you need to be able to do, or um, you know a really low-level processor that doesn't have a really good C compiler, or C compiler is a lot to be desired. I mean, you can get big advantage, a big advantage writing in Assembly. Um, so yeah, there are still people that do it, but you know, it's probably very minute at this point. I would say somebody will write in and say that's all they do and prove us wrong, but we
you use a lot of Assembly at work, we'd like to hear from you and hear about kind of your experiences with it and what its applications are nowadays. And actually, I take that back. I did some Assembly, but it was, uh, it was SSE, so I was writing SSE code for, did some work for on the Bullet physics engine, so it's open-source physics engine. Um, but again, it's basically it was like I just need to loop through these numbers and multiply these two arrays together, and so the code ended up not being very.
experience with Python where you know in the beginning at Python, let's say one or whenever I was looking at it, it was just extremely slow. And you know, it was every line was interpreted. You don't have Psycho, which is a Just-In-Time compiler for Python, you know that wasn't around then and all that stuff. So I got really bad taste from all that. It was just extremely slow and it had bugs. I got this bus error. I didn't know what that meant. And it really took, you know, going back years later and, and you know, discovering the language again to get an appreciation for it, and I think that might be a little bit of what's going on.
Yeah, I guess it's just... Oh yeah. We're gonna get tons of people. Let's talk about this. All right. So, this is interesting. You know, glancing over this Linus Torvalds thing, he has a point here that—that I've seen some stuff recently about that. It's kind of interesting where he says that... um, that he says quite frankly, even if the choice of C were to do nothing but keep the C++ programmers out, that in itself would be a huge reason to use C. And this is kind of interesting. I saw somebody else—um, who was it? We'll find it later—but um somebody was writing and saying that one reason to use new programming languages like, um, like Scala or Closure, or you know some some kind of fancy new thing, is that if you write your applications in that language and you're a i guess small enough agile enough company to be able to do these kinds of things that...
Of the best programmers because you know, the run-of-the-mill average programmers aren't going to go out there and learn these complicated functional programming languages. So if nothing else, the people who are going to apply to your job openings, who are going to want to work on your projects, are going to be people who are kind of the, you know, cream of the crop who are out there trying to pursue these interesting and—and you know perhaps game-changing ideas. And so if you, you know, kind of similar to Linus's point here, can we call him that? Should we call him Mr.
Yeah. I mean, so could you know continuing with that, the more programming languages you know and that you can sort of put on your resume and speak in an educated way about, um, the better you're gonna do because if you find that one guy who—uh, you know, who Ada is his is his love and joy—and if you can talk intelligently about that, um, you might have an advantage.
No, that makes you look terrible in general. Um, you don't want to put things on your resume that you're not really good at just because if nothing else, let's just say you're this guy and you're just interviewing you, you're on the other side of the desk, and they just randomly pick at something and it happens to be something you don't know. I mean, it's going to be devastating. So you want to make sure that if someone throws a dart at your resume, it's going to land on something that you can speak about.
About yeah. So well, let's talk a little bit about just the sort of different characteristics of C. So um, you know C is very low level. It relies heavily on the compiler. So C doesn't have its own memory management. It doesn't have like a garbage collection or anything like that. You have to do all the mallocs and free.
Yeah, it's a pro in the sense that you know you're if you program something, you have a good idea of how much time and how much memory it's going to take. Um, it can also be very consistent. You know, you can allocate your memory up front versus something like if you use MATLAB or Python. Uh, you know every time you do an operation, you might be allocating more memory, and that very next operation might be the one that allocates so much memory that your computer has to sort of reorganize, and that could be—that could take a very long time. In C, it puts C.
Yeah, definitely. And yeah, the other thing C does not give you a safety net. So in Java, if you have some array that's 10 elements and you try to access the 11th one, Java has a virtual machine. So Java has a sort of like a computer inside a computer, and we'll talk about this more later, but you know, and the simulated computer on the inside will fail and we'll throw an error back.
talking straight to your memory, to the processor, to any disks you have. And if you know you have an array of size 12 and you go for the 14th element, it's just going to pick whatever is there in that memory and return it. It'll probably be some crazy number. If you're expecting in between one and a hundred, you might get, you know, two million. But the real danger
the real danger isn't that, though. I mean, that is dangerous. The danger is when it works most of the time, but then, you know, the critical moment—you're demoing for your boss or, you know, worse, the customer, you know—and all of a sudden that's the time that the way it's allocated happens to be that memory is being used for something else, or it's, you know, used by the operating system or something. And instead of returning the value you've expected every other time, like let's say zero, now it does return something different because it isn't what you thought it was. Yeah.
Yeah, definitely. And you know these problems they start to show up in production. So for example, let's say you have an array of 10,000 for your, let's say your Amazon and you're categorizing books in C, and you gave the space for, you know, let's say a million books. But now you roll this out to the production environment and you surpass a million books or a million comments on books. Now you've overridden that array, and who knows what's going to happen? Yeah, when you go back to your simulated environment, you're never going to find that error because it depends on something that you can only experience in large volume. Yeah. It also
tools that you can use. Yeah. Yeah, so I mean, we probably should, you know, maybe we should have done this before, but you know, probably should come up with kind of a format for everything. Like I was thinking about, we should also talk about libraries. So for instance, C, you know, libraries—a lot of people kind of call C well later programming languages kind of poke fun at C by saying these languages are batteries included. That's a Python saying, I guess, right? That you know it comes with all of the other stuff you might need versus C doesn't. But there are a lot of libraries you can pull from that give you a lot of powerful tools in C, you know, that, and
no and yeah that's actually a good point so let's talk a little bit about the different c standards um i don't know a lot about the history of it but at this point right now there's basically two c standards there's the i guess we'll call it the microsoft c standard and then there's the uh was it c99
The other thing, that if you hear people talking about C, there are a lot of bad things you can do in C. C gives you a lot of power, but with great power comes great responsibility. That's right. And so, you know, they'll do things. They give you like macros. They give you all sorts of ability to, you know, have pointers to functions and, you know, have lists of functions that you can call and change with what function does when. And I mean, it gives you all sorts of, you know, we say crazy things, but in some cases those are really necessary to be able to do those kind of non-standard unexpected hard to wrap your brain around functions. But in other cases, they can be used for, you know, ossification or not that any of us would ever do this, but showing off. And so people will try to show off by using what are those called? The ternary operators, you know? Yeah, right questions and, you know, if you've ever seen the Obfuscated C contest, people can write, you know, just completely unreadable C source code that's completely valid, complies with the standards, and compiles and is fast. But you could never read it. Yeah, it's much less change it.
for example, which is a video streaming library, is written in C99. So to use it in Visual Studio, you'd have to, you know, just go through and hack the entire code base, and everywhere where you see something that isn't compliant, you have to go in and fix it. Yeah, it'd be just it'd be massive. So there are, you know, two different standards, and the hope is that, you know, all of the compilers will start to get to the point where they're supporting C99.
Yeah, that in the cross compiler, cross platform, you know, that in C/C++ because you really are, you know, compiling right down to machine code. It's a pro and a con, but, you know, the con is that you got to be very careful about what you're doing because the way one thing works on one platform could be completely different from the way it works on another.
Yeah, let's talk about that a little bit. So the difference between C and C++ from other languages like Python or Java is that, you know, as we talked about earlier, they're talking directly to the machine. And so there's a there, and more specifically, they're talking directly to the operating system. So you have to use a compiler specific to your type of hardware into your OS. Um, so, you know, in the case of Windows, you have some choices. You can use Visual C++, which is a Microsoft product. You could use GCC for Windows. It's called MinGW, which is a Minimal GNU for Windows—is what MinGW stands for. You can also use Intel. They have a compiler. On the Linux side, there's a couple...
Oh yeah, on Linux there is, you know, GCC is the heavy hitter on Linux. You know, just about everything is going to be built in that—ICC, which is the Intel Compiler or Intel C compiler—that's also on Linux. But oh, so the point of this is the programs that you create with C or C++ will be specific to that operating system and that hardware. So, you know, in Java, for example, you can create a .class file, which is, you know, your compiled source code, and run that on any machine. So I can compile some Java code on my machine and then go to another Linux machine or go to an ARM machine or go anywhere and run that code, and it'll run just fine. If you build an executable in C and then take it over to your Mac and try and run it, you're going to be in trouble. It's not going to know what to
other thing to point out, I mean, I guess to us we kind of forget about it, but you don't have to have an operating system to be able to use C. I mean, there are many people writing the operating system itself is written in C. Yeah, or C++ for the most part. I mean, there are exceptions, but most of the serious ones, like you pointed out earlier—Linux, I mean Windows—is written in C, C++. So the operating system itself is written in those languages because it doesn't presume that there's an operating system running. I mean, it can. So if you write code compiled for Windows to do GUI stuff, for instance, it's going to assume there's an operating system there, but there's other ways to write it where those assumptions aren't necessary and that you can have code that runs without an operating system. Yeah, yeah, definitely.
And so if you're wondering why this is—you know, why in Java and Python you can write your code and you can create the pyc files in Python or the class files in Java and just send those around across the internet and just know that they'll work on the other person's machine, that's because those people. So like Guido in the case of Python, or—do you know who made Java?
Sound smart. We'll cut all this out. Actually, we'll say we'll cut it out and we won't. Yeah, I'm lazy, so these people have gone to painstaking process, time, and effort into making sure that when you do, you know, 0.5 plus 0.5 in Python, that it's going to give you 1.0 on every single machine. Or when you, you know, create an array, when you create a string, or when you try to access a GUI, when you try and create a GUI that it works the same, or as close to the same as it can, in every OS. That's one of the nice things about Java is you can make a GUI and just know that it'll work on every computer. You know, C and C++. Um, you're typically coding for your hardware and your OS.
Of the stuff I do for like low-level timing, doing analysis on my code and profiling type stuff, most of those are you know just C, just for the sake of it. They don't need to be C++, and that keeps them more compatible. Yeah, yeah, definitely there's a Number of platform-specific libraries that are C, for instance. If you do coding on the TI DSPs, TI has a set of fixed-point libraries that are in C.
Something else we should point out: the security. There's a number of security problems with C and C++. Not inherent, but if you're not careful—for instance, you take input from the command line. Somebody could give you a just absolutely gigantic string and cause a I guess at that point, a buffer overflow.
We can do a whole show on all that stuff, but yeah, I mean if you know you're reading the news, as we talked about at the beginning of the show, that guy who hacked the PS3 and whatever. And a lot of these hacks, these hardware hacks what they're doing is C is such a low level that they're going in and adding electricity to the traces running between two chips, causing numbers to be bigger than they should be, and they're just waiting for someone for a flaw in the C program and for them to be able to get access to some block of memory that was generally restricted. This is
Something new Programming Throwdown is distributed under a Creative Commons Attribution-ShareAlike 2.0 license. You're free to share, copy, distribute, transmit the work, to remix, adapt the work, but you must provide attribution to Patrick and I, and ShareAlike in kind. The intro music is Axo by Binar Pilot.
