Re: Is mruby the future of Ruby language?

Hello.Is mruby the future of Ruby language? I mean is a replacement.
Thank you.

Most certainly not. Quoting the official website[1]:

mruby is the lightweight implementation of the Ruby language complying
with part of the ISO standard. mruby can be linked and embedded within
your application.

That is, mruby is an implementation of the Ruby programming language
speficially made for the purpose of embedding it into other
applications. A purpose which it does fit very nice. I work on an OSS
game that uses mruby for scripting[2].

Ruby's canonical implementation (MRI) is still in active development[3] and
is not about to be replaced at all.

[1]: https://mruby.org/
[2]: The Secret Chronicles of Dr. M.
[3]: ruby.git - The Ruby Programming Language

···

Am 26. Juni 2019 um 10:37 Uhr +0000 schrieb Jason Long:

--
Blog: https://mg.guelker.eu

See also

···

On Wed, Jun 26, 2019 at 10:43 AM Marvin Gülker <post+rubytalk@guelker.eu> wrote:

Am 26. Juni 2019 um 10:37 Uhr +0000 schrieb Jason Long:
> Hello.Is mruby the future of Ruby language? I mean is a replacement.
> Thank you.

Most certainly not. Quoting the official website[1]:

> mruby is the lightweight implementation of the Ruby language complying
> with part of the ISO standard. mruby can be linked and embedded within
> your application.

That is, mruby is an implementation of the Ruby programming language
speficially made for the purpose of embedding it into other
applications. A purpose which it does fit very nice. I work on an OSS
game that uses mruby for scripting[2].

Ruby's canonical implementation (MRI) is still in active development[3] and
is not about to be replaced at all.

[1]: https://mruby.org/
[2]: The Secret Chronicles of Dr. M.
[3]: ruby.git - The Ruby Programming Language

--
Blog: https://mg.guelker.eu

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

Hello,

Hello.Is mruby the future of Ruby language?

   Of course, the future is the blockchain and, thus, sruby - secure,
safe, simple, smart,solid and sound ruby [1] :-).

     Cheers. Prost.

PS: For more rubies see the Awesome Rubies page [2].

[1]: Small, Smart, Secure, Safe, Solid & Sound (S6) Ruby · GitHub
[2]: GitHub - planetruby/awesome-rubies: A collection of awesome Rubies (compilers, interpreters, virtual machines, parsers, doc generators, version managers, etc.)

Exactly. mruby exposes a C API. If you have a programme in C or in any
language that can talk to C APIs (which are quite a lot, most notably
including C++) you can "embed" mruby into the programme.

This is usually used to allow the user complex configurations that
cannot easily be described using configuration files. The game I work on
and I mentioned earlier (which is written in C++) for example uses this
feature in order to allow level creators to specify dynamic behaviours
in a level. For instance, the level creator can use this to connect a
switch with arbitrary behaviour, like generating enemies or moving
around platforms. It is not possible for us as the game designers to
foresee all the possibilities level creators might want, so instead we
give them the tools to implement the specific feature themselves.

By the way, if anyone feels like contributing to the game, please join
our mailinglist and ask! The Secret Chronicles of Dr. M. | Community

···

Am 27. Juni 2019 um 12:43 Uhr +0000 schrieb Jason Long:

What does "Embedded" mean? For example, mruby program can implemented
in a program that written in other language.

--
Blog: https://mg.guelker.eu