Presentation is loading. Please wait.

Presentation is loading. Please wait.

demo video demo Dynamic Languages Simple and succinctImplicitly typedMeta-programmingNo compilation Static Languages RobustPerformantIntelligent.

Similar presentations


Presentation on theme: "demo video demo Dynamic Languages Simple and succinctImplicitly typedMeta-programmingNo compilation Static Languages RobustPerformantIntelligent."— Presentation transcript:

1

2

3

4

5 demo

6 video

7

8 demo

9

10

11 Dynamic Languages Simple and succinctImplicitly typedMeta-programmingNo compilation Static Languages RobustPerformantIntelligent toolsBetter scaling

12 Open Source versus Commercial

13 Python Binder Ruby Binder COM Binder JavaScript Binder Object Binder Dynamic Language Runtime Expression Trees Dynamic Dispatch Call Site Caching IronPython IronRuby C# VB.NET Others…

14 ScriptObject calc = GetCalculator(); object res = calc.Invoke("Add", 10, 20); int sum = Convert.ToInt32(res); ScriptObject calc = GetCalculator(); object res = calc.Invoke("Add", 10, 20); int sum = Convert.ToInt32(res); Dim calc As ScriptObject = GetCalculator() Dim res As Object = calc.Invoke("Add", 10, 20) Dim sum As Integer = Convert.ToInt32(res) Dim calc As ScriptObject = GetCalculator() Dim res As Object = calc.Invoke("Add", 10, 20) Dim sum As Integer = Convert.ToInt32(res) Calculator calc = GetCalculator(); int sum = calc.Add(10, 20); Calculator calc = GetCalculator(); int sum = calc.Add(10, 20); object calc = GetCalculator(); Type calcType = calc.GetType(); object res = calcType.InvokeMember("Add", BindingFlags.InvokeMethod, null, new object[] { 10, 20 }); int sum = Convert.ToInt32(res); object calc = GetCalculator(); Type calcType = calc.GetType(); object res = calcType.InvokeMember("Add", BindingFlags.InvokeMethod, null, new object[] { 10, 20 }); int sum = Convert.ToInt32(res); dynamic calc = GetCalculator(); int sum = calc.Add(10, 20); dynamic calc = GetCalculator(); int sum = calc.Add(10, 20); Dynamic method invocation Dynamic conversion Dim calc As Calculator = GetCalculator() Dim sum As Integer = calc.Add(10, 20) Dim calc As Calculator = GetCalculator() Dim sum As Integer = calc.Add(10, 20) Dim calc As Object = GetCalculator() Dim sum As Integer = calc.Add(10, 20) Dim calc As Object = GetCalculator() Dim sum As Integer = calc.Add(10, 20) Dim calc As Object = GetCalculator() Dim sum As Integer = calc.Add(10, 20) Dim calc As Object = GetCalculator() Dim sum As Integer = calc.Add(10, 20) Visual C# Visual Basic Static binding Dynamic binding (pre-VS 2010) Dynamic binding (pre-VS 2010) Binding to ScriptObjects (JavaScript) Statically typed to be dynamic Dynamic method invocation Dynamic conversion

15 FeatureVBC# Auto-implemented Properties Collection Initializers Array Literals Statement Lambdas Implicit Line ContinuationN/A Named/Optional Parameters Latebinding support (dynamic) Omit ref on COM calls Indexed Properties Interop with Dynamic Languages Co/contravariance PIA deployment not needed New in VS 2010 Already exists in VS 2008

16 Feature VBC# Generate From Usage: Generate Method Type colorization Background Squiggles: Top Level Analysis IntelliSense: Builder UI IntelliSense: Prefix Filtering Completion List Generate From Usage: Generate Type, Constructor, Property, Field IntelliSense: Consume First Mode IntelliSense: Substring & Camel-Case Match Navigate To Highlight References Call Hierarchy New in VS 2010 Already exists in VS 2008

17

18

19

20

21 Code Like the Wind with Microsoft Visual Basic 2010 – Petree Hall D November 18, 13:00 - 13:45 – Petree Hall D Lucian Wischik Microsoft Visual C# IDE Tips and Tricks November 19, 12:45 - 13:30 – Petree Hall D DJ Park F# for Parallel and Asynchronous Programming November 19, 11:30 - 12:30 – 515A Luke Hoban Microsoft Visual Basic IDE Tips and Tricks November 19, 12:45 - 13:30 – Petree Hall C Dustin Campbell Future Directions for C# and Visual Basic November 17, 11:00 - 12:00 – Hall F Luca Bolognese Using Dynamic Languages to Build Scriptable Applications – November 17, 12:30 - 13:15 – 403AB Dino Viehland Dynamic Binding in C# 4 November 17, 12:30 - 13:15 – Hall F Mads Torgersen

22 question & answer

23 THANK YOU!

24 © 2009 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.


Download ppt "demo video demo Dynamic Languages Simple and succinctImplicitly typedMeta-programmingNo compilation Static Languages RobustPerformantIntelligent."

Similar presentations


Ads by Google