JRuby 是一个运行在 Java 虚拟机(JVM)上的 Ruby 语言实现。它充当跨语言运行时和执行环境,允许 Ruby 代码在 JVM 上运行并与 Java 应用共享内存。
The main features of jruby/jruby are: JVM-Based Runtime Executions, Cross-Language Library Integration, Java Library Integrations, Ruby Interpreters, Java Interoperability, Java Virtual Machine Bridges, Language Embedding, Ruby Implementations.
Open-source alternatives to jruby/jruby include: apache/groovy — Groovy is a JVM programming language and metaprogramming framework that provides a Java compatible environment for… clojure/clojure — Clojure is a general-purpose, functional programming language hosted on the Java Virtual Machine. It is a homoiconic… google/j2objc — j2objc is a source-to-source compiler and transpiler that converts Java source code into Objective-C. It functions as… opal/opal — Opal is a Ruby frontend framework and compiler that translates Ruby source code into JavaScript. It functions as a web… hanami/hanami — Hanami is a full-stack Ruby web framework and API platform designed for building maintainable applications. It centers… avo-hq/avo — The Essential Toolkit for building Internal Tools and admin panels with Ruby on Rails.
Groovy is a JVM programming language and metaprogramming framework that provides a Java compatible environment for building applications. It functions as a dynamic scripting language and a tool for authoring domain-specific languages, allowing for the execution of custom scripts and the creation of specialized mini-languages with concise syntax. The project is distinguished by its ability to modify program behavior and class definitions through both compile-time and runtime metaprogramming. It utilizes a hybrid typing model that combines dynamic method resolution with optional static type che
Clojure is a general-purpose, functional programming language hosted on the Java Virtual Machine. It is a homoiconic S-expression language that represents programs as nested data structures, allowing code to be manipulated and evaluated as data. The project provides a framework for JVM interoperability, enabling the invocation of Java methods and integration with other JVM-based languages. It distinguishes itself through a persistent data structure library that uses bitmapped vector tries to manage immutable collections and a programmatic REPL for interactive software development and real-tim
j2objc is a source-to-source compiler and transpiler that converts Java source code into Objective-C. It functions as a cross-platform logic porter, allowing application logic and data models written in Java to be shared and executed on iOS. To support this translation, the project provides an Objective-C implementation of core Java classes and APIs to emulate the Java runtime environment. The system includes specialized translation for Java libraries and provides mapping for dependency injection and static analysis annotations to preserve metadata. It also enables the conversion of JUnit tes
Opal is a Ruby frontend framework and compiler that translates Ruby source code into JavaScript. It functions as a web runtime that allows for the development of client-side web applications using Ruby instead of JavaScript. The project includes a Ruby HTML template engine that evaluates Ruby code embedded directly within markup files. It further integrates with JavaScript environments by bundling core libraries and dependencies into a distribution string for execution in a web browser. The system provides capabilities for Ruby to JavaScript compilation and the ability to encode and decode B