Category Archives: Programming


The most popular programming languages

The programming language is just a tool to express thought(more precisely, an algorithm that represents a solution to any problem) to the computer. So it really doesn’t matter much, what programming language you use; your choice generally depends on personal experience/knowledge about the specific programming language.

Due an exponential growth and development in computer science, in the past twenty years, a lot of – new programming language has been invented and some old programming languages has become absolute, in the new technical infrastructure.

In current Apps/software development trend, User Interface creation has become very important and so every developer expects easy GUI creation tools/libraries from the languages. That’s why a lot of GUI Development toolkits is now available for most of the languages, to speed up the GUI development. So in this post, I’ll give you an introduction to some programming languages that is very popular(today) and used by most of the programmers, in developing real world applications – (see the picture for an overview of current trends, Data Source : third party websites)


Top 8 – Most Popular Programming Languages

1. Java
Java is a high level, object oriented, compiled (After compilation java bytecodes are generated, which is then executed by JVM (Java Virtual Machine), That’s why JAVA is platform independent)  programming language. Java is used in developing complex dynamic web applications, network programming and robotics. JSP(Java Server Pages), Servlets(Java programs that is executed on server side, and often used to process the client request) are the most popular java technology among web developers. A lot of good MVC(Model View Controller) frameworks are available like Struts, Play, Spring etc used to speed up the web development process. Swing is the most popular library/toolkit for creating user interface in java. it is static type programming language.
Features of Java at a Glance

  • platform independent
  • Object Oriented
  • Speed(Java Based web apps are faster than conventional CGI based Apps)
  • Static Typed
  • Advanced Exception Handling Mechanism
  • Memory Management and garbage collectors

2. C
C language is a high level, procedure oriented and compiled programming language. it is very fast and efficient for system programming. C exactly comes between the Assembly language and object Oriented language such as Java. GTK Toolkit is used for creating user interface in C. C is also static type programming language.

Features of C at a glance

  • Fast
  • static typed and compiled
  • more control, due to low abstraction
  • pointer

3. Ruby
Ruby is an object oriented and interpreted scripting language, mostly used in creating Web Applications. Ruby focuses on productivity. it is very human friendly. “Ruby on Rails” is one of the most popular framework for web apps development.

Features of Ruby at a Glance

  • dynamic typed
  • interpreted
  • optimized for productivity
  • programmer/human friendly

4. PHP

PHP (Hypertext PreProcessor) or Personal Home Page is the most widely used scripting language over the web. it is an object oriented Interpreted language, mainly used in server side scripting , for creating dynamic web pages/apps(php tags is embedded in html, which is processed at server side and the final static HTML content is send back to client). it has been influenced by perl and C. PHP is very popular as LAMP(Linux+Apache+MySQl+PHP) , for creating websites with open source technology.

Features of PHP at a Glance

  • dynamic typed
  • interpreted
  • simplicity
  • object oriented

5. C++

C++ as name implies, it adds some extra features(Object Oriented Features) to C language. So C++ is almost similar to C, with some added features. it is mostly used in system software development.

Main Features

  • Procedure Oriented and Object Oriented
  • Generic
  • static typed
  • compiled

6.  C#

C Sharp(or C#) is a generic, object oriented language developed by Microsoft , highly influenced by Java and C++. it is some sort of java, with improved reliability, productivity and security deleted (Claimed by James Gosling, the creator of Java).

Features of C#

  • static/dynamic typed
  • object oriented
  • optimized for Windows platform
  • implementation with .NET framework

7. Python

Python is a general purpose, high level,interpreted programming language. it supports all platforms. It focus well on code readability. it’s syntax is very clear and easy to learn, that’s why those who just started to learn programming, are recommended to start with Python.

Features of Python at a Glance

  • Interpreted
  • Dynamic/Duck Typed
  • Object Oriented/Procedure Oriented
  • Clear Syntax

8. Perl

Perl is another general purpose and open source scripting language. it is mainly used in web development and network programming. The perl focuses on the speed of coding and productivity. The perl code is very difficult to read and understand, but its size (Number of lines in the source code) is very small as compared to c or java. The latest version is 5.12, released few months ago.

Features of Perl

  • Dynamic Typed
  • Object Oriented,Procedural
  • Interpreted
  • less coding, so quick development

Updated Version of this Post – Most Popular Programming Languages of 2012

gedit -

TextMate for Ubuntu Linux

TextMate is one of the most popular text editor, available only for Macintosh Computers(Mac OS X). If you have ever used the TextMate on Mac OS, then surely you always want to stick with it, probably due to its simplicity, productivity and features.

But the problem is that “TextMate is a Mac Application, the default a proprietary text editor for MAC OS X and it is not available for any other operating system”. Well! then how will we use it on Ubuntu 10.04/10.10/11.04 or Linux Mint or Open Suse or any other Linux based OS ?  The simple solution is – To mimic the look,layout and features of TextMate, so in the end of this post we will get a TextMate like text editor. Programming is complete Fun!, when you have TextMate like a powerful code editor (Emacs, Vim, gedit, TextMate etc), rather than a bloated and painfully slow IDE.

Why TextMate is So Popular among the Programmers ?

  • it is simple to use
  • Syntax Color Scheme is great
  • Auto completion of code(e.g brackets, snippets)
  • looks great
  • it is light weight and fast
  • it increases productivity
  • File Browser, it’s easy to find the source files easily

gedit - textmate

Linux based Distributions (in short ‘distros’) have the default(GNOME based distros) text editor named – gedit, a free and open source text editor with a lot of powerful features and flexibility to extend the functionality by means of plugins. Therefore we are going to transform the gedit to textmate in few simple steps, so that gedit text editor will finally look (and almost behave) like TextMate. Actually you can customize gedit not only on Ubuntu but also on other Linux based distro, that uses gnome desktop or having gedit packages installed on the system.

Transforming gedit to TextMate in 4 simple steps

#1 :  Install gedit plugins

To install extra plugins, type the command at the terminal/command line/shell, followed by login password(If required) –

sudo apt-get install gedit-plugins

#2 : Install TextMate Fonts

Download the font – Monaco,which is the default font used in TextMate. Then copy it to home->username ->.fonts (hit CTRL+H to see hidden files).

#3 : Install Syntax color Scheme

download the DarkMate theme coloring scheme and install it from gedit. To install open gedit and click on Edit -> Preferences -> Font & Colors. Then click on Add button and locate the download file(darkmate.xml).

#4 : Install File Browser plugin

Download the class browser plugin ; Extract it to FileSystem-> usr-> share->gedit2->plugins. Then activate it by select the check box from gedit(Edit->Preferences->Plugins). Here is one snapshot ..if you have any doubt(or reply through comment,in case of any problem).


#5. Auto Completion (with Esc) and Tab Completion (expand code snippets using tab triggers)

With the gedit-plugin package, you will also get the snippets plugins, just enable that plugin – to enjoy tab completion.

Auto completion is another cool feature – that looks up the source code for auto completion of a variable_name (using Esc key) – so that you don’t have to type the full lengthy name.

Download textmate style autocompletion for gedit

To install the plugin, first extract the package and run Finally, you just need to enable it from gedit -> preferences ->plugins.
Update! Try GMate plugin it’s great! See gedit plugins for Rails Developers for more details, #5 added.

Programming with gcc

GCC-GNU Compiler Collection version 4.6.0 is out!

GCC(GNU Compiler Collection, version 4.6 was released a day ago) is a compiler available free under GPL by GNU Foundation. it is cross platform and is written using c/c++. Actually GCC has a major role in the growth of open source/Free Software world, in the past few years.

A majority of C/C++ programmers uses GCC, on Linux based operating systems as well as on Windows/Mac OS X. Since I uses Ubuntu 10.10 as my primary desktop; I know how important ,the gcc is, for programming Fun. GCC is mainly used as a compiler for C,C++,java,Fortran,Pascal,Ada,Objective-C.

A lot of extra features can be added with help of freely available plugins. GCC is one of the best compiler for c programmers.

Programming with gcc

New Features in GCC 4.6

  • Support for GO Programming Language has been added
  • New Optimizer Levels(-Ofast) has been introduced
  • Improvements in compiler time and Memory Usage
  • other platform specific improvements

GCC vs 4.6.0 has released(on March 25,2011). Go here for Complete details on the features of GCC.

Eclipse IDE on Ubuntu 11.04

web development tools for Ubuntu 10.10

This post will explain about some open source and free web development tools that you can use to increase your productivity while using Ubuntu(Linux Based operating system,specifically designed for desktop users) 10.10(Maverick Meerkat) or 10.04(Lucid Lynx).

web development on ubuntu | with Eclipse

#1 : Eclipse Web Development tools ::

Eclipse IDE is probably the best for web development on’s open source and available completely free.Eclipse is mainly popular as JAVA IDE but it has a lot of plugins and special editions for web developers.e.g Eclipse PHP,Javascript,HTML,XML and so on.Some packages are specially organized in web tools.Installing Eclipse is quite simple ..just extract it to any directory and run the main executable.If you are still not sure then see here – installing eclipse on ubuntu 10.10 Continue reading

how to install MySQL on ubuntu 10.10

On Ubuntu 10.10(Maverick Meerkat) MySQL(server/client) Database Management System is recommended because it’s free,open source,fast and easy to install.MySQL is one of the most widely used DBMS specifically for web development.PHP+MySQL is a De Facto standard for creating dynamic websites.The most widely preferred cms(Content Management System) i.e wordpress(This blog is also running on wordpress) also uses PHP+MySQL to generate dynamic pages.

Installing MySQL in Ubuntu 10.10


#1. Open Synaptic Package Manager and search for ‘mysql’ or ‘mysql 5’ and select the packages(client and server) you need.

#2. Then click on Apply button to begin the installation procedure.In the middle of the installation you will be prompted for MySQL root password,set strong password for MySQL server.You will need this password for logging to your MySQL server account,with administrative power.


#3. Next installation will complete within a minute.You can start using your server/client now.Open terminal and Type the following command :

mysql -u user -h host –p                //Then Enter the User’s Password

In this scenario,the user is ‘root’ and in host use ‘localhost’;so the actual command will be

mysql -u root -h localhost –p


That’s All…I hope,Now you are enjoying MySQL..don’t forget to comment specially in case of any problems related to MySQL and Ubuntu 10.10