F# -New Programming Language from Microsoft
The so called programmers choice C# is being replaced in microsoft visual studio 2010 with F#(pronounced as F sharp).F# is a multi-paradigm programming language,in the .NET Framework . F# was initially developed by Don Syme at Microsoft Research.Now it is being developed at Microsoft Developement Division and will be distributed as a fully supported language with .NET Framework 4.0,as a part of Visual Studio2010. F# is a typed functional programming language(which means that types of all values are determined during the compile-time.) for the .NET Framework with the runtime support,libraries, interoperability, tools and object model of dot Net.It also uses type inference.The type inference means that the compiler infers the type from the code, For example when calling a function that takes float as an argument and returns double as a result, the compiler can infer the type of the variable where the result is assigned (has to be double) as well as the type of the variable that is given as an argument (has to be float).
F# has its base in the ML (ML stands for meta language) family of languages.It is built carefully giving smooth interoperability with other dot NET languages. For example, C# & F# can call each other directly.This means that F# has immediate access to all the dot NET Framework APIs . Similarly, libraries developed in F# can be used with other .NET languages. Thus the base concept of language independance of dot Net is maintained.
Highlights
1) Object-oriented programming language and includes support for clear descriptions of object types.
2)It allows types and values in an F# program to be accessed from other .NET languages.
Here are a few sample F# codes.And a suggested read to begin F#.
Related posts:








Leave your response!