*** Welcome to piglix ***

Mirah (programming language)

Mirah
Paradigms Object-oriented, imperative
Designed by Charles Oliver Nutter
First appeared 2008; 9 years ago (2008)
Stable release
0.0.12 / July 22, 2012; 4 years ago (2012-07-22)
Typing discipline static, with dynamic features, strong, inferred
Platform Java virtual machine
OS Cross-platform
License Apache 2.0
Website www.mirah.org
Influenced by
Ruby, Java, Boo

Mirah (formerly Duby) is a programming language based on Ruby language syntax, local type inference, hybrid static–dynamic type system, and a pluggable compiler toolchain. Mirah was created by Charles Oliver Nutter to be "a 'Ruby-like' language, probably a subset of Ruby syntax, that [could] compile to solid, fast, idiomatic JVM bytecode." The word mirah refers to the gemstone ruby in the Javanese language, a play on the concept of Ruby in Java.

To foster more participation in the JRuby project from Ruby community members, Nutter began to explore the possibility of presenting Ruby syntax, but with a static type model and direct-to-native compiling. In this context, "native" meant mainly the Java virtual machine (JVM), but Mirah has been designed around the possibility of having alternative backends for other object-oriented runtimes like the Common Language Runtime (CLR) of the .NET Framework. The language needed to look and feel like Ruby, and to introduce no new library dependencies into JRuby (which precludes most other JVM languages) and to suffer no performance penalty (which precludes writing in Ruby).

Early versions of Mirah (then Duby) focused mostly on mathematical performance, where dynamic programming languages often pay the highest cost. Since then it has evolved into a full JVM language, with several users and real-world applications using it for core components.

Mirah is mostly a pluggable compiler toolchain. The main elements of the chain are:


...
Wikipedia

...