by netule · 4y ago · 0 comments
Crystal makes sense in the context of writing stuff from scratch or wanting to contribute to the ecosystem.
I definitely love the idea though, I struggle with lower level languages, although I consider myself fairly decent with both Python and JavaScript.
RubyMotion on the contrary is quite advanced and an AOT compiler to go to, when one wants to use Ruby for mobile development.
Truffle might work even better as it’s able to recompile.
Any C++ port will likely need to reimplement half of the objc runtime to support all of Ruby. Not sure if clangs/gcc objc support includes the runtime, but I’m imagining it would… so maybe it’s reusable that way.
Crystal looks similar, but really has very different semantics, and so can't run existing Ruby.