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 shayf@codevalue.net | @ironshay | http://IronShay.com

2 Shay Friedman shayf@codevalue.com | @ironshay http://IronShay.com | http://CodeValue.com

3 Shay Friedman | http://IronShay.com | @IronShay Agenda The dynamic keyword The DLR and IronLanguages Roslyn

4 Shay Friedman | http://IronShay.com | @IronShay The dynamic Keyword New in.NET 4.0 Resolution of method calls or field accesses is done during runtime

5 Shay Friedman | http://IronShay.com | @IronShay 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 | http://IronShay.com | @IronShay 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 | http://IronShay.com | @IronShay Roslyn Services WorkspaceScriptingCompilers

8 Shay Friedman | http://IronShay.com | @IronShay Summary The dynamic keyword The DLR and IronLanguages Roslyn

9 Shay Friedman | http://IronShay.com | @IronShay Resources http://visualstudiomagazine.com/Articles/2011/02/01/Under standing-the-Dynamic-Keyword-in-C4.aspx http://visualstudiomagazine.com/Articles/2011/02/01/Under standing-the-Dynamic-Keyword-in-C4.aspx http://ironruby.com/ http://ironpython.net/ http://msdn.microsoft.com/en-us/roslyn http://www.amazedsaint.com (dynamic and roslyn samples) http://www.amazedsaint.com

10 Shay Friedman | http://IronShay.com | @IronShay Thank You!


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

Similar presentations


Ads by Google