# ProgrammerTutorials.com

gotoAndLearn() - Free video tutorials from Lee Brimelow on Adobe Flash Apprendre la guitare, cours débutants morceaux acoustiques sans solfège - Manomaya.com - Manomaya Low Level Bit Hacks You Absolutely Must Know I decided to write an article about a thing that is second nature to embedded systems programmers - low level bit hacks. Bit hacks are ingenious little programming tricks that manipulate integers in a smart and efficient manner. Instead of performing some operation (such as counting the 1 bits in an integer) by looping over individual bits, these programming nuggets do the same with one or two carefully chosen bitwise operations. To get things going I'll assume that you know what the two's complement binary representation of an integer is and also that you know all the the bitwise operations. I'll use the following notation for bitwise operations in the article: & - bitwise and | - bitwise or ^ - bitwise xor ~ - bitwise not << - bitwise shift left >> - bitwise shift right The numbers in the article are 8 bit signed integers (though the operations work on arbitrary length signed integers) that are represented as two's complement and they are usually named 'x'. Here we go. Bit Hack #1. 1. 2.

Good PHP Tutorials - Beginner To Advanced PHP Programming Tutorials Programming Methodology - Download free content from Stanford quot;SOA&quot; PetShop 3.0 Le PetShopDNG 3.0, l'Architecture Orientée Services en action par Julien BRUNET ( Weblog ) Épisode 1 Impression papier : environ 22 pages Version 1.0 Toute ressemblance et détournement d'un PetShop existant est ... volontaire ! Cet article tente de mettre en application la théorie SOA sur l'exemple académique que constitue le site Web d'e-commerce "PetShopDNG". La démarche employée est volontairement "naïve" pour susciter débats et questionnements. "[...] C'est ainsi que Thomas Gil concluait l'excellent PetShopDNG 2.0 . Pour les personnes qui n'ont jamais entendu parler ni de PetShopDNG 1.0 ni de 2.0 "le retour", quelques rappels historiques s'imposent... A l'origine, Sun a présenté à la communauté J2EE l'application Java PetStore , laquelle avait pour objectif d'illustrer les "best practice" d'un développement J2EE dans le domaine de l'e-commerce. PetShop .NET fut la réponse de Microsoft, avec les mêmes objectifs (plus un: démontrer que .NET, "c'est mieux"... :-) " [...] En effet ! " [...]

Optimizing C and C++ Code Embedded software often runs on processors with limited computation power, thus optimizing the code becomes a necessity. In this article we will explore the following optimization techniques for C and C++ code developed for Real-time and Embedded Systems. Many techniques discussed here have roots in the material we covered in the articles dealing with C to Assembly translation. A good understanding of the following articles will help: Premature optimization is the root of all evil Donald Knuth wrote, "Programmers waste enormous amounts of time thinking about, or worrying about, the speed of noncritical parts of their programs, and these attempts at efficiency actually have a strong negative impact when debugging and maintenance are considered. In general, correctness and readability considerations trump code performance issues for most of your code. Adjust structure sizes to power of two Place case labels in narrow range Place frequent case labels first Splitting a switch statement