Roslyn: el futuro de C# y VB.NET by Rodolfo Finochietti

50 %
50 %
Information about Roslyn: el futuro de C# y VB.NET by Rodolfo Finochietti
Technology

Published on October 20, 2014

Author: netconfuy

Source: slideshare.net

Description

Roslyn: el futuro de C# y VB.NET
Rodolfo Finochietti
.NET Conf UY 2014
http://netconf.uy

1. rodolfof@lagash.com http://shockbyte.net

2. Fundamentos de un compilador

3. class Program { void Main() { } } ▫ program.exe CSC - VBC

4. 5

5. 6

6. http://irony.codeplex.com

7. Roslyn

8. Windows Convergence Universal projects Cloud Services .NET support for Azure Mobile Services Web apps Native compilation ASP.NET updates .NET Native Core .NET Runtime Compilers Next gen JIT (“RyuJIT”) SIMD .NET Compiler Platform (“Roslyn”) Languages innovation Azure and Windows Server Windows Desktop Openness Windows Store iOS and Android .NET in devices and services

9. Editor Services Code Actions Classification Completion Outlining … Code Formatting Find All References Name Simplification … Symbol API Services Compiler Syntax Tree API Binding and Flow Analysis APIs Emit API Scripting API Workspace API

10. Syntax Tree API – Nodes CompilationUnit TypeDeclaration MethodDeclaration class C { void M() { } }// C ▫ ParameterList Block var tree = CSharpSyntaxTree.ParseText("...");

11. Syntax Tree API – Tokens CompilationUnit TypeDeclaration EOF class C { MethodDeclaration } void M ParameterList Block ( ) { } class C { void M() { } }// C ▫

12. Syntax Tree API – Trivia CompilationUnit TypeDeclaration EOF class C { MethodDeclaration } SP EOL EOL // C void M ParameterList Block ( ) { } SPx4 SP EOL EOL SPx4 EOL SPx4 EOL class∙C { ∙∙∙∙void∙M() ∙∙∙∙{ ∙∙∙∙} }// C ▫

13. Workspace API Host Environment Events (e.g. key presses) Workspace Solution Edit Edit Project Project Compilation Document Document Apply Solution2 Solutionn SyntaxTree

14. C# 6

15. public class Point(int x, int y) { public int X { get; } = x; public int Y { get; } = y; public double R { get; } = Math.Sqrt(x ^ x + y ^ y); public Point() : this(0, 0) { } public override string ToString() { return string.Format("({0},{1},{2})", X, Y, R); } }

16. try { Task[] tasks = new Task[10]; for (int i = 0; i < 10; i++) { tasks[i] = Task.Factory.StartNew(() => DoSomeWork(10000000)); } var res = await Task.WhenAll(tasks); } catch (AggregateException e) if (e.InnerExceptions.Count > 2) { await WriteStatus(“filtered exception"); } finally { await WriteStatus(“finished"); }

17. http://goo.gl/4vtQfr

18. ¿Preguntas?

19. http://irony.codeplex.com http://roslyn.codeplex.com

20. ¡ Gracias! rodolfof@lagash.com http://shockbyte.net

Add a comment

Related presentations

Presentación que realice en el Evento Nacional de Gobierno Abierto, realizado los ...

In this presentation we will describe our experience developing with a highly dyna...

Presentation to the LITA Forum 7th November 2014 Albuquerque, NM

Un recorrido por los cambios que nos generará el wearabletech en el futuro

Um paralelo entre as novidades & mercado em Wearable Computing e Tecnologias Assis...

Microsoft finally joins the smartwatch and fitness tracker game by introducing the...

Related pages

.NET Conf UY 2014 - Roslyn: el futuro de C# y VB.NET by ...

Roslyn: el futuro de C# y VB.NET Rodolfo ... el futuro de C# y VB.NET Rodolfo Finochietti ... el futuro de C# y VB.NET by Rodolfo Finochietti ...
Read more

.NET Conf UY 2014 - Entrevista a Rodolfo Finochietti - YouTube

Entrevista a Rodolfo Finochietti http://netconf.uy .NET ... Roslyn: el futuro de C# y VB.NET by Rodolfo Finochietti ... Sharing C# on iOS ...
Read more

Roslyn: el futuro de C# - NET Conf UY

Roslyn: el futuro de C#. Rodolfo Finochietti. rodolfof@lagash.com. ... Completa reescritura de los compiladores C# y Visual Basic. Open Source. Language ...
Read more

.NET Conf UY v2014 - Roslyn: el futuro de C# y VB.NET ...

Rodolfo Finochietti Video Slides (online) Slides (download) CodeEl proyecto Roslyn es una renovación completa de los compiladores de C# y ...
Read more

NinjaHang #2: Roslyn el compilador Open Source de ...

... Roslyn: el futuro de C# y VB.NET by Rodolfo Finochietti. Roslyn: el futuro de C# y VB.NET Rodolfo Finochietti http://netconf.uy .NET Conf UY 2014 ...
Read more

Roslyn: el futuro de C#. Construir un compilador es ...

Roslyn: el futuro de C# y VB.NET by Rodolfo Finochietti Roslyn: el futuro de C# y VB.NET Rodolfo Finochietti .NET Conf UY 2014 http://netconf.uy
Read more

.NET | Shockbyte

... en donde estaré dando un sesión sobre Roslyn y el futuro de C#. ... My name is Rodolfo Finochietti and I am Uma's father, Microsoft MVP, ...
Read more

C# , Vb.net | LinkedIn

View 63436 C# , Vb.net posts, presentations, experts, and more. Get the professional knowledge you need on LinkedIn. LinkedIn Home What is LinkedIn?
Read more