f# chris mattera. outline history of f# resistance to f# why use f#? setting up demonstration of f#...

14
F# Chris Mattera

Upload: valerie-jenkins

Post on 11-Jan-2016

215 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: F# Chris Mattera. Outline History of F# Resistance to F# Why use F#? Setting up Demonstration of F# F# for president 2008 F# takes over the world

F#

Chris Mattera

Page 2: F# Chris Mattera. Outline History of F# Resistance to F# Why use F#? Setting up Demonstration of F# F# for president 2008 F# takes over the world

Outline

History of F#

Resistance to F#

Why use F#?

Setting up

Demonstration of F#

F# for president 2008

F# takes over the world

Page 3: F# Chris Mattera. Outline History of F# Resistance to F# Why use F#? Setting up Demonstration of F# F# for president 2008 F# takes over the world

http://research.microsoft.com/~dsyme/

Don Syme Microsoft Research

Page 4: F# Chris Mattera. Outline History of F# Resistance to F# Why use F#? Setting up Demonstration of F# F# for president 2008 F# takes over the world

http://research.microsoft.com/~dsyme/

Don Syme Microsoft Research

Project 7brought together Microsoft and several academic groups to target languages at the .NET Common Language Runtime and to get these languages working together. Many aspects of the design of F# are the direct result of involvement in Project 7.

Page 5: F# Chris Mattera. Outline History of F# Resistance to F# Why use F#? Setting up Demonstration of F# F# for president 2008 F# takes over the world

http://research.microsoft.com/~dsyme/

Don Syme Microsoft Research

F#(ef sharp) syntax-compatible OCaml variant for the CLR

Page 6: F# Chris Mattera. Outline History of F# Resistance to F# Why use F#? Setting up Demonstration of F# F# for president 2008 F# takes over the world

http://research.microsoft.com/~dsyme/

Don Syme Microsoft Research

F# is gaining popularityAn attempt at world domination?

Page 7: F# Chris Mattera. Outline History of F# Resistance to F# Why use F#? Setting up Demonstration of F# F# for president 2008 F# takes over the world

http://research.microsoft.com/~dsyme/

Don Syme Microsoft Research

F# is gaining popularityAn attempt at world domination?

You can see it in his eyes…

Page 8: F# Chris Mattera. Outline History of F# Resistance to F# Why use F#? Setting up Demonstration of F# F# for president 2008 F# takes over the world

Functional - way of the future

Creeping in to the mainstream

C#Visual Basic

Generics

On November 2007, F# joined supported .NET languages

Page 9: F# Chris Mattera. Outline History of F# Resistance to F# Why use F#? Setting up Demonstration of F# F# for president 2008 F# takes over the world

DisFunctional programmers

•I write Windows applications!

•Integration

•XML Parsing, database access

•Whine to mommy

Page 10: F# Chris Mattera. Outline History of F# Resistance to F# Why use F#? Setting up Demonstration of F# F# for president 2008 F# takes over the world

DisFunctional programmers

•F# runs as an external tool inside of Visual Studio

•some of the seamlessness that developers get with C# or Visual Basic is missing

•F# also lacks ASP.NET page designer support

Page 11: F# Chris Mattera. Outline History of F# Resistance to F# Why use F#? Setting up Demonstration of F# F# for president 2008 F# takes over the world

Resistance is Futile

•"many languages, one platform“

•safe concurrent programs

•discourages the use of null values and encourages the use of immutable data structures

•more succinct

•dynamic language

Page 12: F# Chris Mattera. Outline History of F# Resistance to F# Why use F#? Setting up Demonstration of F# F# for president 2008 F# takes over the world

Setting up

Go here and download it research.microsoft.com/fsharp/fsharp.aspx

Now install it

Good.

Now open up Visual Studio and make an F# project.

What do you mean you don’t have Visual Studio?

Go fly a kite.

For interpreter, check out fsi.exe in the bin directory.

Page 13: F# Chris Mattera. Outline History of F# Resistance to F# Why use F#? Setting up Demonstration of F# F# for president 2008 F# takes over the world

Hello you…

Page 14: F# Chris Mattera. Outline History of F# Resistance to F# Why use F#? Setting up Demonstration of F# F# for president 2008 F# takes over the world

SourcesMsdn f#http://msdn.microsoft.com/en-us/magazine/cc164244.aspx

More about what M$ has to sayhttp://research.microsoft.com/fsharp/fsharp.aspx

F# Manualhttp://research.microsoft.com/fsharp/manual/ml-compat.aspx

Quicktour of the F# manualhttp://research.microsoft.com/fsharp/manual/quicktour.aspx#QuickTourLists

Some bloghttp://weblogs.asp.net/podwysocki/archive/2008/03/21/adventures-in-f-f-101-part-6-lazy-evaluation.aspx

Some blog 2http://www.ffconsultancy.com/products/fsharp_journal/free/introduction.html

Don’s pagehttp://research.microsoft.com/~dsyme/