Fourtek IT Solutions Pvt Ltd.

Fourtek IT Solutions Pvt Ltd.
We Win Clients

Monday, April 20, 2015

The One - Lua

Bonjour, Tout le monde !!


Today, I am gonna talk about one of those few languages which were invented outside the USA/ UK academies and industries so that by itself makes Lua all the more special. As one of these few exotic ones and still one of the rarest ones that have successfully managed to stay around.


Who doesn’t like the underdog, the dark horse ?


I know, I do !!


Lua, born and brought up in the land of carnivals, Brazil. Lua has that simplicity and the x-factor, which makes it almost an irresistible to a beginner. But the language is not at all limited to purely academic circles, on the contrary it is used extensively in industry.
Which industry, you ask ?
Well, the one that we basically grew up with and which gave us all countless hours of fun and sometimes a nice scolding =) . The Gaming Industry.
World of Warcraft, Mafia, Fable , Crysis, Multiple Star Wars games, Sim City. In short you name it and chances are that Lua has been used in there !!


In fact, the small size, interoperability with Cpp and the ease of use made Lua one of the all time favourites for Game Programmers to code and glue different parts together using Lua scripting.




Now, with the advent of powerful portable devices such as our smartphones Lua has evolved to tackle a new domain altogether. It is being used extensively in app development as well as for quick prototyping.


Most noticeable features of Lua are as follows


> Easy of Lua is such that, the syntax is quite free to the extent that there are even alternate braces that can be used and which would not result in an error.


> There is basically just one data-structure so if you are having trouble figuring out which Data Structure to use for a particular purpose, then Lua is for you.


> It's fast and it's an interpreted language.


> Due to its small size it is used as an embedded language so as to extend the capabilities of the current system.


I assure you, of all the languages we have discussed so far, this is the easiest one to learn.
# The official manual of the language is only 100 pages long and the definitive book in the field is about 300 pages long.


And that's it !!


That's all you need to play with Lua.


Hey, two links that are immensely useful for the





Till then,
Himanshu Sharma
Signing Off=)






Wednesday, April 8, 2015

Google’s havin’ a good Go !!

Hi folks=)

Thinking that the title seems obvious enough ?

Well, after all who can argue with this fact. Google is having a great time all around be it the internet, the mobile devices, surfing the software wave or just even coming up with innovative solutions for our various needs. Google is re-questioning and re-inventing the most fundamental of traditional wisdom.

But today, we are more concerned with the programming language that Google [ actually it’s by someone even More Legendary than google !! ] has come up with. It’s not the first one by any means and I don’t suppose it would be the last one either.

The language is called Go

More legendary than Google ?

Well, I can definitely back that claim up; remember C language and the entire revolution it kick-started ?

It was created by two guys Ken Thompson and Dennis Ritchie. Sadly Dennis Ritchie passed on a few years ago but Men Thompson is alive and still rocking. He is curre fly working in Google and the language Go is principally his team's brain-child !!

Here are two more people who have contributed in the design of Go, Robert Griesemer and  Rob Pike

The language itself is designed with all the lessons learned and with the same sort of visionary enthusiasm with which C was created. The major points that Men Thomson had in mind was to come up with a language ( trust me, it is much more than just syntax ) which would be a bridge between the internet machiney and how it's gears ( servers ) can be integrated even further.

The language also embodies a new approach towards parallel computing as it treats parallel processora as being an intrinsic part of its design rather than implementing it as an add-on feature.

Oh yeah, another important feature of the language is that it's takes along the line of static languages but it does a good job in implementing lessons from many different paradigms to give the language a firm and functional foundation.

If you are learning a language, investing your time in programming so that the skills you acquire would be useful in future then, folks, Go is definitely to be taken seriously !!

BTW you should check out the following resources





So, with this post we have covered quite a lot many languages already but I think it has become a bit of a monotone so the remaining language JavaScript, HTML/CSS, R and SQL we’ll cover after some time.

I think it’s important to keep exploring new things and to share as much as I can, with the next post onwards we are gonna talk about different topics and seek to sail on uncharted waters !!

Till then,
Himanshu=)

Stay Awesome !!

Wednesday, April 1, 2015

The LISP lore !!

So, finally I get to introduce the one of the most ingenious programming languages in the programming universe and I assure you, this language has a life of it’s own. If there ever was a language that was designed to evolve and adapt with time, it’s LISP.

What’s the oldest programming language that’s reasonably in use still, you wonder ?

Two contenders are there for that title namely, FORTRAN ( Formula Translation) and LISP ( List Processing ) !!

Though, as you might have guessed I am definitely pro-LISP and as far as FORTRAN is concerned the language has an almost beastly strength to convert Mathematical/ Algorithmic procedures to computer programs, hence the name !

The reason that old languages still stick around is because of two reasons

> Either the task accomplished in the first place was so sophisticated and sufficiently similar to what we would do now, that we don’t bother to change it at all. So, instead we grow various connections ports/ establish various bridges with the existing code and connect it with the language that we have chosen for our purpose.

> The languages, over the years have matured and have been modified so as to “modernize” them as much as possible, though it is not feasible to change the language so much so that it hardly resembles the original implementation in the first place. So, a few domain-specific languages still exist but they operate from the “shadows”. Few prominent examples of these would be C/Cpp and FORTRAN, both of whom were highly used in Scientific Domains, where the bread and butter of the programming language is the ability to process numbers and speed.

Why didn’t I include Lisp in there ?

For a simple reason that, it’s almost as versatile as C/CPP if not more, though to make an OS, one should still focus upon a purely System Language but for our purpose of discovering the joys of programming LISP would do just fine.

You remember I mentioned LISP in my posts about HASKELL and JULIA. You see, LISP is the grand-daddy of the entire programming philosophy that these languages inherit and seek to implement in their own unique styles.

Functional programming paradigm helps the programmer evolve and become a better problem solver !!

Though there is a trade off with these languages as they tend to be slow, JULIA being an outstanding exception to this age-old tradition.

The most intriguing point in the programming language is that it is often called “ A Programmable Programming Language” and with good reason.

Plus, LISP is the only language that completely implements ALL the requirements of being an Object-Oriented Language ( more on this in later posts ).

Surely, you must have seen so many science fiction movies in which the robots eventually learn to think for themselves. Who doesn’t find this possible future outlandish and at the same time have high hopes for this to be accomplished.

Rightly so, the human mind is the Greatest Computer In The Entire Universe. Can you too recall how many times you have spoken something to the Speech-to-Text converter device only to find that it doesn’t quite understand the speech if it is only a wee bit different. It hardly guesses our moods, our anxiety level from our tonal patterns and yet we do it on a daily basis.

Actually, the 26 letter of the English language are combined together to have about 158,000 sound combinations !!

Don’t believe me ??

O.O like challenges=)

Tell me which of the following words seems quite foreign (non- English) to your years
> Skint
> Sbint

I am pretty sure that you have guessed the latter without even giving it much thought. But how ?

How indeed !! That’s the mystery of the Human Brain and we barely understand the organ, rather than our vast database of information about the organ !!

So, it’s quite reasonable to say that computers are never really gonna beat us until we really understand what makes us….us !!

Where does LISP come in, you ask ?

Well, it comes in at a point where we want to make programs which behave in a reasonably intelligent way. It’s not without reason that the language has been the favourite of the Artificial Researches for decades at a stretch.

And if you really look it up on the internet you will still find some strange LISPer trying to save the world ( hopefully without a Cape;) ) on his own, driven by his beliefs and convictions.

Ah, yes !! RIchard Stallman is one of these un-caped heroes. BTW have you chosen your text editor yet ?

Well, you should choose something that is extensible, fast as hell and can be quite economical (keystrokes-wise) so as to get the task done with as little effort as possible.

There are many new ones which have  come out recently like Github’s Atom and LightTable and then there are the classic and mature ones like
> Emacs
> Vim

No, we are not even gonna attempt to recommend any one. But make sure you do take a look at them. You see, text editors much like programming languages should be a representation of one’s individuality and they reflect one’s personality. Choose the one’s that “feel” right.

On an end-note I have attached various links down below. Do take a look at these websites, there are a lot of hidden wealth in there.








Till next time,
This is Himanshu Sharma

Signing off=)