Feeds

* Posts by Mark L

2 posts • joined 28 May 2007

Apple TV gets 160GB HDD

Mark L

Only 160 because..

AppleTV uses a laptop drive. AFAIK 200GB is the largest right now. 160GB is plenty, and since you obviously don't have one, I don't think it really matters to you at all.

0
0

Don't Forget The 'C' in Objective-C

Mark L

Nice try, but...

your arguments are not very robust. I think the bigger message you are trying to send is "pay more attention to what you are doing." Your main point of avoiding code bloat is sort of a side-note. Why? Very simply because most of the code your process will be executing WILL NOT BE YOUR OWN! Between the objC runtime and Cocoa frameworks, there is enough code bloat for everyone. Nit-picking a high level language's output in assembly does little to make your point, as you detailed yourself. That's compiler territory, and it is no secret that gcc doesn't offer up the tightest code.

Finally, an extra 100 bytes here or there or everywhere will make a small change in the overall memory footprint of your program when you're looking at it from the standpoint of total number of pages required.

I think the focus of the article should be more on pointing out obvious things not to do in objC code (and perhaps some reasons why), but shying away from the "this costs an extra 80 bytes!!" argument.

0
0