6 ms·
Anyone knows some projects using mruby as their embedded interpreter? I could think of something like Nginx having a mruby module instead of Lua.
by roboben 4y ago
Anyone knows some projects using mruby as their embedded interpreter?
I could think of something like Nginx having a mruby module instead of Lua.
- deleted 4y ago[deleted]
- alexjplant 4y agoNginx already has Javascript [1] which amused me when I found out a year or two back. [1] https://nginx.org/en/docs/njs/ https://nginx.org/en/docs/njs/
- riffraff 4y agoI think Shopify was using it to allow scripting in their template system or something like that, but I can't find references right now, other than https://github.com/Shopify/mruby-engine https://github.com/Shopify/mruby-engine
- petre 4y agoThe h2o webserver. https://h2o.examp1e.net https://h2o.examp1e.net
- imhoguy 4y ago> something like Nginx having a mruby module You ask you get https://github.com/matsumotory/ngx_mruby https://github.com/matsumotory/ngx_mruby
- Avshalom 4y agoit's proprietary but https://dragonruby.org/ https://dragonruby.org/
- deleted 4y ago[deleted]
- ElectricalUnion 4y agoA bunch of games, really. Besides being used by some game engines as a main programming language (Dragonruby, Ruby2D, and Taylor), it is used by some bespoke game engines as a scripting language as well. Nier Automata is a somewhat notable example: https://github.com/Martymoose98/NieR-Automata-Ruby-Script-Extractor https://github.com/Martymoose98/NieR-Automata-Ruby-Script-Ex...
- matheusmoreira 4y agoThat's interesting, now I'm wondering how many japanese games use it. I know Metal Gear Solid 5 uses Lua.
- lloeki 4y agoNote that Ruby2D aims to run on both ruby and mruby: > Use a subset of Ruby that works everywhere. Ruby 2D applications are, of course, written in Ruby. Some users may choose to harness the full power of the language, standard library, and ecosystem of gems by writing interpreted apps targeting the standard implementation, MRI. Others may want to target the web via WebAssembly, mobile devices, or build native desktop applications, all which make use of a different Ruby implementation called mruby. Ruby 2D aims to support all of these use cases, even with the same app codebase. Your contribution must support a subset of Ruby that is compatible with and behaves similarly across MRI/CRuby and mruby. [0]: https://github.com/ruby2d/ruby2d#technical-contributions https://github.com/ruby2d/ruby2d#technical-contributions
- pwelch 4y agoThe configuration management tool mitamae is another mruby project: https://github.com/itamae-kitchen/mitamae https://github.com/itamae-kitchen/mitamae
- weaksauce 4y agonot an exhaustive list but https://github.com/mruby/mruby/issues/3962 https://github.com/mruby/mruby/issues/3962 has a few examples. some neat uses though
- freen 4y agoAsk, and you shall receive: http://ngx.mruby.org/ http://ngx.mruby.org/
- schneems 4y agoThis buildpack used mruby embedded in nginx for some stuff https://github.com/heroku/heroku-buildpack-static https://github.com/heroku/heroku-buildpack-static
- parlortricks 4y agoTic80 has mruby as one of the supported languages
- deleted 4y ago[deleted]