Windows 8

Preview:

Citation preview

www.buildwindows.com

Windows 8

BABACI NABILMicrosoft Student PartnerNabil.babaci@studentpartner.com

www.buildwindows.com

Agenda

• Windows 8• Démo

• Developer Preview• Windows Runtime• Roslyn Project

www.buildwindows.com

Windows 8

Preview

Beta RC RTM

• Version d’aperçu rien n’est définitif• Déconseillé à l’usage courant

www.buildwindows.com

Windows 8 > Architecture

Architecture:• Multi-plateforme : ARM, x86, x64,• Intégration d’Hyper-V (Hyperviseur de type 1)• Secure Boot• Orienté tablette avec l’interface Métro

www.buildwindows.com

Windows 8

• Double interface Metro/Classique

www.buildwindows.com

Windows 8

• Gestionnaire de tâches amélioré

www.buildwindows.com

Windows 8

• Ouverture de session par Live id

www.buildwindows.com

Windows 8

• Transfert de fichiers améliorés

www.buildwindows.com

Windows 8 > Nouveautés

Nouveautés :• Windows Store (Place centralisé des applis)• USB3 en natif• Montage d’ISO et VHD en natif• Optimisation du temps de démarrage• Notifications Push sous Windows• PDF natif• Xbox live présent• Lancement de jeu XBOX360 ( A vérifier)• Windows-To-Go ( Boot depuis USB)

www.buildwindows.com

Windows 8 - UX

demo

WINDOWS RUNTIME

www.buildwindows.com

WinRT• Nouvelle interface utilisateur• Nouvelle plateforme de développement ( tablettes, slates)• Pas de socle .Net mais WinRuntime Library• Modèle de sécurité «  Sandboxing » ( Windows AppStore)• Développement en WinRT, Win32 et .Net• Ensemble d’API :

• Design Metro• Programmation simple• XAML/HTML/CSS pour le UI• C/C++/C#/VB/Javascript pour le behind• Asynchrones ( >50ms)• Notion de Projection = Bindings ( Exposition d’API behind)• Notion .Net / Not .Net = Déplacement d’API ( File I/O – Sockets)

www.buildwindows.com

WinRT

www.buildwindows.com

WinRT > Inside

www.buildwindows.com

WinRT> Architecture

www.buildwindows.com

Metadata & Namespaces

• Windows Metadata :o Description complète du Windows Runtimeo Générer nativement depuis C++/C#/VB

Compilateuro Autorisation des projections (bindings) multi-

languageso Intellisense améliorée

• Namespace :o Les WinRT objets sont dans un namespace

simple, unifié et hiérarchiqueo Intellisense et navigation (exploration d’objet)

améliorée (VS)o Objets visible depuis JavaScript

www.buildwindows.com

WinRT Object

WinRT Object :• Objet natif en C++• Pensé OO• Alternative à Win32

(C)• Réflection

Rosyln Project

www.buildwindows.com

Roslyn Project > Evolution

Managed Code

C# 1.0 + VB 7.0

Generics

C# 2.0 + VB 8.0

LINQC# 3.0 + VB 9.0

Dynamic +

Language Parity

C# 4.0 + VB 10.0

WinRT+ Async

C# 5.0 + VB 11.0

www.buildwindows.com

Class

Field

public Foo

private

string

X

The Roslyn project

CompilerCompilerSource codeSource code

SourceFile

Source codeSource code

.NET Assembly

Meta-programming Read-Eval-Print Loop

LanguageObject Model

DSL Embedding

www.buildwindows.com

Language Service

Compiler APIs

Compiler Pipeline

Syntax Tree API

Symbol API

Binding and Flow Analysis APIs

Emit API

Form

atte

r

Colo

rizer

Outlin

ing

Navig

ate

To

Obje

ct Bro

wse

r

Com

ple

tion List

Find A

ll Refe

rence

s

Ren

am

e

Quick In

fo

Sig

natu

re H

elp

Extra

ct Meth

od

Go To

Defin

ition

Edit a

nd C

on

tinue

ParserMetadata

Import

BinderIL

Emitter

Symbols

www.buildwindows.com

© 2011 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