Warum Dynamische Sprachen ?? Wo Würde Ich Persönlich Sie Verwenden, Wo Nicht ;-)

Total Page:16

File Type:pdf, Size:1020Kb

Warum Dynamische Sprachen ?? Wo Würde Ich Persönlich Sie Verwenden, Wo Nicht ;-) { Helden brauchen weniger } Frank Fischer Manager Evangelism and Marketing http://blogs.msdn.com/frankfi Microsoft Deutschland GmbH Jim Hugunin 100K 80K 60K 101K 90K 40K 80K 46K 50K 36K20K 0K Python Python Python IronPython IronPython IronPython 2.1 2.3 2.5 0.1 1.0 2.0alpha1 Jim Hugunin Principal Architect Microsoft Corp. Eine Geschichte zum Beginn… (hatten wir gerade) Was sind „dynamische Sprachen“ ?? Der Versuch einer Definition Warum dynamische Sprachen ?? Wo würde ich persönlich sie verwenden, wo nicht ;-) Was hat Microsoft damit zu tun?? Eine Geschichte zum Beginn… (hatten wir gerade) Was sind „dynamische Sprachen“ ?? Der Versuch einer Definition Warum dynamische Sprachen ?? Wo würde ich persönlich sie verwenden, wo nicht ;-) Was hat Microsoft damit zu tun?? Dynamic programming language is a term used broadly in computer science to describe a class of high level programming languages that execute at runtime many common behaviors that other languages might perform during compilation, if at all. These behaviors could include extension of the program, by adding new code, by extending objects and definitions, or by modifying the type system, all during program execution. These behaviors can be emulated in nearly any language of sufficient complexity, but dynamic languages provide direct tools to make use of them. Dynamic languages and dynamic typing are not identical concepts, and a dynamic language need not be dynamically typed, though many dynamic languages are dynamically typed. http://en.wikipedia.org/wiki/Dynamic_programming_language s = „Hello“ + 8 Paradigma 1: Runtime over Compile-Time!!! Paradigma 2: Entscheidungen verzögern Entscheidungen schränken die Möglichkeiten ein Agilität == Möglichkeiten Welche Entscheidungen kann man hinauszögern? Paradigma 3: Details der Implementierung verbergen Set dbOpenRecordset = New ADODB.Recordset With dbOpenRecordset .CursorLocation = CursorLocation .Open sSQL, oConn, CursorType, LockType End With Void MyFunc() { var a = „Hello, world!“; } APL Erlang Perl Slate Squeak Befunge Forth PHP Pliant Snobol ChucK Groovy POP-11 SuperCard HyperTalk Curl Poplog SuperCollider dBASE (dBL) Lisp Pike Tcl ECMAScript Dylan Prolog XOTcl ActionScript Logo Python TeX macro language DMDScript Scheme REBOL VBScript Visual Basic 9.0 E4X Lua Revolution Ruby Visual FoxPro Io Maude system Smalltalk Windows PowerShell Oberon JavaScript Bistro xHarbour JScript Objective Modula-2 Self Eiffel Objective-C inline :csharp do |compiler| compiler.reference '..\PresentationFramework.dll' compiler.compile <<-EOF public class DialogHelpers { public static bool ShowDialog(FileDialog d) { bool? result = d.ShowDialog(); return result == null || result == false ? false : true; } } EOF end class PostController < ApplicationControler def sendHello render :text => ‚Hello, World!‛ end end Require ‘erb’ Document = %[ <html xmlns=http://www.w3.org/1999/xhtml xml:lang=‚en‛ lang=‚en‛> <head> <title><% @titleLine.each do |titles|%> <%= @titles %> </title> … Eine Geschichte zum Beginn… (hatten wir gerade) Was sind „dynamische Sprachen“ ?? Der Versuch einer Definition Warum dynamische Sprachen ?? Wo würde ich persönlich sie verwenden, wo nicht ;-) Was hat Microsoft damit zu tun?? Dem harten C++ Mann tut das weh… Speicher- und Laufzeitverhalten sind in dynamischen Sprachen eher eine Randbemerkung Media Credit: Jessica Scott Marshall sophomore Adam Jenks chews down a piece of chocolate pie during the pie eating Wo würde ich dynamische Sprachen einsetzen?? Wo man es kann ;-) Schnelle Ergebnisse Vorsicht: Wartbarkeit kostet Arbeit (Test getriebene Entwicklung) Mit dynamische Sprachen kann man auch Bibliotheken bauen… wenn man ordentlich programmiert Wo bieten sich andere Sprachen an?? Wo man muss… Bibliotheken Eine Geschichte zum Beginn… (hatten wir gerade) Was sind „dynamische Sprachen“ ?? Der Versuch einer Definition Warum dynamische Sprachen ?? Wo würde ich persönlich sie verwenden, wo nicht ;-) Was hat Microsoft damit zu tun?? { Silverlight und PHP } http://www.php- compiler.net/doku.php?id=php-in- silverlight …haben wir gefragt, welche weitere Sprache sollen wir unterstützen… Antwort: „select * from ProgrammingLanguages where IsDynamic = true“ Daher: Dynamic Language Runtime als Basis Bringt den notwendigen Support für dynamische Sprachen Entwicklung soll extrem vereinfacht werden Browser .NET for Silverlight Host Data WPF Networking MS AJAX LINQ XLINQ Extensible Controls REST Library POX DLR BCL RSS DOM JSON Ruby Python Generics Collections SOAP Integration Legend CLR Execution Engine Application V2.0 Services XAML Legend Deploy V1.0 UI Core Inputs DRM Friction- Keyboard Mouse Ink Media Free Vector Text Installer Core Media Controls AnimationImages Auto- VC1 WMA MP3 Layout Editing Updater Presentation 30_000_000.times { |e| } ~1.8X faster i = 0 while i<30_000_000 i+=1 end ~3.3X faster STUFF = "hello\n" i=0 while i<10 i+=1 hello = '' 400_000.times do |e| hello << STUFF end end ~36% slower i=0 while i<300_000 i+=1 begin raise rescue end end ~5.6X slower { Späßle mit IronRuby } Sprachen IronRuby http://rubyforge.org/projects/ironruby http://www.iunknown.com/ IronPython http://msdn.microsoft.com/msdnmag/issues/06/ 10/clrinsideout/default.aspx?loc=de http://www.codeplex.com/IronPython http://www.iunknown.com/ JavaScript VBX © 2007 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..
Recommended publications
  • Lap Around the .NET Framework 4
    Lap Around the .NET Framework 4 Marc Schweigert ([email protected]) Principal Developer Evangelist DPE US Federal Government Team http://blogs.msdn.com/devkeydet http://twitter.com/devkeydet .NET Framework 4.0 User Interface Services Data Access ASP.NET Windows Windows (WebForms, Entity Presentation Data Services Communication ADO.NET MVC, Dynamic Framework Foundation Foundation Data) Windows WinForms Workflow LINQ to SQL Foundation Core Managed Dynamic Parallel Base Class Extensibility LINQ Languages Language Extensions Library Framework Runtime Common Language Runtime ASP.NET MVC 1.0 (Model View Controller) A new Web Application Project type Simply an option Not a replacement for WebForms Builds on top ASP.NET Manual vs. Automatic Transmission Supports a clear separation of concerns Supports testability Supports “close to the metal” programming experience ASP.NET MVC 2 Visual Studio 2010 Included Visual Studio 2008 (Service Pack 1) Download Both versions built against .NET 3.5 What’s New in MVC 2? Better Separation of Concerns (Maintainability) Html.RenderAction() Areas Easier Validation (Maintainability/Productivity) Data Annotations Client Validation Helper Improvements (Maintainability/Productivity) Strongly-Typed Helpers Templated Helpers ASP.NET 4 Web Forms? Support for SEO with URL Routing Cleaner HTML Client ID improvements ViewState improvements Dynamic Data Improvements Chart Controls Productivity and Extensibility Rich Client Ajax supports both MVC & Web Forms WPF 4 Calendar, Data Grid, DatePicker Ribbon (separate download)
    [Show full text]
  • Ironpython in Action
    IronPytho IN ACTION Michael J. Foord Christian Muirhead FOREWORD BY JIM HUGUNIN MANNING IronPython in Action Download at Boykma.Com Licensed to Deborah Christiansen <[email protected]> Download at Boykma.Com Licensed to Deborah Christiansen <[email protected]> IronPython in Action MICHAEL J. FOORD CHRISTIAN MUIRHEAD MANNING Greenwich (74° w. long.) Download at Boykma.Com Licensed to Deborah Christiansen <[email protected]> For online information and ordering of this and other Manning books, please visit www.manning.com. The publisher offers discounts on this book when ordered in quantity. For more information, please contact Special Sales Department Manning Publications Co. Sound View Court 3B fax: (609) 877-8256 Greenwich, CT 06830 email: [email protected] ©2009 by Manning Publications Co. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by means electronic, mechanical, photocopying, or otherwise, without prior written permission of the publisher. Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in the book, and Manning Publications was aware of a trademark claim, the designations have been printed in initial caps or all caps. Recognizing the importance of preserving what has been written, it is Manning’s policy to have the books we publish printed on acid-free paper, and we exert our best efforts to that end. Recognizing also our responsibility to conserve the resources of our planet, Manning books are printed on paper that is at least 15% recycled and processed without the use of elemental chlorine.
    [Show full text]
  • Augusto Campos COLUNA Saudades Do EMM386 E Do HIMEM.SYS? É Possível Rodar Sistemas Legados Feitos Para DOS Sem Recorrer a Software Proprietário
    Sistemas legados e Software Livre Augusto Campos COLUNA Saudades do EMM386 e do HIMEM.SYS? É possível rodar sistemas legados feitos para DOS sem recorrer a software proprietário. impressionante quantos programas desenvol- dar um passo a mais e investigar a possibilidade de rodá-lo vidos originalmente para ambientes MS-DOS nativamente no ambiente Linux, usando ferramentas como É ainda podem ser encontrados rodando hoje, em o Harbour [3], o xHarbour [4] ou o Flagship [5], sendo que organizações de todos os portes e perfis. A sensação de apenas os dois primeiros são softwares livres. Um conhecido incongruência não é causada apenas pela abundância meu ganhou um bom dinheiro, há alguns anos, prestando de recursos hoje disponíveis nos sistemas operacionais e exatamente esse serviço para diversas empresas da sua região ambientes correntes, mas principalmente porque já faz 12 – os sistemas funcionam bem, e passam a ter acesso a alguns anos que a Microsoft lançou a última versão stand-alone recursos mais modernos, com pouca ou nenhuma alteração desse sistema operacional que já dominou a computação na sua base de código. pessoal e foi a base da “revolução Clipper” que dominou a automação comercial brasileira no final da década de 80 e começo da de 90. Um conhecido meu Ao longo do meu envolvimento com o Linux e o código aberto, já encontrei diversas situações em que uma organiza- ganhou um bom ção desejava migrar de plataforma, mas tinha como entraves dinheiro prestando alguns sistemas legados, que rodavam em ambiente DOS, e cujo código-fonte há muito foi extraviado ou foi desenvolvido exatamente este em uma linguagem que ninguém mais domina – tornando indesejável ou muito caro portá-lo, e excessivamente com- serviço para plexo desenvolvê-lo de novo.
    [Show full text]
  • Expression Trees 1 Dynamic Language Runtime Overview 5 Creating and Using Dynamic Objects 9 Early and Late Binding 17 Execute Ex
    Expression Trees 1 Dynamic Language Runtime Overview 5 Creating and Using Dynamic Objects 9 Early and Late Binding 17 Execute Expression Trees 19 Modify Expression Trees 21 Use Expression Trees to Build Dynamic Queries 23 Debugging Expression Trees 26 Expression Trees (Visual Basic) https://msdn.microsoft.com/en-us/library/mt654260(d=printer).aspx Expression Trees (Visual Basic) Visual Studio 2015 Expression trees represent code in a tree-like data structure, where each node is an expression, for example, a method call or a binary operation such as x < y . You can compile and run code represented by expression trees. This enables dynamic modification of executable code, the execution of LINQ queries in various databases, and the creation of dynamic queries. For more information about expression trees in LINQ, see How to: Use Expression Trees to Build Dynamic Queries (Visual Basic) . Expression trees are also used in the dynamic language runtime (DLR) to provide interoperability between dynamic languages and the .NET Framework and to enable compiler writers to emit expression trees instead of Microsoft intermediate language (MSIL). For more information about the DLR, see Dynamic Language Runtime Overview . You can have the C# or Visual Basic compiler create an expression tree for you based on an anonymous lambda expression, or you can create expression trees manually by using the System.Linq.Expressions namespace. Creating Expression Trees from Lambda Expressions When a lambda expression is assigned to a variable of type Expression(Of TDelegate) , the compiler emits code to build an expression tree that represents the lambda expression. The Visual Basic compiler can generate expression trees only from expression lambdas (or single-line lambdas).
    [Show full text]
  • Visual Foxpro
    PRE201 Introduction to Visual FoxPro Ted Roche Ted Roche & Associates, LLC Visual FoxPro DevCon 2001 Ground Rules Pagers and cell phones silent, please. Rest breaks as appropriate How to ask questions Administrivia Conference Binder Schedule – Some sessions only given once Trade Show – T-shirt Tuesday, Drawing Wed. Evaluations - help the community Closing session questions – Wednesday noon Drink Tickets! Visual FoxPro DevCon 2001 Goals for this morning Learn the terminology used in VFP Understand the tools of VFP has Understand how VFP stores and retrieves data Know what applications VFP can create Know resources to learn more Visual FoxPro DevCon 2001 Who is Ted Roche? President of TR&A, LLC Consulting Microsoft Certified Solution Developer, Microsoft Certified Systems Engineer Co-Author of Hacker’s Guide to VFP 6 Author of Essential SourceSafe Microsoft Support MVP Visual FoxPro DevCon 2001 Outline Ground Rules & Pop Quiz Episode I: It’s the Data Part B: It’s the Coding Act III: Advanced Topics Part 4: Putting it all together Epilogue: So, Now What? Visual FoxPro DevCon 2001 What is Visual FoxPro? Visual FoxPro is… … a standalone tool for data manipulation. … a development tool for standalone, LAN, client-server, COM and Web applications. … a database engine. … a programming language. … part of Visual Studio. … an integral part of Microsoft Windows. … a religionVisual. FoxPro DevCon 2001 What is Visual FoxPro? Visual FoxPro is… … a standalone tool for data manipulation. … a development tool for standalone, LAN, client-server, COM and Web applications. … a database engine. … a programming language. … part of Visual Studio. … an integral part of Microsoft Windows.
    [Show full text]
  • Visual Foxpro
    GenGold - Local Business Partner Catalog Accounting/Tax Services Accountrrail, LLC Iselin, NJ 08830 347-512-0126 www.accountrail.com 10% discount and free initial consultation www.accountrail.com Air Sea Land Travel 155 Kearny Avenue Kearny, NJ 07032 201-991-3366 10% discount Apple Multiservice, LLC 65 Gould Avenue Paterson, NJ 07503 973-460-6904 For new customer $30.00 discount B & B Tax Preparation 611 Broadway Bayonne, NJ 07002 201-436-7600 www.jaragency.com 50% discount on 1st year tax prepartation service www.jaragency.com C.F.T. Tax Inc 2053 Woodbridge Avenue Suite A Edison, NJ 08817 732-626-5900 www.cfttaxinc.com 5% discount www.cfttaxinc.com Cadi's Muti Service 497 Central Avenue Newark, NJ 07107 973-732-3258 10% discount Castellano Associates 335 Union Avenue Belleville, NJ 07109 973-751-8923 Free consultation Page 1 The Provident Bank 06/18/15 GenGold - Local Business Partner Catalog Accounting/Tax Services Direct Point Services 34 Cianci Street Paterson, NJ 07501 973-345-4800 10% discount on Income Tax 2014; 1 free recharge international call Elliot L. Kaplan Cpa 56 Bryant Avenue Edison, NJ 08820 732-593-8200 10% discount Fabio Financial Services 105 Lock Street Suite 403 Newark, NJ 07103 973-824-7474 Free fries with purchase of lobster roll Monday thru Thursday M & I Services, Inc. 2 Fish House Road Kearny, NJ 07032 201-955-0013 10% discount on tax returns preparation before March 1 2015 MBC Firm 55 Washington Street East Orange, NJ 07017 973-672-1300 10% discount on first service Middlesex County Clerical Tax and Recording Co., L 434 Westgate Drive Edison, NJ 08820 973-568-4490 10% discount Xpertax Corp.
    [Show full text]
  • Ironpython Und Die Dynamic Language Runtime (DLR) Softwareentwicklung Mit Python Auf Der Microsoft Windows Plattform
    IronPython und die Dynamic Language Runtime (DLR) Softwareentwicklung mit Python auf der Microsoft Windows Plattform Klaus Rohe ([email protected]) Microsoft Deutschland GmbH Einige Anmerkungen • Kein Python Tutorial: • Es werden einige Unterschiede von Python zu C# / Java dargestellt • Die Eigenschaften, Beispiele und Demos beziehen sich auf die Version IronPython 2.0 Beta 4. Die endgültig freigegebene Version von IronPython 2.0 kann andere Eigenschaften besitzen und sich anders verhalten. Herbstcampus 2008 – Titel des Vortrags 2 Agenda • Python • IronPython & die Dynamic Language Runtime • Benutzung von .NET Bibliotheken in IronPython • ADO.NET • WPF • Einbetten von IronPython in Applikationen • Interoperabilität • IronPython & Cpython • Interoperabilität CPython - .NET Herbstcampus 2008 – Titel des Vortrags 3 Historie von Python • Anfang der 1990er Jahre von Guido van Rossum am Zentrum für Mathematik und Informatik Amsterdam als Nachfolger für die Lehrsprache ABC entwickelt • Wurde ursprünglich für das verteilte Betriebssystem Amoeba entwickelt: http://www.cs.vu.nl/pub/amoeba/ • Der Name der Sprache bezieht sich auf die britische Komiker Gruppe Monty Python Herbstcampus 2008 – Titel des Vortrags 4 Charakterisierung von Python (1) • Python-Programm wird interpretiert • Unterstützt mehrere Programmierparadigmen: • Prozedural • Objektorientiert • Funktional • Klare, einfache Syntax • Portabel, verfügbar auf allen Plattformen mit C-Compiler • Windows, Mac OS, UNIX, LINUX, … • Leicht erweiterbar mit C/C++ Bibliotheken • Z. B. Bibliothek
    [Show full text]
  • A Multi-Programming-Language, Multi-Context Framework Designed for Computer Science Education Douglas Blank1, Jennifer S
    Bryn Mawr College Scholarship, Research, and Creative Work at Bryn Mawr College Computer Science Faculty Research and Computer Science Scholarship 2012 Calico: a multi-programming-language, multi- context framework designed for computer science education Doug Blank Bryn Mawr College, [email protected] Jennifer S. Kay James B. Marshall Keith O'Hara Mark Russo Let us know how access to this document benefits ouy . Follow this and additional works at: http://repository.brynmawr.edu/compsci_pubs Part of the Computer Sciences Commons Custom Citation Douglas Blank, Jennifer S. Kay, James B. Marshall, Keith O'Hara, and Mark Russo. Calico: A Multi-Programming-Language, Multi- Context Framework Designed for Computer Science Education. (2012). SIGCSE 2012 (Raleigh, NC). This paper is posted at Scholarship, Research, and Creative Work at Bryn Mawr College. http://repository.brynmawr.edu/compsci_pubs/53 For more information, please contact [email protected]. To appear in the Proceedings of the 43rd ACM Technical Symposium on Computer Science Education, SIGCSE 2012 Calico: A Multi-Programming-Language, Multi-Context Framework Designed for Computer Science Education Douglas Blank1, Jennifer S. Kay2, James B. Marshall3, Keith O'Hara4, and Mark Russo1 1Computer Science 2Computer Science 3Computer Science 4Computer Science Department Department Department Program Bryn Mawr College Rowan University Sarah Lawrence College Bard College Bryn Mawr, PA (USA) Glassboro, NJ (USA) Bronxville, NY (USA) Annandale-on-Hudson, NY (1) 610-526-6501 (1) 856-256-4593 (1) 914-395-2673 (1) 845-752-2359 [email protected] [email protected] [email protected] [email protected] ABSTRACT these contexts are often tied to a specific programming environ- The Calico project is a multi-language, multi-context program- ment, which limits their availability to only those willing to work ming framework and learning environment for computing educa- in that programming environment.
    [Show full text]
  • Pro DLR in .NET 4
    Pro DLR in .NET 4 Chaur Wu Pro DLR in .NET 4 Copyright © 2010 by Chaur Wu All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or by any information storage or retrieval system, without the prior written permission of the copyright owner and the publisher. ISBN 978-1-4302-3066-3 ISBN 978-1-4302-3067-0 (eBook) Printed and bound in the United States of America 9 8 7 6 5 4 3 2 1 Trademarked names, logos, and images may appear in this book. Rather than use a trademark symbol with every occurrence of a trademarked name, logo, or image we use the names, logos, and images only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark. The use in this publication of trade names, trademarks, service marks, and similar terms, even if they are not identified as such, is not to be taken as an expression of opinion as to whether or not they are subject to proprietary rights. President and Publisher: Paul Manning Lead Editor: Jonathan Gennick Technical Reviewer: Scott Isaacs Editorial Board: Steve Anglin, Mark Beckner, Ewan Buckingham, Gary Cornell, Jonathan Gennick, Jonathan Hassell, Michelle Lowman, Matthew Moodie, Duncan Parkes, Jeffrey Pepper, Frank Pohlmann, Douglas Pundick, Ben Renow-Clarke, Dominic Shakeshaft, Matt Wade, Tom Welsh Coordinating Editor: Jennifer L. Blackwell Copy Editor: Sharon Terdeman Compositor: Bytheway Publishing Services Indexer: Brenda Miller Artist: Integra Software Services Pvt.
    [Show full text]
  • Calling .NET Code from VFP the Easy Way
    Session E-CALL Calling .NET Code from VFP the Easy Way Doug Hennig Stonefield Software Inc. Email: [email protected] Corporate Web site: www.stonefieldquery.com Personal Web site : www.DougHennig.com Blog: DougHennig.BlogSpot.com Twitter: DougHennig Overview At the German DevCon 2011, Doug’s “Creating ActiveX Controls for VFP Using .NET” session showed how to create .NET components that can be used in Visual FoxPro applications. However, these types of controls suffer from a couple of issues: they have to be registered for COM on the customer’s system and there are limitations in working with .NET Interop in VFP that prevent many things from working correctly. This session shows how Rick Strahl’s wwDotNetBridge eliminates these issues and provides some practical examples of how this tool can be used in your applications. Calling .NET Code from VFP the Easy Way 20th European Visual FoxPro DevCon 2013 © 2013 Doug Hennig (Group .NET) E-CALL • 1 Introduction The Microsoft .NET framework has a lot of powerful features that aren’t available in VFP. For example, dealing with Web Services is really ugly from VFP but is simple in .NET. .NET also provides access to most operating system functions, including functions added in newer version of the OS. While these functions are also available using the Win32 API, many of them can’t be called from VFP because they require callbacks and other features VFP doesn’t support, and accessing this functions via .NET is easier anyway. Fortunately, there are various mechanisms that allow you to access .NET code from VFP applications.
    [Show full text]
  • Data Driven Software Engineering Track
    Judith Bishop Microsoft Research 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 C# 1.0 C# 2.0 C# 3.0 C#4.0 Spec#1.0 Spec# Code CodeCont .5 1.0.6 Contracts racts 1.4 Java 1.5 F# Java 6 F# in VS F# C Ruby on LINQ Python Rails 3.0 Firefox 2 Firefox 3 IE6 Safari 1 IE7 Safari 4 IE8 Safari 5 Windows Windows DLR beta Windows DLR 1.0 XP Vista 7 .NET Rotor Mono 1.0 .NET 2 Rotor 2.0 .NET 3.5 .Net 4.0 Mac OS Ubuntu Mac OS Mac OSX Mac OS X Linux X Intel Leopard XSnow. VS 2003 VS 2005 VS2008 VS2010 Eclipse Eclipse Eclipse 1.0 3.0 3.6 Advantages Uses • Rapid feedback loop (REPL) • Scripting applications • Simultaneous top-down and • Building web sites bottom-up development • Test harnesses • Rapid refactoring and code • Server farm maintenance changing • One-off utilities or data • Easy glue code crunching C# 1.0 2001 C# 2.0 2005 C# 3.0 2007 C# 4.0 2009 structs generics implicit typing dynamic lookup properties anonymous anonymous types named and foreach loops methods object and array optional autoboxing iterators initializers arguments delegates and partial types extension COM interop events nullable types methods, variance indexers generic lambda operator delegates expressions overloading query expressions enumerated types (LINQ) with IO in, out and ref parameters formatted output API Serializable std generic Reflection delegates The dynamic language runtime (DLR) is a runtime environment that adds a set of services for dynamic languages – and dynamic featues of statically typed languages – to the common language runtime (CLR) • Dynamic Lookup • Calls, accesses and invocations bypass static type checking and get resolved at runtime • Named, default and optional parameters • COM interop • Variance • Extends type checking in generic types • E.g.
    [Show full text]
  • Mhtml:File://C:\Users\Jbustamante
    Visual FoxPro Toolkit for .NET The Visual FoxPro Toolkit for .NET is a class library with over 225 Visual FoxPro functions for use with any .NET language. The included VFPToolkitNET.DLL is a .NET managed code DLL (not a COM wrapper) and does not require Visual FoxPro. The functions supported execute extremely fast since they are all written in .NET and compiled into a managed code .NET DLL. Included is a reference and tutorial stand-alone CHM help file as well as Visual Studio .NET integrated dynamic help using the same CHM help file. Full IntelliSense and Dynamic Help is enabled for the VFP functions when programming in any .NET language. Using the VFP Toolkit or .NET, most Visual FoxPro functions become available in Visual Basic .NET or any other .NET language. Functions like STRTOFILE() convert a string to a file in only one line of code. The Visual FoxPro Toolkit for .NET does not teach developers Visual Studio .NET programming, but it does enable developers to do .NET programming much quicker and write less code based on what they are familiar with combined with how these functions reduce coding overall. It is not pseudo-VFP syntax, it is "real" VFP syntax and works most naturally in Visual Basic .NET since it no namespacing is required. The Windows .NET Framework and Visual Basic .NET (or any .NET language) must still be learned. What this toolkit does is assist Visual FoxPro developers using .NET since there is a much quicker learning curve for .NET programming having these functions available. The Visual FoxPro Toolkit for .NET is not a replacement to any .NET language.
    [Show full text]