Doc 2011101410543721


Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Doc 2011101410543721

  1. 1. DEV-L-200-4F#, The American DreamJack HuSDET LeadMicrosoft, F# Team
  2. 2. F# is the best programming language forsolving• Computationally complex problems• Data complex problems
  3. 3. “...a productive functionalprogramming language for .NETthat enables users to writesimple code to solve complexproblems.”
  4. 4. • Let• Piping• Pattern Matching• Type Providers
  5. 5. • Data access platform• Intellisense helps you to browse data schemas• Provides a code centric development experience• Brings data to the developer much closer
  6. 6. The American Dream
  7. 7. …buying a new car is the worstinvestment you could evermake… - Helium.comA new car is generally a verypoor investment - ehow.comNew cars lose an average of 20percent of their value in theirfirst year. - The Motley Fool
  8. 8. Price First year: 20% Next 5 years: 15% Tapers off 2012 1980 Model Year
  9. 9. "(Buying used car is) going to take research ifyoure going to get the best value…"Lenny Simms, vice president at
  10. 10. Steps Technologies1. Collect CraigsList data F# Async (2.0)2. Store the data EntityFramework 4.1 Code-First, SQL Express3. Access the data F# TypeProviders (3.0)4. Filter the data F# LINQ Query (3.0)5. Computation Linear regression, Excel formulas6. Visualization FSharpChart
  11. 11. Data-FirstDataBase Code-First DataBase
  12. 12. DemoCraigslist Car Shopper
  13. 13. Azure,SQL Azure
  14. 14. Is this theright time tobuy?
  15. 15. To Rent (2b2b) – RedmondBellevue
  16. 16. To Own (2b2b) – RedmondBellevue 139th Ave NE #737Price 140,000Tax 2,022Dues 471Interest 4.50%Years 30PMI 0.52%Down Payment % 15.00%Down Payment $ 21,000Closing Cost $ 5,310Monthly Mortgage $ 603PMI $ 52Redfin Agent $ (2,100.00)Closing Cost $ 24,210Monthly $ 1,294Distance 3.5
  17. 17. The Power of F#Steps Technologies1. Get Redfin Data F# with Access Database2. Get TaxesDues Units of Measure, Pattern Matching (2.0)3. Display the results F# with Excel4. Calculate driving Bing Map API using TypeProviders (3.0)distance5. Evaluate Property value Zillow Estimator using TypeProviders(3.0)6. Publish SharePoint using TypeProviders(3.0)
  18. 18. Why F#?
  19. 19. 4 Examples of F# Usage• Amyris Biotechnologies – Biotechnology research for engineered renewable fuels – F# for in-house gene sequencing and analytics software tools• Intellifactory WebSharper Platform – Productive Web development leveraging F#• Microsoft ‘Path of Go’ Xbox Live Arcade Game – Paid Xbox Live Arcade Game – XNA with C#/F# – Leveraging advanced Go AI implemented by MSR in F#• A large European Bank – Large group using F# (150+) – Financial modeling, mission critical components
  20. 20. F# is Cross-Platform and Open Source
  21. 21. The best of the both worlds Functional Language F# .NET Similar core Similar object language model
  22. 22. Why F#• Computationally complex problems – Succinct, Expressive, Functional, Parallel - Productive, simple, powerful, and fun language• Data complex problems – Explorative, Data-rich - Extends the .NET platform to important new audiences
  23. 23. F#• F is for Functional• F is for Financial• F is for Fun
  24. 24. Starting Started••
  25. 25. © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.