UTF-8 is a way to encode Unicode code points—integer values from 0 through 10FFFF—into a byte stream, and it is far simpler than many people realize. The easiest way to make it confusing or complicated is to treat it as a black box, never looking inside. So let's start by looking inside.
How to implement closuresThis is a sort-of interlude to my regular compiler series. The goal is to give a brief overview of some techniques for implementing closures in a programming language. I will use C for my examples, mostly because it's low level enough that a further translation to assembler etc.
Ontwikkelaar maakt Amiga-emulator in html en javascriptEen ontwikkelaar heeft in html en javascript een emulator geschreven waarmee Amiga-games kunnen worden gespeeld. De emulator werkt nog niet perfect, en een snelle computer is vereist om de games op een acceptabele snelheid te kunnen spelen.
I've been programming since I was 7When I was in grade 6, I handed out a couple of 3 ½" floppy disks to a couple of friends in my class whose parents had recently purchased PCs. On each disk was a game I created. You’d fly a ship horizontally through outer space. It had two controls, up and down, to avoid asteroids.
Why does the CreateProcess function do autocorrection?Given a piece of code, how do you know if it's lock-based or lock-free, and why do you care? Sounds like a trivial question - it's lock-based if it says, "lock a mutex", which is usually an OS service. If it doesn't say "lock" or "unlock", then it's lock-free.
SQL is AgileI have to admit, I was contemplating for a very long time if I should write an essay about databases because the whole topic feels so much like opening a can of worms.
The Surprising Subtleties of Zeroing a RegisterZeroing out a CPU register seems like the simplest and most basic operation imaginable, but in fact x86 CPUs contain a surprising amount of special logic to make this operation run smoothly.
If-less programmingBeing fascinated by the idea, I decided to google it, and I was surprised that if-less programming is a pretty popular topic. I noticed a response to a stackoverflow question which stated: An “if” statement is an abomination in an Object Oriented language.
Web Developer Admits: Objective-C > HTML5Polyvore released its second iOS app recently. Pure native iOS. Yes, the second. Most people don't remember the first version. We launched a PhoneGap based app earlier in the year but removed it from the app store less than a week later.
This Read-It-Later-list is just that, bookmarks of stuff I intend to read or have read. I do not necessarily agree with opinions or statements in the bookmarked articles.
This list is compiled from my Pocket list.