Live data from Hacker News

mruby

github.com

1–10 of 59 posts

Re: mruby

#4
Could anyone explain to me what the difference with normal ruby is?

"Lightweight", does that mean:

    Small but slow?
    Big but fast?
    Quite small and quite fast, but with a half-assed library?
    Big, slow, but low RAM usage?
I understand from another comment that this is intended for embedded systems. Does that mean running it on a microcontroller without OS? Cause the moment you can flash Linux, you can use Ruby MRI, no?

Re: mruby

#5
>mRuby is the light-weighted implementation of ruby language complied with ISO standard to execute various environment. It can run as 'interpreter form' or 'compile and execute on vm form' according to its module construction.

Can anyone tell me how it's different from other ruby implementations? What does 'execute various environment' mean? Can I run it inside JVM like JRuby?

Re: mruby

#6
post #4

Could anyone explain to me what the difference with normal ruby is? "Lightweight", does that mean: Small but slow? Big but fast? Quite small and quite fast, but with a half-assed library? Big, slow, but low RAM usage? I understand from another comment that this is intended for embedded systems. Does that mean running it on a microcontroller without OS? Cause the moment you can flash Linux, you can use Ruby MRI, no?

>I understand from another comment that this is intended for embedded systems.

Nope, he said embedding. He means things like Lua where you have a scripting language embedded in a program that is running on a faster lnaguage. Common in video game dev.

>Does that mean running it on a microcontroller without OS?

Nope, not necessarily. It being portable means it's plausible but it's an unlikely usage scenario. More likely, it means being able to use it across a variety of POSIX derivatives.

>Cause the moment you can flash Linux, you can use Ruby MRI, no?

Also not true. What a micro-distribution of Linux can run on is not necessarily something MRI Ruby can also run on.

Post reply on HN