Fail Fast!

Joy of Programming: Fail Fast!

When a problem occurs in the software, it should fail immediately, in an easily noticeable way. This “fail fast” behaviour is desirable, and we’ll discuss this important concept in this column. At first,…

Compilar optimisation

CodeSport (December 2011)

In this month’s column, we will continue our discussion of compiler optimisations, and focus on compiler analyses and optimisations that require inter-procedural analysis and inter-procedural code transformation. In last month’s column, we had…

Hmm... time to debug

GDB: Logging Function Parameters, Part 1

Sometimes an application’s release version crashes in particular scenarios, but the debug version does not — and to make matters worse, the call-trace gets corrupted. It’s then very difficult to find the cause…

C'mon it's Lisp programming time again!

Lisp: Tears of Joy, Part 6

Lisp has been hailed as the world’s most powerful programming language — but only the top percentile of programmers use it, because of its cryptic syntax and academic reputation. This is rather unfortunate,…

USB Devices in Linux

Device Drivers, Part 12: USB Drivers in Linux Continued

The 12th part of the series on Linux device drivers takes you further along the path to writing your first USB driver in Linux — a continuation from the previous article. Pugs continued,…

UDP time

The Socket API, Part 4: Datagrams

Let’s try to develop server clients using UDP, the protocol behind some important services like DNS, NFS, etc. UDP, the User Datagram Protocol, is a connectionless protocol. This means you don’t establish a…

Dennis MacAlistair Ritchie

Joy of Programming: The Legacy of C

Dennis Ritchie died on the 8th of October 2011, at the age of 70. His lasting contributions to computing include creating the C language, and co-creating the UNIX operating system. In his memory,…

Loop optimisation

CodeSport (November 2011)

In this month’s column, we will continue our discussion on some of the common loop optimisations performed by the compiler. In last month’s column, I had presented a coding snippet (shown below) and…

Let's ride the USB

Device Drivers, Part 11: USB Drivers in Linux

This article, which is part of the series on Linux device drivers, gets you started with writing your first USB driver in Linux. Pugs’ pen drive was the device Shweta was playing with,…

Getting started with CodeIgniter

Let’s Play with CodeIgniter

Here’s a basic introduction to CodeIgniter, an open source Web framework that helps to quickly develop dynamic websites with PHP. To get started, you need to install the framework (I assume you already…

All published articles are released under Creative Commons Attribution-NonCommercial 3.0 Unported License, unless otherwise noted.
Open Source For You is powered by WordPress, which gladly sits on top of a CentOS-based LEMP stack.

Creative Commons License.