MRubyD: A new mruby virtual machine implemented in pure C#
Published on: 2025-05-31 00:52:59
MRubyD
MRubyD is a new mruby virtual machine implemented in pure C#. The name "MRubyD" stands for mruby for dotnet and pays homage to the well-known alternative implementation mruby/c. Designed with seamless integration in mind for C#-based game engines, and emphasize ruby level compatibility. MRubyD leverages the latest C# features for high performance and high extensibility.
Note This library is currently in preview
Features
Implemented in C#
Utilizes the robust capabilities of C# to ensure seamless integration with C#-based game engines.
High Performance
Takes advantage of modern C# language features—such as managed pointers, Span , and the performance benefits of the .NET runtime’s GC and JIT compiler—to deliver superior speed and efficiency.
High compatibility with Ruby-level APIs (Work in progress) It is intended for use in software with a certain amount of resources, such as games. For this reason, we are focusing on Ruby API compatibility. At release, all opcodes are im
... Read full article.