3 ms·
This is potentially very interesting to me, but I'm having a hard time under exactly what it is. Could you give a little background on what motivated it, and wh
by apitman 6mo ago
This is potentially very interesting to me, but I'm having a hard time under exactly what it is. Could you give a little background on what motivated it, and what the core features are?
- ux266478 6mo agoIt seems like a crossplatform GUI toolkit built atop of Raylib, where the primary languages you're working in are Ruby and CSS.
- zero-st4rs 6mo agoYeah! That's pretty accurate, although it's not quite css/html. It also integrates some helpful libraries, like libuv for cpu intensive tasks and I'm currently working on adding networking/HTTP and builds for android (it already runs on a pinephone). The thing I think that is cool is that you don't need to compile your apps, you can just run them with the binary.
- xattt 6mo agoI’d also like to see some discussion why this is not Apple Script.
- zero-st4rs 6mo agoThanks for the question! The motivation came from building desktop applications and working with awesome but cumbersome GUI toolkits like Nuklear. I built a graphics backend-agnostic GUI library in CRuby called Hokusai, but Hokusai uses FFI, isn't portable, and is hard to distribute. (Need a Ruby interpreter on the target) I ported the library to MRuby, developed some build tools, and now have a portable binary for different platforms that can run a dynamic desktop application/game that is written in Ruby. You can try it yourself by downloading the latest release and running an app like: https://github.com/skinnyjames/hokusai_demo_paint https://github.com/skinnyjames/hokusai_demo_paint If you notice the paint repository, there is nothing to build, just ruby scripts and assets. The tool also has commands to build your application for different platforms as standalone binary, but I'm currently working in that space for other reasons. There are of course constraints to using MRuby vs CRuby, but I hope I speak to how this library addresses those.