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

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Semana de Interop: Projeto Mono

82
views

Published on

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

Published in: Technology

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
82
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. 3
  • 2. 4
  • 3. ● – – – ● – – 5
  • 4. 6
  • 5. 7
  • 6. 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
  • 7. 9
  • 8. ✔ 10
  • 9. 11
  • 10. http://mono-project.com/Roadmap 12
  • 11. − É 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
  • 12. 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
  • 13. 1 5
  • 14. 17
  • 15. COMPILA COMPILA /USA EXECUTA EXECUTA USA USA USA
  • 16. 19
  • 17. 20
  • 18. http://mono-project.com/Test_Suite 21
  • 19. 22
  • 20. 23
  • 21. 24
  • 22. www.mono-project.com http://mono-project.com/Monkeyguide http://www.go-mono.com/docs/ 25
  • 23. 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
  • 24. 27
  • 25. www.monobrasil.org 28
  • 26. 29
  • 27. http://mono-project.com/Bugs 30
  • 28. 3 1
  • 29. 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
  • 30. “;” “:” 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
  • 31. 35
  • 32. 36
  • 33. 37
  • 34. 38
  • 35. 39
  • 36. http://www.mono-project.com/WinForms 40
  • 37. http://wxnet.sourceforge.net/ 41
  • 38. www.monodevelop.com 42
  • 39. 43
  • 40. 44
  • 41. http://www.youtube.com/watch?v=M0VoyhKFmWg http://monotouch.info/MonoTouch/Videos http://monotouch.net/ http://www.codesnack.com/storage/screencasts/ 45
  • 42. 46
  • 43. 4 7
  • 44. 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/
  • 45. 49
  • 46. 51
  • 47. 52
  • 48. 53
  • 49. 54
  • 50. 56
  • 51. binhara@monobrasil.org 5 7