Semana de Interop: Projeto Mono
Upcoming SlideShare
Loading in...5
×
 

Semana de Interop: Projeto Mono

on

  • 252 views

Semana de Interop - O projeto Mono : Aplicações .NET para sistemas Não Windows

Semana de Interop - O projeto Mono : Aplicações .NET para sistemas Não Windows

Statistics

Views

Total Views
252
Views on SlideShare
251
Embed Views
1

Actions

Likes
0
Downloads
0
Comments
0

1 Embed 1

http://meem.greyshare.com 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Semana de Interop: Projeto Mono Semana de Interop: Projeto Mono Presentation Transcript

  • 3
  • 4
  • ● – – – ● – – 5
  • 6
  • 7
  • Características já suportadas: anonymous methods , iterators,partial classes , Generics , Nullable Types, friend assemblies , static classes, property accessor accessibility, fixed buffers, external assembly alias, namespace alias qualifier , inline warning control , Extension Methods, LINQ syntax, Expression trees, Automatic properties, Lambda expressions, Anonymous types. 8
  • 9
  • ✔ 10
  • 11
  • http://mono-project.com/Roadmap 12
  • − É a máquina virtual do Mono − O runtime do Mono está pronto e tem possibilidade de executar programas através de: − um compilador JIT (mono), com e sem otimizações − um interpretador (mint) − Atualmente estão trabalhando na implementação de um gerenciador de memória mais eficiente − Os programas podem ainda ser precompilados com um Ahead-of-Time Compiler (aot) 13
  • Supported Architectures Runtime Operating system s390, s390x (32 and 64 bits) JIT Linux SPARC (32) JIT Solaris, Linux PowerPC JIT Linux, Mac OSX, Wii, PlayStation 3 x86 JIT Linux, FreeBSD, OpenBSD, NetBSD, Microsoft Windows, Solaris, OS X JIT Linux, Solaris JIT Linux ARM: little and big endian JIT Linux (both old and new ABI), iPhone Alpha MIPS HPPA JIT Linux JIT Linux JIT Linux x86-64: AMD64 and EM64T (64 bit) IA64 Itanium2 (64 bit) 14
  • 1 5
  • 17
  • COMPILA COMPILA /USA EXECUTA EXECUTA USA USA USA
  • 19
  • 20
  • http://mono-project.com/Test_Suite 21
  • 22
  • 23
  • 24
  • www.mono-project.com http://mono-project.com/Monkeyguide http://www.go-mono.com/docs/ 25
  • Mono-announce-list, mono-aspnet-list, mono-list, mono-devel-list, mono-gc-list, monopatches, mono-docs-list, mono-bugs, mono-winforms-list, gtk-sharp-list, mono-vb, monoaddins , monodevelop-list, monodevelop-devel-list, mono-osx, monotouch, cocoasharp, mono-cecil , gendarme, mono-olive, moonlight-list, monoxna, tao-list, tf4mono group, mono-packagers-list Padrões ECMA 334 , ECMA 335 http://mono-project.com/Mailing_Lists http://www.go-mono.org/forums/ 26
  • 27
  • www.monobrasil.org 28
  • 29
  • http://mono-project.com/Bugs 30
  • 3 1
  • Busca manual de Separadores int index = exePath.LastIndexOf(""); exeDir = exePath.Substring(0, index); exeFile = exePath.Substring(index+1); Código mais portável exeDir = Path.GetDirectoryName (exePath); exeFile = Path.GetFileName (exePath); 33
  • “;” “:” Console.WriteLine ( "Subdiretorios encontrados no PATH :“ ); string path_env = Environment.GetEnvironmentVariable ( "PATH“ ); string[] path_dirs = path_env.Split (Path.PathSeparator); foreach (string pathdir in path_dirs) Console.WriteLine(pathdir); 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • http://www.mono-project.com/WinForms 40
  • http://wxnet.sourceforge.net/ 41
  • www.monodevelop.com 42
  • 43
  • 44
  • http://www.youtube.com/watch?v=M0VoyhKFmWg http://monotouch.info/MonoTouch/Videos http://monotouch.net/ http://www.codesnack.com/storage/screencasts/ 45
  • 46
  • 4 7
  • HELLO WORD!!! $ cat alomundo-cs.cs alomundo-vb.vb alomundo-boo.boo class AloMundo { public static void Main(string[] args){ System.Console.WriteLine("Alô mundo!!! em C#"); } } Module AloMundo Public Sub Main(args as string()) System.Console.WriteLine("Alô mundo!!! em MonoBASIC") End Sub End Module print "Alô mundo!!! em Boo" $ mcs /codepage:utf8 alomundo-cs.cs $ mbas alomundo-vb.vb $ booc alomundo-boo.boo $ mono alomundo-cs.exe Alô mundo!!! em C# $ mono alomundo-vb.exe Alô mundo!!! em MonoBASIC $ mono alomundo-boo.exe Alô mundo!!! em Boo A linguagem Boo foi desenvolvida pelo Rodrigo 'Bamboo' Oliveira, para o ambiente CLI (Mono/.NET). É similar ao Python mas com tipagem estática, o que lhe permite interagir mais facilmente com as outras linguagens CLI. Ver http://boo.codehaus.org/
  • 49
  • 51
  • 52
  • 53
  • 54
  • 56
  • binhara@monobrasil.org 5 7