|
Authored by: Anonymous on Sunday, May 06 2012 @ 11:42 AM EDT |
JRuby is another language promoted by SUN to use Java as
lower level layer.
Here is an
introduction by
SUN:
Scripts are gaining in popularity with developers
because
they are easy to write, take less time to write than
compiled
programs, and require little maintenance. Although
hundreds of scripting
languages are in use today, developers
continue to create new ones because each
language is geared
to a particular purpose or domain space. For example, the
JavaScript programming language is commonly used for web-
based user interface
(UI) development, and Perl is popular
on the server side.
The Ruby
programming language was released to the public in
1995 and gained widespread
adoption in 2006. A multipurpose
language that focuses on simplicity and
productivity, it
combines the best features of many compiled and interpreted
languages, such as easy development of large programs, rapid
prototyping,
almost-real-time development, and compact code.
Ruby is a reflective, dynamic,
and interpreted object-
oriented scripting language, and JRuby is a Java
programming
language implementation of the Ruby language syntax, core
libraries, and standard libraries.
With JRuby, you get all of the
advantages of Ruby plus
interoperability with Java platform applications (Java
applications) and access to the full range of Java platform
functionality.
JRuby and the Java platform are a compelling
combination that you can apply to
any programming situation.
For example, from a JRuby script, you can call the
Java
platform Math library to access its powerful computational
capabilities
or call the Java platform Swing library to
display a dialog box that requires
end-user input before
allowing the script to proceed. Also, you can use the JSR
223 Scripting APIs or the Bean Scripting Framework (BSF)
APIs to call a JRuby
script from within a Java application
to, for example, invoke back-end
processing scripts from a
servlet to update or generate web
content.
The actions from Oracle are so weird.
[ Reply to This | Parent | # ]
|
|
Authored by: pem on Sunday, May 06 2012 @ 01:01 PM EDT |
To use Jython, you need to use an underlying Java. In that respect, Jython is
just another application program, and Oracle hasn't (yet) gone after them.
The other takeaway from that article is the sheer arrogance of Mr. Gosling.
Python predates Java by several years, so the thought that these other languages
are OK because they are copying him is complete, utter (PJ filter applied).
Also, it's interesting that copying is the sincerest form of flattery, except
when it's not, and then it becomes slimy. How was google to know where the line
was or that it crossed it?[ Reply to This | Parent | # ]
|
|
Authored by: celtic_hackr on Sunday, May 06 2012 @ 05:54 PM EDT |
IBM used to run Java in a SmallTalk VM. They had a VM that could run SmallTalk
and Java. I forget the details. I'm sure googling will provide an answer.
I'm working on something else now, or I'd find the details. [ Reply to This | Parent | # ]
|
|
|
|
|