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]: https://secretchronicles.org/en/
[3]: https://git.ruby-lang.org/ruby.git/

···

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]: https://secretchronicles.org/en/
[3]: https://git.ruby-lang.org/ruby.git/

--
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>

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]: https://github.com/s6ruby
[2]: https://github.com/planetruby/awesome-rubies

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! https://secretchronicles.org/en/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