Presentation is loading. Please wait.

Presentation is loading. Please wait.

What?!? C# Could Do That?? Shay Friedman CodeValue |

Similar presentations


Presentation on theme: "What?!? C# Could Do That?? Shay Friedman CodeValue |"— Presentation transcript:

1 What?!? C# Could Do That?? Shay Friedman CodeValue |

2 Shay Friedman |

3 Shay Friedman | Agenda The dynamic keyword The DLR and IronLanguages Roslyn

4 Shay Friedman | The dynamic Keyword New in.NET 4.0 Resolution of method calls or field accesses is done during runtime

5 Shay Friedman | The DLR and IronLanguages Dynamic Language Runtime Expression Trees Dynamic Dispatch Call Site Caching JavaScript Binder Object Binder Python Binder Ruby Binder COM Binder IronRubyIronPhytonC#VB.NetOthers…

6 Shay Friedman | HAI CAN HAS STDIO? I HAS A FISH ITZ "Yummy" VISIBLE FISH VISIBLE "HAI WORLD!" IM IN YR LOOP VISIBLE “LOOP!” KTHX KTHXBYE Code start Equivalent to: FISH = “Yummy”; Equivalent to: FISH = “Yummy”; Equivalent to: Console.WriteLine(“HAI WORLD!”); Equivalent to: Console.WriteLine(“HAI WORLD!”); Loop start Loop end Code end

7 Shay Friedman | Roslyn Services WorkspaceScriptingCompilers

8 Shay Friedman | Summary The dynamic keyword The DLR and IronLanguages Roslyn

9 Shay Friedman | Resources standing-the-Dynamic-Keyword-in-C4.aspx standing-the-Dynamic-Keyword-in-C4.aspx (dynamic and roslyn samples)

10 Shay Friedman | Thank You!


Download ppt "What?!? C# Could Do That?? Shay Friedman CodeValue |"

Similar presentations


Ads by Google