Async programming in f
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Async programming in f

on

  • 664 views

 

Statistics

Views

Total Views
664
Views on SlideShare
664
Embed Views
0

Actions

Likes
0
Downloads
7
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Async programming in f Presentation Transcript

  • 1. Async Programming in F#
    LiuYanJiang - June 2010
    Work In:
    山东泰迪计算机软件工程师学校
  • 2. About Me
    刘晏江/刘校长/BeauLiu
    Microsoft Most Valuable Professiona
    Programmer
    F#,Scala,JavaScript,Pytho,.NET,mono
    Java(as the language) hater
  • 3. What's F#
    Languages by Don Syme,MS Research
    Strongly Statically Typed Language
    Functional Language with OO Ability
    General Purpose Language
  • 4. Async Programming is complex……
  • 5. Four Big Concurrency Challenges
    Shared State
    Code Locality
    I/O Parallelism
    Scaling Up
  • 6. Shared State
    Difficult to maintain and test
    Very difficult to parallelize
    Locking is fundamentally error prone
  • 7. Immutability in F#
    Immutable Union
    Immutable Record
    Immutable Set
    Immutable Objects
    Immutable Tuple
    Immutable List
    Immutable Map
  • 8. Code Locality
    Used to expressing algorithms linearly
    Async requires logical division of algorithms
  • 9. Scaling to Multi-Machine
    To scale up,must to go beyond a single machine
    Multi-machine resources becoming common
    Roll-you-own clusters with cheap hardware
    Shared memory doesn't scale
  • 10. F#
    Modern,simple,powerful and prductive
    Ready for production use with VS 2010
    Simplified parallel and async programming for today and tomorrow
    Support .NET 4.0/3.5 and mono
    Open Source
  • 11. Q & A