Coding
Questions

CodeSport (January 2012)

In this month’s column, we take a short break from our discussion of compiler optimisations and feature a set of questions for computer science interviews. We have been discussing compiler optimisation over the…

Bit-fields

Joy of Programming: Understanding Bit-fields in C

One important feature that distinguishes C as a systems programming language is its support for bit-fields. Let us explore this feature in this column. In C, structure members can be specified with size…

Time to Lisp

Lisp: Tears of Joy, Part 7

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, since…

USB device drivers

Device Drivers, Part 13: Data Transfer to and from USB Devices

This article, which is part of the series on Linux device drivers, continues from the previous two articles. It details the ultimate step of data transfer to and from a USB device, using…

Loading...

Loading Library Files in C++

This article demonstrates how to load shared or dynamic library files in programs written in C++, which is not as straightforward as in C. Device drivers and library files have always been associated…

Let us log

GDB Logging Function Parameters, Part 2

In this second part on the topic, let us write a GDB script to log the parameters of a desired function, and also see how the application state can be modified by changing…

Socket API

The Socket API, Part 5: SCTP

This article on socket programming deals with the Stream Control Transmission Protocol (SCTP). Similar to TCP and UDP, SCTP provides some features of both. It is message-oriented, and provides a reliable sequenced delivery…

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…

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.