Technopedia Center
PMB University Brochure
Faculty of Engineering and Computer Science
S1 Informatics S1 Information Systems S1 Information Technology S1 Computer Engineering S1 Electrical Engineering S1 Civil Engineering

faculty of Economics and Business
S1 Management S1 Accountancy

Faculty of Letters and Educational Sciences
S1 English literature S1 English language education S1 Mathematics education S1 Sports Education
  • Registerasi
  • Brosur UTI
  • Kip Scholarship Information
  • Performance
  1. Weltenzyklopädie
  2. IronRuby — Wikipédia
IronRuby — Wikipédia 👆 Click Here! Read More..
Un article de Wikipédia, l'encyclopédie libre.

Cet article est une ébauche concernant l’informatique.

Vous pouvez partager vos connaissances en l’améliorant (comment ?) selon les recommandations des projets correspondants.
IronRuby
Description de l'image IronRuby Logo.png.

Informations
Développé par Microsoft Dynamic Language Runtime Team
Première version 2007Voir et modifier les données sur Wikidata
Dernière version 1.1.3 (13 mars 2011)
Dépôt github.com/IronLanguages/mainVoir et modifier les données sur Wikidata
Écrit en .NET
Système d'exploitation Microsoft WindowsVoir et modifier les données sur Wikidata
Environnement Multiplate-forme
Type Implémentation
Licence Microsoft Public License
Site web IronRuby.net

modifier - modifier le code - voir Wikidata (aide)

IronRuby est une implémentation de l'interpréteur du langage de programmation Ruby visant le .NET Framework de Microsoft. C'est une surcouche au DLR, une bibliothèque se superposant au CLR 2.0 qui fournit, entre autres, un typage dynamique et la délégation dynamique des méthodes pour les langages dynamiques.

Histoire

[modifier | modifier le code]

Le 30 avril 2007, à la conférence MIX 2007, Microsoft dévoila IronRuby, qui utilise le même nom que le projet de Wilco Bauwer, avec l'accord de ce dernier[1]. Sa sortie publique était annoncée pour l'OSCON 2007[2].

Le 23 juillet 2007, comme prévu, John Lam et la DLR Design Team présentèrent la version pré-Alpha du compilateur IronRuby à l'OSCON. Il annonça également une intégration rapide de IronRuby au sein de la communauté open source[3].

Le 31 août 2007, John Lam et la DLR Design Team publièrent le code (au stade de version pre-alpha) sur RubyForge[4]. Le code source a été mis à jour régulièrement par l'équipe de Microsoft. L'équipe n'accepte pas les contributions de la part de la communauté concernant le noyau de la bibliothèque DLR, du moins pour le moment[5].

Le 24 juillet 2008, la IronRuby team publia la première version alpha exécutable, dévoilée pour l'OSCON 2008[6]. Le 19 novembre 2008, une seconde version alpha vit le jour.

L'équipe de développement travailla activement sur le support de Rails par IronRuby[7],[8]. Quelques tests fonctionnels de Rails donnent des résultats, mais il y a encore beaucoup de travail à faire avant de pouvoir utiliser Rails dans un environnement de production[9].

Le 21 mai 2009, ils publièrent la version 0.5 lors de la RailsConf 2009. Cette version de IronRuby peut exécuter des applications Rails, mais pas encore dans un environnement de production[10].

L'annonce de la version 1.0 est attendue pour l'OSCON 2009[11]. La version 0.9 a été publiée le 1er août 2009[12].

Prise en charge par Mono

[modifier | modifier le code]

Normalement, IronRuby s'exécute aussi bien sur Mono que sur le CLR de Microsoft, mais comme l'équipe de développement ne l'a testé qu'avec le CLR s'exécutant sur Windows[13], il pourrait ne pas être supporté par Mono suivant l'architecture[14],[15],[16].

Interopérabilité vis-à-vis de .NET

[modifier | modifier le code]

L'interopérabilité entre les classes d'IronRuby et les classes habituelles du .NET Framework est plutôt limitée pour le moment car de nombreuses classes de Ruby ne sont pas des classes de .NET[17]. Cependant, un meilleur support des langages dynamiques dans .NET 4.0 pourrait accroître l'interopérabilité à l’avenir[18].

Exemple

[modifier | modifier le code]
require 'mscorlib'
require 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
require 'System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

Application = System::Windows::Forms::Application
Form = System::Windows::Forms::Form
MessageBox = System::Windows::Forms::MessageBox
Button = System::Windows::Forms::Button
Point = System::Drawing::Point

class MyForm < Form

  def initialize
    self.text = "My .NET Form from Ruby"

    @button = Button.new
    @button.location = Point.new 150, 150
    @button.text = "Click Me!"

    my_click_handler = Proc.new {|sender, e| MessageBox.show 'Hello from Ruby!'}
    @button.click(&my_click_handler)

    self.controls.add @button
  end
end

my_form = MyForm.new
Application.run my_form

Licence

[modifier | modifier le code]

IronRuby est disponible sous la Microsoft Public License, certifiée par l'Open Source Initiative[19].

Voir aussi

[modifier | modifier le code]
  • JRuby
  • IronPython

Références

[modifier | modifier le code]
  1. ↑ Wilco Bauwer, « Microsoft's Iron Ruby » [archive du 29 septembre 2007], 24 juillet 2007
  2. ↑ John Lam, « Microsoft and IronRuby », 18 juin 2007
  3. ↑ John Lam, « A First Look at IronRuby », 23 juillet 2007
  4. ↑ « IronRuby on Rubyforge! », 31 août 2007 : « Today, you must check the source code out of the IronRuby Subversion repository on Rubyforge. You will need a Subversion client; we recommend TortoiseSVN. To build the sources from the command line, you must also have Ruby installed on your computer already »
  5. ↑ « Regarding IronRuby... How true it sounds from this blog », 29 avril 2008 : « The DLR is does not accept contributions from the community (...) Today we do not push to SVN on every successful SNAP check-in »
  6. ↑ « IronRuby at OSCON », 24 juillet 2008 : « We’re shipping our first binary release. In this package, we’re taking a “batteries included” approach and shipping the Ruby standard libraries in it »
  7. ↑ « IronRuby on Rails », 25 mai 2008
  8. ↑ « IronRuby r112 is out », 24 mai 2008
  9. ↑ « IronRuby / Rails Question », 25 mai 2008 : « I don't think we're near the end game yet :) We're barely able to run Rails functional tests now, and there's a lot more library work to be done before we can start thinking about deployment »
  10. ↑ « IronRuby at RailsConf 2009 », 25 mai 2008 : « IronRuby running Rails is not new, but doing it well or completely – is. IronRuby can now run real Rails applications, rather than just toy-hello-world examples. This does not mean IronRuby on Rails is ready for production, but it’s a great measure of forward progress »
  11. ↑ « IronRuby 1.0 at OSCON 2009 », 15 juin 2009
  12. ↑ « IronRuby - Release: 0.9.0 »
  13. ↑ « IronRuby and Mono », 6 août 2008
  14. ↑ « IronRuby and Mono », 4 septembre 2008
  15. ↑ « DLR Daily Builds (including IronRuby) », 23 janvier 2009
  16. ↑ « mono builds », 26 mai 2009
  17. ↑ « Xna+IronRuby+RubyNewb=headache », 16 décembre 2008
  18. ↑ « WPF databinding with ruby objects », 12 décembre 2008
  19. ↑ « Microsoft Public License (Ms-PL) »

Liens

[modifier | modifier le code]
  • (en) Site officiel
  • (en) IronRuby sur CodePlex
  • (en) Code Source d'IronRuby
  • (en) Article du blog de S. Somasegar annonçant Iron Ruby
  • (en) « Etat de l'art d'Iron Ruby »(Archive.org • Wikiwix • Archive.is • Google • Que faire ?) par John Lam à la RubyConf 2007
  • (en) IronRuby: Le bon langage pour la bonne tâche by John Lam à la conférence PDC2008
v · m
.NET Framework
  • Common Language Infrastructure
  • Microsoft .NET
  • Mono
  • .NET
Composants
  • ASP.NET
  • Common Language Runtime
  • Dynamic Language Runtime
  • Windows CardSpace
  • Windows Communication Foundation
  • Windows Forms
  • Windows Presentation Foundation
  • Windows Workflow Foundation
Langages de programmation
Visual Studio
  • C++/CLI
  • C#
  • F#
  • J#
  • Visual Basic
Autres
  • Clojure
  • Java
    • Iodine (en)
  • Oxygene (en)
  • PHP
    • PeachPie
    • Phalanger
  • Python
    • IronPython
    • PTVS (en)
  • Ruby
    • IronRuby
  • Scheme
    • IronScheme
  • Swift
    • Silver (en)
Environnements de développement
  • Microsoft Visual Studio
  • MonoDevelop
  • SharpDevelop
  • Xamarin Studio
Bibliothèques complémentaires
  • GTK#
  • Qt#
v · m
Ruby
  • Organisation internationale de normalisation
  • Yukihiro Matsumoto
Implémentations
  • IronRuby
  • JRuby
  • MacRuby (en)
  • mruby (en)
  • Ruby MRI
  • RubyMotion (en)
  • YARV
IDE
  • Aptana
  • Eclipse
  • Microsoft Visual Studio
  • NetBeans
  • Xcode
  • RubyMine
  • IntelliJ IDEA
Frameworks
  • eRuby
  • GNOME (Ruby-GNOME2 (tr))
  • Java (JRuby)
  • MacOS et iOS (MacRuby (en), RubyCocoa (en), RubyMotion (en))
  • Microsoft .NET (IronRuby)
  • Qt (QtRuby)
  • Ruby on Rails
  • Sinatra (logiciel)
  • icône décorative Portail de Microsoft
  • icône décorative Portail de la programmation informatique
Ce document provient de « https://fr.teknopedia.teknokrat.ac.id/w/index.php?title=IronRuby&oldid=198999803 ».
Catégories :
  • .NET Framework
  • Ruby
  • Langage de programmation
  • Langage orienté objet
  • Langage de script
Catégories cachées :
  • Wikipédia:ébauche informatique
  • Page utilisant P571
  • Page utilisant P1324
  • Page utilisant P306
  • Article utilisant une Infobox
  • Article contenant un lien mort
  • Article contenant un appel à traduction en anglais
  • Article contenant un appel à traduction en turc
  • Portail:Microsoft/Articles liés
  • Portail:Informatique/Articles liés
  • Portail:Programmation informatique/Articles liés

  • indonesia
  • Polski
  • الرية
  • Deutsch
  • English
  • Español
  • Français
  • Italiano
  • مصر
  • Nederlands
  • 本語
  • Português
  • Sinugboanong Binisaya
  • Svenska
  • Українска
  • Tiếng Việt
  • Winaray
  • 中文
  • Русски
Sunting pranala
Pusat Layanan

UNIVERSITAS TEKNOKRAT INDONESIA | ASEAN's Best Private University
Jl. ZA. Pagar Alam No.9 -11, Labuhan Ratu, Kec. Kedaton, Kota Bandar Lampung, Lampung 35132
Phone: (0721) 702022
Email: pmb@teknokrat.ac.id