By Allen I. Holub

ISBN-10: 0070296898

ISBN-13: 9780070296893

I virtually handed in this e-book as a result of many of the destructive stories.

Okay, it truly is no Code entire, yet this publication is an absolute gem. i've been programming C++ for roughly 6 years now (VB clients be darned, it's my favourite programming language, interval) and that i was once surprised how a lot I agreed with this author's recommendation.

Yeah, I discovered much from Scott Meyers' canonical "Effective" books. yet what i love approximately this ebook is that it's a no-nonsense, in-your-face, tell-it-like-it-is ebook that i feel is key for these wet-behind-the-ears C++ programmers (or these whiners who declare that C++ is just too hard).

It will most likely piss off loads of home windows programmers in addition to he's a little bit anti-Microsoft. even if, i'm essentially a MFC programmer and
what he says approximately MFC (earlier versions) and home windows programming in most cases is actually right.

This publication is a needs to for each beginner C/C++ programmer. The skilled C/C++ programmers will most likely let you know that they understand all approximately this, so so much of them will provide it a move. notwithstanding, as a skilled C++ programmer, i feel that they're creating a mistake. they should get this e-book at the shelf to boot.

At the very least they could mortgage it to the newcomers.

Show description

Read or Download Enough Rope to Shoot Yourself in the Foot: Rules for C and C++ Programming (Unix/C) PDF

Best unix books

AIX 5L and Windows 2000: Side by Side

The item of this redbook is to illustrate the AIX 5L and home windows 2000 systems to teach the reader similarities and variations among every one working method. even if you're a home windows specialist seeking to examine extra concerning the most up-to-date model of AIX, AIX 5L, or are an AIX professional and want to tell your self of the newest home windows platform, home windows 2000, you'll find each one bankruptcy during this redbook covers the basic applied sciences that make every one working method what it really is.

A Guide to Forensic Testimony: The Art and Practice of Presenting Testimony as an Expert Technical Witness

Details expertise is an more and more huge consider criminal complaints. In instances huge and small, from the U. S. Government's antitrust swimsuit opposed to Microsoft company, to civil proceedings filed over the failure of a community, to felony instances during which the authenticity of digital facts is wondered, the testimony of a technical specialist is vital.

Mac OS X Panther in a Nutshell

This can be a excellent e-book to assist Mac clients use OSX Panther.

Linux Game Programming w/CD (Prima Tech's Game Development)

Mark Collins, Linux video game Programming (Prima, 2001)

The major challenge with examining laptop books which are six years previous is that, good, they are six years previous. this isn't an immense challenge within the home windows international; as we've seen, occasionally the most up-tp-date home windows expertise will remain round much longer than the carrier contracts mandate. That, notwithstanding, is nearly by no means the case with Linux, the place a tremendous pool of builders pretty well guarantees that issues will develop and alter on a per month, if now not day-by-day, foundation. nonetheless, the fundamentals of the mandatory wisdom to get below the hood and tinker with Linux will carry real, so it isn't like there is totally not anything to realize from a ebook like this if you are a complete newb. (Sorry, I despise that spelling, but when i take advantage of the right kind one, Amazon filters it for being one letter off from a undeniable slang time period they do not appear to like. )

I am, in truth, that newb. Having eventually thrown Microsoft over for stable in each element of my lifestyles i will be able to (I nonetheless retain a home windows field round for video games, and i've to exploit it at work), all these database and video game tasks i used to be engaged on should be Linux initiatives now. So i began with what i'll get on the library, Collins' six-year-old treatise on Linux video game programming. First, enable me say that if you are searching for hands-on educational stuff, this isn't the booklet for you. Collins is extra drawn to getting you to appreciate the concepts--why you need to do anything, instead of what it's you must do. whereas this can be evidently a very good factor and ends up in programmers who comprehend extra of what they are on approximately, it is most likely worthy a caveat emptor for the folks who're simply trying to find shortcuts, or solutions to a selected challenge. the second one factor to be stated, then, is that online game layout itself is the main transportable a part of any video game venture. whereas Collins does delve into a few issues which are extra acceptable to Linux improvement than the other style (an complete bankruptcy, for instance, is dedicated to the OpenSource debate), the various particular instruments Collins talks approximately, and the entire high-level innovations, are appropriate to online game designers who application for any platform. therefore, i'll cross methods the following; criticize the booklet for probably not being approximately Linux particularly, or compliment it for being universal?

The challenge is, i will not do one or the opposite. How useful you will discover it is going to most probably rely on how a lot examining you will have already performed on designing video games and constructing video games with C++. If you've got performed an awful lot, you'll get the main worthy out of the chapters on SDL and openGL/openAL; in a different way, learn the whole lot. ***

Extra resources for Enough Rope to Shoot Yourself in the Foot: Rules for C and C++ Programming (Unix/C)

Example text

Typically, cards that carry a "server" designation have more buffer space than cards designed for workstation use, which in some cases can't even sustain their peak data transfer rate. It's difficult to get information about the real difference between a vendor's regular offering and its "server" card, but physical inspection of the NIC will often reveal more physical memory via the quantity and capacity of the chips on the card. If so, the marginal difference that the extra cost of the server card adds to the total cost of the server would likely be worthwhile.

The basic idea behind this approach is that if an application read()s several contiguous disk blocks out of a file, it is likely to eventually request the next several disk blocks, or even the rest of the file. Therefore, the operating system can provide faster access by pre-fetching the extra data that are likely to be requested next and storing that data in the buffer cache. In this way, when the request comes, the extra data have already been cached in memory and can be immediately passed to the application without moving a disk head.

The switch to interactive mode changes the CPU workload of the server, but doesn't affect the I/O operations that must be performed, so it isn't surprising that the throughput essentially remains unchanged. When we use interactive as the delivery mode and change SuperSafe to interactive as well, throughput jumps to 2,400 messages/minute. The restriction in this test, however, reflects CPU exhaustion on the machine sending the messages to our test server. At this point, the target machine we're testing handles the load easily.

Download PDF sample

Enough Rope to Shoot Yourself in the Foot: Rules for C and C++ Programming (Unix/C) by Allen I. Holub


by Charles
4.2

Rated 4.57 of 5 – based on 32 votes