Getting started with Ruby's core syntax

Source: Internet
Author: User

Microsoft's IronRuby project brings a powerful dynamic language to the Windows platform, the Ruby programming language is a modern, object-oriented language, and its syntax is inspired by the Perl and Smalltalk languages, invented by a Japanese Sumbon (nicknamed Matz), In his words, he wants to invent a language that is more powerful than Perl, and is more object-oriented than Python, in "http://www.linuxdevcenter.com/pub/a/linux/2001/11/29/ruby.html" There is a song on the Bank of Hong Interview article, we can go to see. So Ruby was designed to be very close to the natural language, the author's intention was to reduce the unnecessary trivial time of programming, so that the people who wrote the program Happy, he released in 1996 1.0 version.

Ruby has been known for so many years, but its functionality has gone well beyond the original design idea of manipulating data and the environment in the simplest way. The first time I "played" it was still a few years ago when I was looking for a way to replace a batch file that handles automatic management tasks.

Ruby is really starting to pop. From a small company called 37signals from Chicago, Illinois, they have released a Web application framework called rails, a new framework that draws on the proven reliability of Model-view-controller and The experience of the ActiveRecord model and the addition of some new ideas, such as convention over configuration, led it to achieve too many goals and almost no coding needed.

RUBYCLR and IronRuby

Earlier in 2006, John Lam released an open source project called RUBYCLR, which played a bridging role between Ruby and. NET, allowing users to access the. NET platform's rich resources directly from Ruby, and even exposing Ruby objects to the CLR, which It's very ambitious, but it's not going to move ruby closer to. NET, but rather to make the two worlds talk to each other, you still need to follow Ruby's run-time environment on your machine.

The RUBYCLR project was a crucial first step in understanding how to blend ruby and. Net together, and John's work was not noticed, and in late 2006 he announced his blog to join Microsoft's newly established Dynamic Language runtime Environment (DLR) team In the months before John's announcement, Microsoft released the 1.0 version of IronPython, a new implementation of the Python language in the. NET Framework, where the dynamic language runtime environment works on IronPython. NET Framework builds a running environment that allows dynamic languages to enter. Net.

John and his team announced IronRuby at the 2007 mix, and it may be really surprising that the IronRuby project itself is Microsoft's first truly open source. NET language, not only to get the source code, but also to obtain contributions from the community.

IronRuby is still at the stage of development, and occasionally deletes what is already available, which is usually part of other projects, such as the recently released Silverlight 2.0 Beta 2, which is also in the source tree, and has a corresponding mailing list.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.