Home » Tech Corner

F# -New Programming Language from Microsoft

21 May 2009 No Comments Posted By:LG

                               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:

  1. .NET Interview Questions & Answers
  2. Creating your first WebService using .NET
  3. XML serialization of Objects in .NET
  4. .Net Framework 4.0 -New Features in Core Services
  5. Populating ASP.NET TreeView Control from DataBase

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>