Welcome to my homepage!

I am Ramaswamy Ranganathan. I go by the nick name - Swamy, with my buddies. I hail from Chennai, currently stationed at Redmond and am in IT for a profession.

Here you'll find quite a bit on what I have been doing thus far in my career and my personal life too. You can find articles on subject of interest to me and interesting solutions I came across while solving problems and kind. 

You'd also find quite a bit of ramblings on things of personal interest to me, music in particular.

Announcements / Updates


  • Code Generation using XML & XSLT Here we explore generating High-Level Language code from an intermediate representation in XML using XSLT.  [Link]
    Posted Apr 10, 2009, 8:00 PM by Ramaswamy Ranganathan
  • Parsing ASN.1: A troublesome problem? Follow the [Link] to gain insights into techniques for parsing ambiguous languages. Here we discuss some techniques as we explore parsing ASN.1:2002 using a variant of LR parser
    Posted Apr 2, 2009, 12:13 AM by Ramaswamy Ranganathan
Showing posts 1 - 2 of 2. View more »

 (== ∂ | ^ ==)

Here you'll find links to a bunch of articles on this site. Those grouped under Code Corner contain nifty code snippets that I either came across or conjured up during my personal experiments with code.

I have grouped some articles under the title - Idioms of Programming. As the title suggests these are based on uncommon or interesting use of language specific idioms not discussed in traditional texts.

Code Corner

  • Enum to String for C / C++ using AWK Script An AWK based solution to a common requirement for C / C++ programmers - to generate the string equivalent of an enum value. [Link]
    Posted Mar 27, 2009, 4:27 PM by Ramaswamy Ranganathan
Showing posts 1 - 1 of 1. View more »

Programming Idioms

  • [C++] Resizeable Array Here we look into an alternative to Dynamic Arrays in C / C++ that entails negligible cost in memory copy operations. [Link]
    Posted Apr 10, 2009, 8:08 PM by Ramaswamy Ranganathan
  • [C] The Ellipsis (...) and __VA_ARGS Puts forth a way to make calls to functions with variable number of parameters (all of same type) with lesser chance for programmer errors. [Link]
    Posted Apr 10, 2009, 8:02 PM by Ramaswamy Ranganathan
  • [C] A program that prints itself a.k.a "QUINE" - Write a program in any language of your choice the executable of which would print the source code it was compiled from. [Link]
    Posted Apr 10, 2009, 8:01 PM by Ramaswamy Ranganathan
Showing posts 1 - 3 of 3. View more »